commit:     b360b8a06c09f9bdfa230909a6ddf3fc0da1402b
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Mon Oct  1 03:55:13 2018 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Mon Oct  1 03:55:45 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b360b8a0

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 <AT> gentoo.org>

 dev-python/sphinx/sphinx-1.7.5-r1.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-python/sphinx/sphinx-1.7.5-r1.ebuild 
b/dev-python/sphinx/sphinx-1.7.5-r1.ebuild
index 68cbe615c4e..41d621812a7 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}]

Reply via email to