summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-02-07 13:56:36 +0100
committerMichał Górny <mgorny@gentoo.org>2020-02-09 17:17:56 +0100
commit83a04dea7c0c31f9981d9eb7cfd596ab3475ee42 (patch)
tree7544850d347fb013a186023b51e12d419464db2f /dev-python/pyilmbase
parentdev-python/nautilus-python: Switch to PYTHON_MULTI_USEDEP API (diff)
downloadgentoo-83a04dea7c0c31f9981d9eb7cfd596ab3475ee42.tar.gz
gentoo-83a04dea7c0c31f9981d9eb7cfd596ab3475ee42.tar.bz2
gentoo-83a04dea7c0c31f9981d9eb7cfd596ab3475ee42.zip
dev-python/pyilmbase: Switch to PYTHON_MULTI_USEDEP API
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pyilmbase')
-rw-r--r--dev-python/pyilmbase/pyilmbase-2.3.0-r2.ebuild (renamed from dev-python/pyilmbase/pyilmbase-2.3.0-r1.ebuild)14
1 files 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
index ea1f2d49fe50..c3f5e7b949a1 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"