summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-02-07 16:06:08 +0100
committerMichał Górny <mgorny@gentoo.org>2020-02-09 17:26:53 +0100
commit9017ebcc53918054a573124b928936911ef5158a (patch)
tree0a8cb421599ab72081ac2dca8e6d07832f8a710e /media-gfx
parentmedia-gfx/mypaint: Switch to PYTHON_MULTI_USEDEP API (diff)
downloadgentoo-9017ebcc53918054a573124b928936911ef5158a.tar.gz
gentoo-9017ebcc53918054a573124b928936911ef5158a.tar.bz2
gentoo-9017ebcc53918054a573124b928936911ef5158a.zip
media-gfx/openvdb: Switch to PYTHON_MULTI_USEDEP API
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/openvdb/openvdb-4.0.2-r3.ebuild (renamed from media-gfx/openvdb/openvdb-4.0.2-r2.ebuild)7
-rw-r--r--media-gfx/openvdb/openvdb-5.2.0-r1.ebuild (renamed from media-gfx/openvdb/openvdb-5.2.0.ebuild)7
2 files changed, 10 insertions, 4 deletions
diff --git a/media-gfx/openvdb/openvdb-4.0.2-r2.ebuild b/media-gfx/openvdb/openvdb-4.0.2-r3.ebuild
index e54468f1c2a1..c683e96e7099 100644
--- a/media-gfx/openvdb/openvdb-4.0.2-r2.ebuild
+++ b/media-gfx/openvdb/openvdb-4.0.2-r3.ebuild
@@ -20,7 +20,7 @@ RESTRICT="!test? ( test )"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
RDEPEND="
- >=dev-libs/boost-1.62:=[python?,${PYTHON_USEDEP}]
+ >=dev-libs/boost-1.62:=
>=dev-libs/c-blosc-1.5.0
dev-libs/jemalloc
dev-libs/log4cplus
@@ -33,7 +33,10 @@ RDEPEND="
x11-libs/libXrandr
python? (
${PYTHON_DEPS}
- dev-python/numpy[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ >=dev-libs/boost-1.62:=[python,${PYTHON_MULTI_USEDEP}]
+ dev-python/numpy[${PYTHON_MULTI_USEDEP}]
+ ')
)"
DEPEND="${RDEPEND}
diff --git a/media-gfx/openvdb/openvdb-5.2.0.ebuild b/media-gfx/openvdb/openvdb-5.2.0-r1.ebuild
index 3bbdbdb4fb2a..acb7886d4438 100644
--- a/media-gfx/openvdb/openvdb-5.2.0.ebuild
+++ b/media-gfx/openvdb/openvdb-5.2.0-r1.ebuild
@@ -19,7 +19,7 @@ RESTRICT="!test? ( test )"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
RDEPEND="
- >=dev-libs/boost-1.62:=[python?,${PYTHON_USEDEP}]
+ >=dev-libs/boost-1.62:=
>=dev-libs/c-blosc-1.5.0
dev-libs/jemalloc
dev-libs/log4cplus
@@ -32,7 +32,10 @@ RDEPEND="
x11-libs/libXrandr
python? (
${PYTHON_DEPS}
- dev-python/numpy[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ >=dev-libs/boost-1.62:=[python,${PYTHON_MULTI_USEDEP}]
+ dev-python/numpy[${PYTHON_MULTI_USEDEP}]
+ ')
)"
DEPEND="${RDEPEND}