commit:     ecb499709f6c032db7fc0cba91f765b50394d96c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb  7 20:20:10 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb  9 16:37:05 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecb49970

sys-auth/authenticator: Switch to PYTHON_MULTI_USEDEP API

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

 ...henticator-0.2.4.ebuild => authenticator-0.2.4-r1.ebuild} | 12 +++++++-----
 sys-auth/authenticator/authenticator-9999.ebuild             | 12 +++++++-----
 2 files changed, 14 insertions(+), 10 deletions(-)

diff --git a/sys-auth/authenticator/authenticator-0.2.4.ebuild 
b/sys-auth/authenticator/authenticator-0.2.4-r1.ebuild
similarity index 84%
rename from sys-auth/authenticator/authenticator-0.2.4.ebuild
rename to sys-auth/authenticator/authenticator-0.2.4-r1.ebuild
index 07b119b2a40..8926a63fc2d 100644
--- a/sys-auth/authenticator/authenticator-0.2.4.ebuild
+++ b/sys-auth/authenticator/authenticator-0.2.4-r1.ebuild
@@ -27,11 +27,13 @@ RESTRICT="!test? ( test )"
 RDEPEND="
        ${PYTHON_DEPS}
        app-crypt/libsecret
-       dev-python/pillow[${PYTHON_USEDEP}]
-       dev-python/pygobject:3[${PYTHON_USEDEP}]
-       dev-python/pyotp[${PYTHON_USEDEP}]
-       dev-python/python-gnupg[${PYTHON_USEDEP}]
-       dev-python/pyzbar[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '
+               dev-python/pillow[${PYTHON_MULTI_USEDEP}]
+               dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}]
+               dev-python/pyotp[${PYTHON_MULTI_USEDEP}]
+               dev-python/python-gnupg[${PYTHON_MULTI_USEDEP}]
+               dev-python/pyzbar[${PYTHON_MULTI_USEDEP}]
+       ')
        media-libs/gd
        x11-libs/gtk+:3
 "

diff --git a/sys-auth/authenticator/authenticator-9999.ebuild 
b/sys-auth/authenticator/authenticator-9999.ebuild
index f3c1fe349d4..2d9e3b62d7b 100644
--- a/sys-auth/authenticator/authenticator-9999.ebuild
+++ b/sys-auth/authenticator/authenticator-9999.ebuild
@@ -27,11 +27,13 @@ RESTRICT="!test? ( test )"
 RDEPEND="
        ${PYTHON_DEPS}
        app-crypt/libsecret
-       dev-python/pillow[${PYTHON_USEDEP}]
-       dev-python/pygobject:3[${PYTHON_USEDEP}]
-       dev-python/pyotp[${PYTHON_USEDEP}]
-       dev-python/python-gnupg[${PYTHON_USEDEP}]
-       dev-python/pyzbar[${PYTHON_USEDEP}]
+       $(python_gen_cond_dep '
+               dev-python/pillow[${PYTHON_MULTI_USEDEP}]
+               dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}]
+               dev-python/pyotp[${PYTHON_MULTI_USEDEP}]
+               dev-python/python-gnupg[${PYTHON_MULTI_USEDEP}]
+               dev-python/pyzbar[${PYTHON_MULTI_USEDEP}]
+       ')
        media-libs/gd
        x11-libs/gtk+:3
 "

Reply via email to