summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2022-08-08 09:09:34 -0400
committerMichael Orlitzky <mjo@gentoo.org>2022-08-08 09:10:33 -0400
commite336408370516e14fd34bb4be23cf5528825e05b (patch)
tree70dd15cae323534e11fcfca4c46f6b798035d05d /sci-mathematics/pari
parentsys-cluster/rdma-core: sparc stable wrt bug #864199 (diff)
downloadgentoo-e336408370516e14fd34bb4be23cf5528825e05b.tar.gz
gentoo-e336408370516e14fd34bb4be23cf5528825e05b.tar.bz2
gentoo-e336408370516e14fd34bb4be23cf5528825e05b.zip
sci-mathematics/pari: disable "help" tests in the absence of USE=doc.
Closes: https://bugs.gentoo.org/864289 Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Diffstat (limited to 'sci-mathematics/pari')
-rw-r--r--sci-mathematics/pari/pari-2.13.4-r1.ebuild9
1 files changed, 9 insertions, 0 deletions
diff --git a/sci-mathematics/pari/pari-2.13.4-r1.ebuild b/sci-mathematics/pari/pari-2.13.4-r1.ebuild
index 4a13d42f694f..a3404e9b1593 100644
--- a/sci-mathematics/pari/pari-2.13.4-r1.ebuild
+++ b/sci-mathematics/pari/pari-2.13.4-r1.ebuild
@@ -48,6 +48,15 @@ src_prepare() {
-e "s:\$d = \$0:\$d = '${EPREFIX}/usr/share/doc/${PF}':" \
-e 's:"acroread":"xdg-open":' \
doc/gphelp.in || die "Failed to fix doc dir"
+
+ # These tests fail when LaTeX is not installed (which we don't
+ # require without USE=doc), most likely due to output formatting
+ # issues but I haven't deleted my LaTeX installation to check.
+ # There's no real upstream support for enabling/disabling the LaTeX
+ # docs, so this is probably the correctest way to skip these tests.
+ if ! use doc; then
+ rm src/test/{in,32}/help || die
+ fi
}
src_configure() {