commit:     0efe5800390b3e9222f04f669a53885806c4df5c
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 20 01:27:01 2017 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sun Aug 20 01:27:01 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0efe5800

media-gfx/fontforge: require python for tests

Bug: https://bugs.gentoo.org/628016
Package-Manager: Portage-2.3.6_p39, Repoman-2.3.3_p17

 media-gfx/fontforge/fontforge-20161005.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/media-gfx/fontforge/fontforge-20161005.ebuild 
b/media-gfx/fontforge/fontforge-20161005.ebuild
index eb434c83f8c..58285dc4077 100644
--- a/media-gfx/fontforge/fontforge-20161005.ebuild
+++ b/media-gfx/fontforge/fontforge-20161005.ebuild
@@ -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="

Reply via email to