summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2018-09-30 23:55:13 -0400
committerMike Gilbert <floppym@gentoo.org>2018-09-30 23:55:45 -0400
commitb360b8a06c09f9bdfa230909a6ddf3fc0da1402b (patch)
tree134d52e701be8866c2bb278c2c53483868d41d4e /dev-python/sphinx
parentsys-apps/etckeeper: fix Prefix runtime directories. (diff)
downloadgentoo-b360b8a06c09f9bdfa230909a6ddf3fc0da1402b.tar.gz
gentoo-b360b8a06c09f9bdfa230909a6ddf3fc0da1402b.tar.bz2
gentoo-b360b8a06c09f9bdfa230909a6ddf3fc0da1402b.zip
dev-python/sphinx: require latex for testing
Temporary workaround for automagic latex usage in tests. Bug: https://bugs.gentoo.org/667414 Package-Manager: Portage-2.3.50_p10, Repoman-2.3.11_p17 Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'dev-python/sphinx')
-rw-r--r--dev-python/sphinx/sphinx-1.7.5-r1.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-python/sphinx/sphinx-1.7.5-r1.ebuild b/dev-python/sphinx/sphinx-1.7.5-r1.ebuild
index 68cbe615c4e2..41d621812a79 100644
--- a/dev-python/sphinx/sphinx-1.7.5-r1.ebuild
+++ b/dev-python/sphinx/sphinx-1.7.5-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -17,6 +17,10 @@ SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~ppc-macos ~x86-fbsd ~x86-macos ~x86-linux ~x64-macos ~x64-solaris"
IUSE="doc latex net test"
+# Tests automagically use latex, bug 667414
+REQUIRED_USE="test? ( latex )"
+RESTRICT="!test? ( test )"
+
RDEPEND="
>=dev-python/alabaster-0.7.9[${PYTHON_USEDEP}]
<dev-python/alabaster-0.8[${PYTHON_USEDEP}]