commit:     5d00dc780f93e30a3b23d26ef3bf2fd431192c45
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 16 21:16:44 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Mar 16 21:17:55 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d00dc78

dev-python/m2crypto: Replace virts with cond deps

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

 dev-python/m2crypto/m2crypto-0.31.0-r2.ebuild | 4 +++-
 dev-python/m2crypto/m2crypto-0.35.2.ebuild    | 4 +++-
 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 cf7277f442e..56d88a04bba 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 81681dbea85..691ce76063c 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="

Reply via email to