summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2021-05-25 19:39:47 +0200
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2021-05-25 19:42:39 +0200
commitffd1f33533dccab935c30e8409c1dbc1bf02635f (patch)
tree43886a297bce7ab1a78cc54745d24208381fa8fb /dev-tex/dvi2gr
parentwww-client/opera-developer: remove old (diff)
downloadgentoo-ffd1f33533dccab935c30e8409c1dbc1bf02635f.tar.gz
gentoo-ffd1f33533dccab935c30e8409c1dbc1bf02635f.tar.bz2
gentoo-ffd1f33533dccab935c30e8409c1dbc1bf02635f.zip
dev-tex/dvi2gr: add missing test dep
Closes: https://bugs.gentoo.org/313697 Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'dev-tex/dvi2gr')
-rw-r--r--dev-tex/dvi2gr/dvi2gr-0.4-r1.ebuild21
1 files changed, 16 insertions, 5 deletions
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"