media-gfx/zbar: Switch to PYTHON_MULTI_USEDEP API
authorMichał Górny <mgorny@gentoo.org>
Fri, 7 Feb 2020 15:06:53 +0000 (16:06 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 9 Feb 2020 16:26:54 +0000 (17:26 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
media-gfx/zbar/zbar-0.20.1-r2.ebuild [moved from media-gfx/zbar/zbar-0.20.1-r1.ebuild with 96% similarity]
media-gfx/zbar/zbar-0.23-r1.ebuild [moved from media-gfx/zbar/zbar-0.23.ebuild with 98% similarity]

similarity index 96%
rename from media-gfx/zbar/zbar-0.20.1-r1.ebuild
rename to media-gfx/zbar/zbar-0.20.1-r2.ebuild
index 9a6382e3b61f1c89194544d0af1ce1870c44a261..5aba21e790d8cb545855d46121d16223d830e7bb 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
@@ -33,7 +33,11 @@ COMMON_DEPEND="
        jpeg? ( virtual/jpeg:0[${MULTILIB_USEDEP}] )
        python? (
                ${PYTHON_DEPS}
-               gtk? ( >=dev-python/pygtk-2[${PYTHON_USEDEP}] )
+               gtk? (
+                       $(python_gen_cond_dep '
+                               >=dev-python/pygtk-2[${PYTHON_MULTI_USEDEP}]
+                       ')
+               )
        )
        qt5? (
                dev-qt/qtcore:5
similarity index 98%
rename from media-gfx/zbar/zbar-0.23.ebuild
rename to media-gfx/zbar/zbar-0.23-r1.ebuild
index 495dc423d47e9ae5b89707b044a16c0b971c7e92..87656810dce68d7334242e20a56cb444d27b4787 100644 (file)
@@ -66,7 +66,9 @@ DEPEND="${COMMON_DEPEND}
        )
        test? (
                ${PYTHON_DEPS}
-               dev-python/pillow[${PYTHON_USEDEP}]
+               $(python_gen_cond_dep '
+                       dev-python/pillow[${PYTHON_MULTI_USEDEP}]
+               ')
        )"
 
 BDEPEND="