commit:     3fd146ede028edfb103f117e53e6ef2dfc73a792
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb  7 17:32:56 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb  9 16:34:16 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fd146ed

net-print/hplip: Switch to PYTHON_MULTI_USEDEP API

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

 ...plip-3.18.12.ebuild => hplip-3.18.12-r1.ebuild} | 36 ++++++++++++----------
 net-print/hplip/hplip-3.19.11.ebuild               | 36 ++++++++++++----------
 ...plip-3.19.12.ebuild => hplip-3.19.12-r1.ebuild} | 36 ++++++++++++----------
 3 files changed, 57 insertions(+), 51 deletions(-)

diff --git a/net-print/hplip/hplip-3.18.12.ebuild 
b/net-print/hplip/hplip-3.18.12-r1.ebuild
similarity index 91%
rename from net-print/hplip/hplip-3.18.12.ebuild
rename to net-print/hplip/hplip-3.18.12-r1.ebuild
index b28c7ba4201..6c7b5ccefb0 100644
--- a/net-print/hplip/hplip-3.18.12.ebuild
+++ b/net-print/hplip/hplip-3.18.12-r1.ebuild
@@ -49,26 +49,28 @@ RDEPEND="
        ${COMMON_DEPEND}
        app-text/ghostscript-gpl
        !minimal? (
-               >=dev-python/dbus-python-1.2.0-r1[${PYTHON_USEDEP}]
-               $(python_gen_cond_dep 
'dev-python/pygobject:2[${PYTHON_USEDEP}]' 'python2*')
-               $(python_gen_cond_dep 
'dev-python/pygobject:3[${PYTHON_USEDEP}]' 'python3*')
-               fax? ( dev-python/reportlab[${PYTHON_USEDEP}] )
+               $(python_gen_cond_dep 
'dev-python/pygobject:2[${PYTHON_MULTI_USEDEP}]' 'python2*')
+               $(python_gen_cond_dep 
'dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}]' 'python3*')
                kernel_linux? ( virtual/udev )
-               qt5? (
-                       
>=dev-python/PyQt5-5.5.1[dbus,gui,widgets,${PYTHON_USEDEP}]
-                       libnotify? ( dev-python/notify2[${PYTHON_USEDEP}] )
-               )
-               scanner? (
-                       >=dev-python/reportlab-3.2[${PYTHON_USEDEP}]
-                       >=dev-python/pillow-3.1.1[${PYTHON_USEDEP}]
-                       X? (
-                               || (
-                                       kde? ( kde-misc/skanlite )
-                                       media-gfx/xsane
-                                       media-gfx/sane-frontends
+               $(python_gen_cond_dep '
+                       
>=dev-python/dbus-python-1.2.0-r1[${PYTHON_MULTI_USEDEP}]
+                       fax? ( dev-python/reportlab[${PYTHON_MULTI_USEDEP}] )
+                       qt5? (
+                               
>=dev-python/PyQt5-5.5.1[dbus,gui,widgets,${PYTHON_MULTI_USEDEP}]
+                               libnotify? ( 
dev-python/notify2[${PYTHON_MULTI_USEDEP}] )
+                       )
+                       scanner? (
+                               
>=dev-python/reportlab-3.2[${PYTHON_MULTI_USEDEP}]
+                               
>=dev-python/pillow-3.1.1[${PYTHON_MULTI_USEDEP}]
+                               X? (
+                                       || (
+                                               kde? ( kde-misc/skanlite )
+                                               media-gfx/xsane
+                                               media-gfx/sane-frontends
+                                       )
                                )
                        )
-               )
+               ')
        )
        policykit? ( sys-auth/polkit )
 "

diff --git a/net-print/hplip/hplip-3.19.11.ebuild 
b/net-print/hplip/hplip-3.19.11.ebuild
index 83e3e5a4611..0d2eb10db37 100644
--- a/net-print/hplip/hplip-3.19.11.ebuild
+++ b/net-print/hplip/hplip-3.19.11.ebuild
@@ -49,26 +49,28 @@ RDEPEND="
        ${COMMON_DEPEND}
        app-text/ghostscript-gpl
        !minimal? (
-               >=dev-python/dbus-python-1.2.0-r1[${PYTHON_USEDEP}]
-               $(python_gen_cond_dep 
'dev-python/pygobject:2[${PYTHON_USEDEP}]' 'python2*')
-               $(python_gen_cond_dep 
'dev-python/pygobject:3[${PYTHON_USEDEP}]' 'python3*')
-               fax? ( dev-python/reportlab[${PYTHON_USEDEP}] )
+               $(python_gen_cond_dep 
'dev-python/pygobject:2[${PYTHON_MULTI_USEDEP}]' 'python2*')
+               $(python_gen_cond_dep 
'dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}]' 'python3*')
                kernel_linux? ( virtual/udev )
-               qt5? (
-                       
>=dev-python/PyQt5-5.5.1[dbus,gui,widgets,${PYTHON_USEDEP}]
-                       libnotify? ( dev-python/notify2[${PYTHON_USEDEP}] )
-               )
-               scanner? (
-                       >=dev-python/reportlab-3.2[${PYTHON_USEDEP}]
-                       >=dev-python/pillow-3.1.1[${PYTHON_USEDEP}]
-                       X? (
-                               || (
-                                       kde? ( kde-misc/skanlite )
-                                       media-gfx/xsane
-                                       media-gfx/sane-frontends
+               $(python_gen_cond_dep '
+                       
>=dev-python/dbus-python-1.2.0-r1[${PYTHON_MULTI_USEDEP}]
+                       fax? ( dev-python/reportlab[${PYTHON_MULTI_USEDEP}] )
+                       qt5? (
+                               
>=dev-python/PyQt5-5.5.1[dbus,gui,widgets,${PYTHON_MULTI_USEDEP}]
+                               libnotify? ( 
dev-python/notify2[${PYTHON_MULTI_USEDEP}] )
+                       )
+                       scanner? (
+                               
>=dev-python/reportlab-3.2[${PYTHON_MULTI_USEDEP}]
+                               
>=dev-python/pillow-3.1.1[${PYTHON_MULTI_USEDEP}]
+                               X? (
+                                       || (
+                                               kde? ( kde-misc/skanlite )
+                                               media-gfx/xsane
+                                               media-gfx/sane-frontends
+                                       )
                                )
                        )
-               )
+               ')
        )
        policykit? ( sys-auth/polkit )
 "

diff --git a/net-print/hplip/hplip-3.19.12.ebuild 
b/net-print/hplip/hplip-3.19.12-r1.ebuild
similarity index 91%
rename from net-print/hplip/hplip-3.19.12.ebuild
rename to net-print/hplip/hplip-3.19.12-r1.ebuild
index 83e3e5a4611..0d2eb10db37 100644
--- a/net-print/hplip/hplip-3.19.12.ebuild
+++ b/net-print/hplip/hplip-3.19.12-r1.ebuild
@@ -49,26 +49,28 @@ RDEPEND="
        ${COMMON_DEPEND}
        app-text/ghostscript-gpl
        !minimal? (
-               >=dev-python/dbus-python-1.2.0-r1[${PYTHON_USEDEP}]
-               $(python_gen_cond_dep 
'dev-python/pygobject:2[${PYTHON_USEDEP}]' 'python2*')
-               $(python_gen_cond_dep 
'dev-python/pygobject:3[${PYTHON_USEDEP}]' 'python3*')
-               fax? ( dev-python/reportlab[${PYTHON_USEDEP}] )
+               $(python_gen_cond_dep 
'dev-python/pygobject:2[${PYTHON_MULTI_USEDEP}]' 'python2*')
+               $(python_gen_cond_dep 
'dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}]' 'python3*')
                kernel_linux? ( virtual/udev )
-               qt5? (
-                       
>=dev-python/PyQt5-5.5.1[dbus,gui,widgets,${PYTHON_USEDEP}]
-                       libnotify? ( dev-python/notify2[${PYTHON_USEDEP}] )
-               )
-               scanner? (
-                       >=dev-python/reportlab-3.2[${PYTHON_USEDEP}]
-                       >=dev-python/pillow-3.1.1[${PYTHON_USEDEP}]
-                       X? (
-                               || (
-                                       kde? ( kde-misc/skanlite )
-                                       media-gfx/xsane
-                                       media-gfx/sane-frontends
+               $(python_gen_cond_dep '
+                       
>=dev-python/dbus-python-1.2.0-r1[${PYTHON_MULTI_USEDEP}]
+                       fax? ( dev-python/reportlab[${PYTHON_MULTI_USEDEP}] )
+                       qt5? (
+                               
>=dev-python/PyQt5-5.5.1[dbus,gui,widgets,${PYTHON_MULTI_USEDEP}]
+                               libnotify? ( 
dev-python/notify2[${PYTHON_MULTI_USEDEP}] )
+                       )
+                       scanner? (
+                               
>=dev-python/reportlab-3.2[${PYTHON_MULTI_USEDEP}]
+                               
>=dev-python/pillow-3.1.1[${PYTHON_MULTI_USEDEP}]
+                               X? (
+                                       || (
+                                               kde? ( kde-misc/skanlite )
+                                               media-gfx/xsane
+                                               media-gfx/sane-frontends
+                                       )
                                )
                        )
-               )
+               ')
        )
        policykit? ( sys-auth/polkit )
 "

Reply via email to