commit:     79d16399163ac99c8b8e5c7b4ecaf6e21ee50886
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 28 11:40:08 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Nov 28 14:38:50 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79d16399

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

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

 dev-python/werkzeug/werkzeug-1.0.1-r1.ebuild | 4 +++-
 dev-python/werkzeug/werkzeug-2.0.2.ebuild    | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/dev-python/werkzeug/werkzeug-1.0.1-r1.ebuild 
b/dev-python/werkzeug/werkzeug-1.0.1-r1.ebuild
index 06a02a9a926f..a22e39af6191 100644
--- a/dev-python/werkzeug/werkzeug-1.0.1-r1.ebuild
+++ b/dev-python/werkzeug/werkzeug-1.0.1-r1.ebuild
@@ -26,10 +26,12 @@ RDEPEND="dev-python/simplejson[${PYTHON_USEDEP}]"
 DEPEND="
        test? (
                dev-python/click[${PYTHON_USEDEP}]
-               dev-python/cryptography[${PYTHON_USEDEP}]
                dev-python/requests[${PYTHON_USEDEP}]
                dev-python/pytest-timeout[${PYTHON_USEDEP}]
                dev-python/pytest-xprocess[${PYTHON_USEDEP}]
+               !alpha? ( !hppa? ( !ia64? (
+                       dev-python/cryptography[${PYTHON_USEDEP}]
+               ) ) )
        )"
 
 distutils_enable_tests pytest

diff --git a/dev-python/werkzeug/werkzeug-2.0.2.ebuild 
b/dev-python/werkzeug/werkzeug-2.0.2.ebuild
index 6d3f35c97c9e..c772a7206a50 100644
--- a/dev-python/werkzeug/werkzeug-2.0.2.ebuild
+++ b/dev-python/werkzeug/werkzeug-2.0.2.ebuild
@@ -21,7 +21,6 @@ KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x
 
 BDEPEND="
        test? (
-               dev-python/cryptography[${PYTHON_USEDEP}]
                !hppa? ( !ia64? (
                        $(python_gen_cond_dep '
                                dev-python/greenlet[${PYTHON_USEDEP}]
@@ -30,6 +29,9 @@ BDEPEND="
                dev-python/pytest-timeout[${PYTHON_USEDEP}]
                dev-python/pytest-xprocess[${PYTHON_USEDEP}]
                dev-python/watchdog[${PYTHON_USEDEP}]
+               !alpha? ( !hppa? ( !ia64? (
+                       dev-python/cryptography[${PYTHON_USEDEP}]
+               ) ) )
        )"
 
 distutils_enable_tests pytest

Reply via email to