commit:     ebbe9f96035e5616a6654500d4cda1c533ffbb8c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 26 15:20:33 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Nov 28 14:38:44 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebbe9f96

dev-python/pip: Skip cryptography dep on non-Rust arches

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

 dev-python/pip/pip-21.3.1-r1.ebuild | 4 +++-
 dev-python/pip/pip-21.3.1.ebuild    | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/dev-python/pip/pip-21.3.1-r1.ebuild 
b/dev-python/pip/pip-21.3.1-r1.ebuild
index dc968686eb3a..a628c0a4a48e 100644
--- a/dev-python/pip/pip-21.3.1-r1.ebuild
+++ b/dev-python/pip/pip-21.3.1-r1.ebuild
@@ -43,7 +43,6 @@ RDEPEND="
 BDEPEND="
        ${RDEPEND}
        test? (
-               dev-python/cryptography[${PYTHON_USEDEP}]
                dev-python/freezegun[${PYTHON_USEDEP}]
                dev-python/pretend[${PYTHON_USEDEP}]
                dev-python/pytest[${PYTHON_USEDEP}]
@@ -51,6 +50,9 @@ BDEPEND="
                dev-python/tomli-w[${PYTHON_USEDEP}]
                dev-python/werkzeug[${PYTHON_USEDEP}]
                dev-python/wheel[${PYTHON_USEDEP}]
+               !alpha? ( !hppa? ( !ia64? (
+                       dev-python/cryptography[${PYTHON_USEDEP}]
+               ) ) )
        )
 "
 

diff --git a/dev-python/pip/pip-21.3.1.ebuild b/dev-python/pip/pip-21.3.1.ebuild
index 63a8c874c7eb..deed1e87f702 100644
--- a/dev-python/pip/pip-21.3.1.ebuild
+++ b/dev-python/pip/pip-21.3.1.ebuild
@@ -43,13 +43,15 @@ RDEPEND="
 BDEPEND="
        ${RDEPEND}
        test? (
-               dev-python/cryptography[${PYTHON_USEDEP}]
                dev-python/freezegun[${PYTHON_USEDEP}]
                dev-python/pretend[${PYTHON_USEDEP}]
                dev-python/pytest[${PYTHON_USEDEP}]
                dev-python/scripttest[${PYTHON_USEDEP}]
                dev-python/werkzeug[${PYTHON_USEDEP}]
                dev-python/wheel[${PYTHON_USEDEP}]
+               !alpha? ( !hppa? ( !ia64? (
+                       dev-python/cryptography[${PYTHON_USEDEP}]
+               ) ) )
        )
 "
 

Reply via email to