media-gfx/alembic: Switch to PYTHON_MULTI_USEDEP API
authorMichał Górny <mgorny@gentoo.org>
Fri, 7 Feb 2020 14:58:25 +0000 (15:58 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 9 Feb 2020 16:26:41 +0000 (17:26 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
media-gfx/alembic/alembic-1.7.11-r1.ebuild [moved from media-gfx/alembic/alembic-1.7.11.ebuild with 94% similarity]
media-gfx/alembic/alembic-1.7.9.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 eaf86523653f1c2ed2f178770a3c9172efa35088..8f112f0a4fd38e8acfcf33f234fa3a393009b555 100644 (file)
@@ -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}
index 7acd86b893c605a111e32e22b41a5e6e92863c65..c04e8c9b6f6bcd9cfadb4561db11df23812d131d 100644 (file)
@@ -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}