sci-libs/libsvm: [QA] Add missing python metadata variables
authorDavid Seifert <soap@gentoo.org>
Thu, 20 Apr 2017 15:42:33 +0000 (17:42 +0200)
committerDavid Seifert <soap@gentoo.org>
Thu, 20 Apr 2017 16:38:43 +0000 (18:38 +0200)
Package-Manager: Portage-2.3.5, Repoman-2.3.2

sci-libs/libsvm/libsvm-3.21.ebuild

index 25e99e1216b8db3d8574eb0f846b7b5952124a2b..b36a2fbf321916d20849a40038e132fb804ed667 100644 (file)
@@ -15,10 +15,14 @@ LICENSE="BSD"
 SLOT="0"
 KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux"
 IUSE="java openmp python tools"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
 
-DEPEND="java? ( >=virtual/jdk-1.4 )"
+DEPEND="
+       java? ( >=virtual/jdk-1.4 )
+       python? ( ${PYTHON_DEPS} )"
 RDEPEND="
        java? ( >=virtual/jre-1.4 )
+       python? ( ${PYTHON_DEPS} )
        tools? ( sci-visualization/gnuplot )"
 
 PATCHES=(