summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-03-16 22:16:44 +0100
committerMichał Górny <mgorny@gentoo.org>2020-03-16 22:17:55 +0100
commit5d00dc780f93e30a3b23d26ef3bf2fd431192c45 (patch)
treefb871b91a61664ce22fe97f634711bd30db41890 /dev-python/m2crypto
parentdev-python/importlib_resources: Replace virts with cond deps (diff)
downloadgentoo-5d00dc780f93e30a3b23d26ef3bf2fd431192c45.tar.gz
gentoo-5d00dc780f93e30a3b23d26ef3bf2fd431192c45.tar.bz2
gentoo-5d00dc780f93e30a3b23d26ef3bf2fd431192c45.zip
dev-python/m2crypto: Replace virts with cond deps
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/m2crypto')
-rw-r--r--dev-python/m2crypto/m2crypto-0.31.0-r2.ebuild4
-rw-r--r--dev-python/m2crypto/m2crypto-0.35.2.ebuild4
2 files changed, 6 insertions, 2 deletions
diff --git a/dev-python/m2crypto/m2crypto-0.31.0-r2.ebuild b/dev-python/m2crypto/m2crypto-0.31.0-r2.ebuild
index cf7277f442e7..56d88a04bbae 100644
--- a/dev-python/m2crypto/m2crypto-0.31.0-r2.ebuild
+++ b/dev-python/m2crypto/m2crypto-0.31.0-r2.ebuild
@@ -23,7 +23,9 @@ IUSE="libressl"
RDEPEND="
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:0= )
- virtual/python-typing[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/typing[${PYTHON_USEDEP}]
+ ' -2)
"
DEPEND="${RDEPEND}"
BDEPEND="
diff --git a/dev-python/m2crypto/m2crypto-0.35.2.ebuild b/dev-python/m2crypto/m2crypto-0.35.2.ebuild
index 81681dbea857..691ce76063c7 100644
--- a/dev-python/m2crypto/m2crypto-0.35.2.ebuild
+++ b/dev-python/m2crypto/m2crypto-0.35.2.ebuild
@@ -21,7 +21,9 @@ IUSE="libressl"
RDEPEND="
!libressl? ( dev-libs/openssl:0= )
libressl? ( dev-libs/libressl:0= )
- virtual/python-typing[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ dev-python/typing[${PYTHON_USEDEP}]
+ ' -2)
"
DEPEND="${RDEPEND}"
BDEPEND="