summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-02-08 07:44:00 +0100
committerMichał Górny <mgorny@gentoo.org>2020-02-09 17:46:34 +0100
commit356f6374649b2ed2cfd4d62729d1d21f49adb04f (patch)
tree74f7e16f23a1678f2b3c0649b7ee2b0274b5a5c8 /media-video/openshot
parentmedia-sound/picard: Switch to PYTHON_MULTI_USEDEP API (diff)
downloadgentoo-356f6374649b2ed2cfd4d62729d1d21f49adb04f.tar.gz
gentoo-356f6374649b2ed2cfd4d62729d1d21f49adb04f.tar.bz2
gentoo-356f6374649b2ed2cfd4d62729d1d21f49adb04f.zip
media-video/openshot: Switch to PYTHON_MULTI_USEDEP API
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'media-video/openshot')
-rw-r--r--media-video/openshot/openshot-2.4.0-r1.ebuild15
-rw-r--r--media-video/openshot/openshot-2.4.4-r1.ebuild (renamed from media-video/openshot/openshot-2.4.4.ebuild)17
2 files changed, 17 insertions, 15 deletions
diff --git a/media-video/openshot/openshot-2.4.0-r1.ebuild b/media-video/openshot/openshot-2.4.0-r1.ebuild
index cbde4944891..e426ccbfaa5 100644
--- a/media-video/openshot/openshot-2.4.0-r1.ebuild
+++ b/media-video/openshot/openshot-2.4.0-r1.ebuild
@@ -21,14 +21,13 @@ SLOT="1"
KEYWORDS="amd64 x86"
RDEPEND="
- dev-python/httplib2[${PYTHON_USEDEP}]
- dev-python/PyQt5[${PYTHON_USEDEP},svg,webkit]
- dev-python/pyzmq[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
- >=media-libs/libopenshot-0.1.8[python,${PYTHON_USEDEP}]
-"
-DEPEND="
- dev-python/setuptools[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/httplib2[${PYTHON_MULTI_USEDEP}]
+ dev-python/PyQt5[${PYTHON_MULTI_USEDEP},svg,webkit]
+ dev-python/pyzmq[${PYTHON_MULTI_USEDEP}]
+ dev-python/requests[${PYTHON_MULTI_USEDEP}]
+ ')
+ >=media-libs/libopenshot-0.1.8[python,${PYTHON_SINGLE_USEDEP}]
"
S="${WORKDIR}"
diff --git a/media-video/openshot/openshot-2.4.4.ebuild b/media-video/openshot/openshot-2.4.4-r1.ebuild
index 954d0061c56..cf2c948c325 100644
--- a/media-video/openshot/openshot-2.4.4.ebuild
+++ b/media-video/openshot/openshot-2.4.4-r1.ebuild
@@ -21,15 +21,18 @@ KEYWORDS="amd64 x86"
IUSE="doc"
RDEPEND="
- dev-python/httplib2[${PYTHON_USEDEP}]
- dev-python/PyQt5[${PYTHON_USEDEP},gui,svg,webkit,widgets]
- dev-python/pyzmq[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
- >=media-libs/libopenshot-0.2.3[python,${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/httplib2[${PYTHON_MULTI_USEDEP}]
+ dev-python/PyQt5[${PYTHON_MULTI_USEDEP},gui,svg,webkit,widgets]
+ dev-python/pyzmq[${PYTHON_MULTI_USEDEP}]
+ dev-python/requests[${PYTHON_MULTI_USEDEP}]
+ ')
+ >=media-libs/libopenshot-0.2.3[python,${PYTHON_SINGLE_USEDEP}]
"
BDEPEND="
- dev-python/setuptools[${PYTHON_USEDEP}]
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
+ $(python_gen_cond_dep '
+ doc? ( dev-python/sphinx[${PYTHON_MULTI_USEDEP}] )
+ ')
"
S="${WORKDIR}/${MY_PN}-${PV}"