dev-python/sphinx: require latex for testing
authorMike Gilbert <floppym@gentoo.org>
Mon, 1 Oct 2018 03:55:13 +0000 (23:55 -0400)
committerMike Gilbert <floppym@gentoo.org>
Mon, 1 Oct 2018 03:55:45 +0000 (23:55 -0400)
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>
dev-python/sphinx/sphinx-1.7.5-r1.ebuild

index 68cbe615c4e286e6b399778eba2d931d0720c30b..41d621812a79f8e506b9e1d167189723a559acdb 100644 (file)
@@ -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}]