commit:     83a04dea7c0c31f9981d9eb7cfd596ab3475ee42
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb  7 12:56:36 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb  9 16:17:56 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83a04dea

dev-python/pyilmbase: Switch to PYTHON_MULTI_USEDEP API

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 ...pyilmbase-2.3.0-r1.ebuild => pyilmbase-2.3.0-r2.ebuild} | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/dev-python/pyilmbase/pyilmbase-2.3.0-r1.ebuild 
b/dev-python/pyilmbase/pyilmbase-2.3.0-r2.ebuild
similarity index 85%
rename from dev-python/pyilmbase/pyilmbase-2.3.0-r1.ebuild
rename to dev-python/pyilmbase/pyilmbase-2.3.0-r2.ebuild
index ea1f2d49fe5..c3f5e7b949a 100644
--- a/dev-python/pyilmbase/pyilmbase-2.3.0-r1.ebuild
+++ b/dev-python/pyilmbase/pyilmbase-2.3.0-r2.ebuild
@@ -18,14 +18,16 @@ IUSE="+numpy"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND="${PYTHON_DEPS}
-       >=dev-libs/boost-1.62.0-r1[python(+),${PYTHON_USEDEP}]
        ~media-libs/ilmbase-${PV}:=
-       numpy? (
-               || (
-                       dev-python/numpy-python2[${PYTHON_USEDEP}]
-                       >=dev-python/numpy-1.10.4[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '
+               >=dev-libs/boost-1.62.0-r1[python(+),${PYTHON_MULTI_USEDEP}]
+               numpy? (
+                       || (
+                               dev-python/numpy-python2[${PYTHON_MULTI_USEDEP}]
+                               
>=dev-python/numpy-1.10.4[${PYTHON_MULTI_USEDEP}]
+                       )
                )
-       )"
+       ')"
 DEPEND="${RDEPEND}
        ${PYTHON_DEPS}
        >=virtual/pkgconfig-0-r1"

Reply via email to