summaryrefslogtreecommitdiff
path: root/dev-tex/dvi2gr
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-05-31 20:59:14 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-05-31 20:59:14 +0100
commite748ba9741f6540f4675c23e3e37b73e822c13a4 (patch)
tree23dece8beabb3a3d7c6c0273b0eb40b21c62a889 /dev-tex/dvi2gr
parent908778078736bd36f7a60a2d576d415cb8e000fa (diff)
gentoo resync : 31.05.2021
Diffstat (limited to 'dev-tex/dvi2gr')
-rw-r--r--dev-tex/dvi2gr/Manifest2
-rw-r--r--dev-tex/dvi2gr/dvi2gr-0.4-r1.ebuild21
2 files changed, 17 insertions, 6 deletions
diff --git a/dev-tex/dvi2gr/Manifest b/dev-tex/dvi2gr/Manifest
index 07443f081c99..37a54eec0ff3 100644
--- a/dev-tex/dvi2gr/Manifest
+++ b/dev-tex/dvi2gr/Manifest
@@ -1,3 +1,3 @@
DIST dvi2gr-0.4.tar.gz 10240 BLAKE2B 2caeae03e7d0219542cdc939e6419f84ddcde7050509ec073dfb8010b3f957129f09ca5a25fcda3e058bbfaa1fca772927e036cdfe67cf95fea090b53579bcfe SHA512 d0b69eac3ffb9e6975195fae0a8a16c58c547eb6ffa8954799cfacf88ea1fdfe943cdbd6665694d8c346e5dda88b8df3b031a620323158081cbac45a7e44be19
-EBUILD dvi2gr-0.4-r1.ebuild 914 BLAKE2B e798883add8544842173f224dc069e268c397670049eb8c3a59f72d0c8c2660e5c932c73307292d7c6c4744f5e707a859a8599f079ffd3a6b168d7cd62cc5af4 SHA512 b17e30793f35e6392496812e8881b21bd124a7b6c83009e959d4339e9e224cfaa1d60284f5e3a2bf9dbdb2feb7ba2d4655e3d29f6e01bcd9090562345d8c3ccf
+EBUILD dvi2gr-0.4-r1.ebuild 1094 BLAKE2B 0c1a6847a3f1a3d66b4e382b0817ab63228d7c2963a11cc8938584cfe0c7c9f61ec0fc381b94b767e97a4fcc8971e9d95fc388be5c36682d324178f474468d52 SHA512 580ce997d0fc2b09614146337d36efd6475dc3de2d8e09f00484bcd25ef68e19f20b35e84e4a29c280b3bb82168ba895c143196b7b5e9e5c10249e08c078927c
MISC metadata.xml 415 BLAKE2B 3deb0cf15844afb12fc48abcef56a46d52f1d611e65463fed37f116d802dd6d22852299f1c830f97809afe289732edef0a99e27adc1a217317dd4e70552c7281 SHA512 d4a50911514e2caa79ec7fd6c7393b99c83a7e1f4704137ea1c62633f324b21e7ceabb097430aba6b6b60ed587ce9019e3c5db7b6544e8aed6293938b2376b0a
diff --git a/dev-tex/dvi2gr/dvi2gr-0.4-r1.ebuild b/dev-tex/dvi2gr/dvi2gr-0.4-r1.ebuild
index c22237d8ef22..2cdba6f09ec5 100644
--- a/dev-tex/dvi2gr/dvi2gr-0.4-r1.ebuild
+++ b/dev-tex/dvi2gr/dvi2gr-0.4-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit toolchain-funcs
+inherit toolchain-funcs virtualx
DESCRIPTION="DVI to Grace translator"
HOMEPAGE="https://plasma-gate.weizmann.ac.il/Grace/"
@@ -12,10 +12,17 @@ SRC_URI="ftp://plasma-gate.weizmann.ac.il/pub/grace/src/devel/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
-IUSE="examples"
+
+IUSE="examples test"
+#RESTRICT="!test? ( test )"
+# Still missing some fontpackage, but which?
+RESTRICT="test"
DEPEND="media-libs/t1lib"
RDEPEND="${DEPEND}"
+BDEPEND="test? (
+ sci-visualization/grace
+)"
src_prepare() {
tc-export CC
@@ -30,14 +37,18 @@ src_prepare() {
src_install() {
dobin ${PN}
if use examples; then
- insinto /usr/share/doc/${PF}/examples
- doins *.ti runtest.sh
+ docinto /usr/share/doc/${PF}/examples
+ dodoc *.ti runtest.sh
fi
insinto /usr/share/${PN}
doins -r fonts
}
+src_test() {
+ virtx default
+}
+
pkg_postinst() {
einfo "Don't forget install the TeX-Fonts in Grace"
einfo " /usr/share/${PN}/fonts/FontDataBase"