commit:     78d46b5ed652734487e07c9ffd7e697d4cc5f947
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb  7 14:58:25 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb  9 16:26:41 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78d46b5e

media-gfx/alembic: Switch to PYTHON_MULTI_USEDEP API

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

 .../alembic/{alembic-1.7.11.ebuild => alembic-1.7.11-r1.ebuild}   | 6 ++++--
 media-gfx/alembic/alembic-1.7.9.ebuild                            | 8 +++++---
 2 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/media-gfx/alembic/alembic-1.7.11.ebuild 
b/media-gfx/alembic/alembic-1.7.11-r1.ebuild
similarity index 94%
rename from media-gfx/alembic/alembic-1.7.11.ebuild
rename to media-gfx/alembic/alembic-1.7.11-r1.ebuild
index eaf86523653..8f112f0a4fd 100644
--- a/media-gfx/alembic/alembic-1.7.11.ebuild
+++ b/media-gfx/alembic/alembic-1.7.11-r1.ebuild
@@ -28,10 +28,12 @@ REQUIRED_USE="
 RDEPEND="
        ${PYTHON_DEPS}
        >=media-libs/openexr-2.3.0:=
-       boost? ( >=dev-libs/boost-1.65.0:=[python,${PYTHON_USEDEP}] )
        hdf5? ( >=sci-libs/hdf5-1.10.2:=[zlib(+)] )
-       python? ( >=dev-python/pyilmbase-2.3.0[${PYTHON_USEDEP}] )
+       python? ( >=dev-python/pyilmbase-2.3.0[${PYTHON_SINGLE_USEDEP}] )
        zlib? ( >=sys-libs/zlib-1.2.11-r1 )
+       $(python_gen_cond_dep '
+               boost? ( 
>=dev-libs/boost-1.65.0:=[python,${PYTHON_MULTI_USEDEP}] )
+       ')
 "
 DEPEND="
        ${RDEPEND}

diff --git a/media-gfx/alembic/alembic-1.7.9.ebuild 
b/media-gfx/alembic/alembic-1.7.9.ebuild
index 7acd86b893c..c04e8c9b6f6 100644
--- a/media-gfx/alembic/alembic-1.7.9.ebuild
+++ b/media-gfx/alembic/alembic-1.7.9.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -28,10 +28,12 @@ REQUIRED_USE="
 RDEPEND="
        ${PYTHON_DEPS}
        >=media-libs/openexr-2.2.0-r2:=
-       boost? ( >=dev-libs/boost-1.65.0:=[python,${PYTHON_USEDEP}] )
        hdf5? ( >=sci-libs/hdf5-1.8.18[zlib(+)] )
-       python? ( >=dev-python/pyilmbase-2.2.0[${PYTHON_USEDEP}] )
+       python? ( >=dev-python/pyilmbase-2.2.0[${PYTHON_SINGLE_USEDEP}] )
        zlib? ( >=sys-libs/zlib-1.2.11-r1 )
+       $(python_gen_cond_dep '
+               boost? ( 
>=dev-libs/boost-1.65.0:=[python,${PYTHON_MULTI_USEDEP}] )
+       ')
 "
 DEPEND="
        ${RDEPEND}

Reply via email to