summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-02-07 21:20:10 +0100
committerMichał Górny <mgorny@gentoo.org>2020-02-09 17:37:05 +0100
commitecb499709f6c032db7fc0cba91f765b50394d96c (patch)
tree53c3afeef80241a3724db689eda29997f77b5069
parentsys-apps/tuned: Switch to PYTHON_MULTI_USEDEP API (diff)
downloadgentoo-ecb499709f6c032db7fc0cba91f765b50394d96c.tar.gz
gentoo-ecb499709f6c032db7fc0cba91f765b50394d96c.tar.bz2
gentoo-ecb499709f6c032db7fc0cba91f765b50394d96c.zip
sys-auth/authenticator: Switch to PYTHON_MULTI_USEDEP API
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--sys-auth/authenticator/authenticator-0.2.4-r1.ebuild (renamed from sys-auth/authenticator/authenticator-0.2.4.ebuild)12
-rw-r--r--sys-auth/authenticator/authenticator-9999.ebuild12
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
index 07b119b2a402..8926a63fc2d8 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 f3c1fe349d47..2d9e3b62d7b4 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
"