commit:     87316d657d5014b21432be303b7263b15d0fd11d
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 13 21:46:28 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Apr 13 21:49:11 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87316d65

dev-python/flask-security: Dep on flask-mongoengine where supported

Remove the dependency on dev-python/flask-mongoengine on architectures
that are not supported by dev-db/mongodb.  In other words, restrict it
to amd64 and arm64.

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

 dev-python/flask-security/flask-security-3.4.5.ebuild | 3 ++-
 dev-python/flask-security/flask-security-4.0.0.ebuild | 3 ++-
 dev-python/flask-security/flask-security-4.0.1.ebuild | 3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/dev-python/flask-security/flask-security-3.4.5.ebuild 
b/dev-python/flask-security/flask-security-3.4.5.ebuild
index ff4924b074a..e7ad05fcbb1 100644
--- a/dev-python/flask-security/flask-security-3.4.5.ebuild
+++ b/dev-python/flask-security/flask-security-3.4.5.ebuild
@@ -37,7 +37,6 @@ BDEPEND="
                >=dev-python/bcrypt-3.1.5[${PYTHON_USEDEP}]
                >=dev-python/cryptography-2.3.1[${PYTHON_USEDEP}]
                >=dev-python/flask-mail-0.9.1[${PYTHON_USEDEP}]
-               >=dev-python/flask-mongoengine-0.9.5[${PYTHON_USEDEP}]
                >=dev-python/flask-sqlalchemy-2.3[${PYTHON_USEDEP}]
                dev-python/mock[${PYTHON_USEDEP}]
                >=dev-python/mongomock-3.19.0[${PYTHON_USEDEP}]
@@ -50,6 +49,8 @@ BDEPEND="
                $(python_gen_cond_dep '
                        >=dev-python/pony-0.7.11[${PYTHON_USEDEP}]
                ' python3_{6,7})
+               amd64? ( >=dev-python/flask-mongoengine-0.9.5[${PYTHON_USEDEP}] 
)
+               arm64? ( >=dev-python/flask-mongoengine-0.9.5[${PYTHON_USEDEP}] 
)
        )"
 
 distutils_enable_tests pytest

diff --git a/dev-python/flask-security/flask-security-4.0.0.ebuild 
b/dev-python/flask-security/flask-security-4.0.0.ebuild
index 36b468909aa..c483d24d51a 100644
--- a/dev-python/flask-security/flask-security-4.0.0.ebuild
+++ b/dev-python/flask-security/flask-security-4.0.0.ebuild
@@ -37,7 +37,6 @@ BDEPEND="
                >=dev-python/bcrypt-3.1.5[${PYTHON_USEDEP}]
                >=dev-python/cryptography-2.3.1[${PYTHON_USEDEP}]
                >=dev-python/flask-mail-0.9.1[${PYTHON_USEDEP}]
-               >=dev-python/flask-mongoengine-0.9.5[${PYTHON_USEDEP}]
                >=dev-python/flask-sqlalchemy-2.3[${PYTHON_USEDEP}]
                >=dev-python/mongomock-3.19.0[${PYTHON_USEDEP}]
                >=dev-python/peewee-3.11.2[${PYTHON_USEDEP}]
@@ -47,6 +46,8 @@ BDEPEND="
                >=dev-python/pymysql-0.9.3[${PYTHON_USEDEP}]
                >=dev-python/pyqrcode-1.2[${PYTHON_USEDEP}]
                >=dev-python/zxcvbn-4.4.28[${PYTHON_USEDEP}]
+               amd64? ( >=dev-python/flask-mongoengine-0.9.5[${PYTHON_USEDEP}] 
)
+               arm64? ( >=dev-python/flask-mongoengine-0.9.5[${PYTHON_USEDEP}] 
)
        )"
 
 distutils_enable_tests pytest

diff --git a/dev-python/flask-security/flask-security-4.0.1.ebuild 
b/dev-python/flask-security/flask-security-4.0.1.ebuild
index 93671cdec70..b78510e8f15 100644
--- a/dev-python/flask-security/flask-security-4.0.1.ebuild
+++ b/dev-python/flask-security/flask-security-4.0.1.ebuild
@@ -38,7 +38,6 @@ BDEPEND="
                >=dev-python/bcrypt-3.1.5[${PYTHON_USEDEP}]
                >=dev-python/cryptography-2.3.1[${PYTHON_USEDEP}]
                >=dev-python/flask-mail-0.9.1[${PYTHON_USEDEP}]
-               >=dev-python/flask-mongoengine-0.9.5[${PYTHON_USEDEP}]
                >=dev-python/flask-sqlalchemy-2.3[${PYTHON_USEDEP}]
                >=dev-python/mongomock-3.19.0[${PYTHON_USEDEP}]
                >=dev-python/peewee-3.11.2[${PYTHON_USEDEP}]
@@ -48,6 +47,8 @@ BDEPEND="
                >=dev-python/pymysql-0.9.3[${PYTHON_USEDEP}]
                >=dev-python/pyqrcode-1.2[${PYTHON_USEDEP}]
                >=dev-python/zxcvbn-4.4.28[${PYTHON_USEDEP}]
+               amd64? ( >=dev-python/flask-mongoengine-0.9.5[${PYTHON_USEDEP}] 
)
+               arm64? ( >=dev-python/flask-mongoengine-0.9.5[${PYTHON_USEDEP}] 
)
        )"
 
 distutils_enable_tests pytest

Reply via email to