media-gfx/fontforge: require python for tests
authorMike Gilbert <floppym@gentoo.org>
Sun, 20 Aug 2017 01:27:01 +0000 (21:27 -0400)
committerMike Gilbert <floppym@gentoo.org>
Sun, 20 Aug 2017 01:27:01 +0000 (21:27 -0400)
Bug: https://bugs.gentoo.org/628016
Package-Manager: Portage-2.3.6_p39, Repoman-2.3.3_p17

media-gfx/fontforge/fontforge-20161005.ebuild

index eb434c83f8c153861cb8fb0908205158b3479785..58285dc4077f7b0c43050fa6c31d08b71653fe79 100644 (file)
@@ -14,11 +14,14 @@ SRC_URI="https://github.com/fontforge/fontforge/releases/download/${PV}/${P}.tar
 LICENSE="BSD GPL-3+"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
-IUSE="cairo truetype-debugger gif gtk jpeg png +python readline tiff svg unicode X"
+IUSE="cairo truetype-debugger gif gtk jpeg png +python readline test tiff svg unicode X"
+
+RESTRICT="!test? ( test )"
 
 REQUIRED_USE="
        cairo? ( png )
        python? ( ${PYTHON_REQUIRED_USE} )
+       test? ( python )
 "
 
 RDEPEND="