1 |
commit: 3118caac60c66e57f3c139bcaaf4b4bc80e5cb06 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 11 21:43:49 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 11 21:43:49 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3118caac |
7 |
|
8 |
dev-python/flask-security: Bump to 4.1.1 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/flask-security/Manifest | 1 + |
13 |
.../flask-security/flask-security-4.1.1.ebuild | 64 ++++++++++++++++++++++ |
14 |
2 files changed, 65 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/flask-security/Manifest b/dev-python/flask-security/Manifest |
17 |
index 92d390d2833..f4b90cc5d07 100644 |
18 |
--- a/dev-python/flask-security/Manifest |
19 |
+++ b/dev-python/flask-security/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST flask-security-3.4.5.gh.tar.gz 348928 BLAKE2B 9890227e9775c4a28fc364affb0bf767407463d514f6dc3cd359dd8a026e8325d943a547f294f6363a276f9e7d97336c526dd45f4549c7cfaff2d6ef9ef0316a SHA512 f9ac7f46b2e1ab7dbb44ba925b01e16304e8f8d6d5d56f4e558d07b80dfffa59f04c2597e17c00a7d7ae11be3a97c78ccf8d79993b7451be4a7f75f85bc89f6f |
22 |
DIST flask-security-4.1.0.gh.tar.gz 406508 BLAKE2B 84da1a563630e4935fecd616ccb51b2421854b502ce9e5b1c328fef358a2c80946ec1308199cf4dffa4fd07ac65ba104bfb9cdb8956916c5ec3fc39da79472a0 SHA512 b31a48abd2f1ccbc79707b377799adcc8f5530a045437d49d28fa5b47187c98993339a05fac35e4677e46ded99df40b8d8a379f9d36c2b2020456520e99b8de6 |
23 |
+DIST flask-security-4.1.1.gh.tar.gz 407794 BLAKE2B 579d3c9086655c2af9bbecb70cbc33c832ba0765859a1cc32beb5aede3ef17b69eff61251235eddd8f1fb6c5a03a33d0a56c376bdf5b5e0b0d33a03147e385f0 SHA512 41f9511d735e6b80af1b1499fb310414036a644414a8093fe81c429fd9aab20b1b494de55d506325def7bb68ab14a3b53031ad7c136af2ed3e8bd406f93c878f |
24 |
|
25 |
diff --git a/dev-python/flask-security/flask-security-4.1.1.ebuild b/dev-python/flask-security/flask-security-4.1.1.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..b9bc75feb4f |
28 |
--- /dev/null |
29 |
+++ b/dev-python/flask-security/flask-security-4.1.1.ebuild |
30 |
@@ -0,0 +1,64 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{8..9} ) |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="Simple security for Flask apps" |
40 |
+HOMEPAGE=" |
41 |
+ https://github.com/Flask-Middleware/flask-security/ |
42 |
+ https://pypi.org/project/Flask-Security-Too/" |
43 |
+SRC_URI=" |
44 |
+ https://github.com/Flask-Middleware/flask-security/archive/${PV}.tar.gz |
45 |
+ -> ${P}.gh.tar.gz" |
46 |
+ |
47 |
+LICENSE="MIT" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~x86" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ >=dev-python/blinker-1.4[${PYTHON_USEDEP}] |
53 |
+ dev-python/cachetools[${PYTHON_USEDEP}] |
54 |
+ >=dev-python/flask-1.1.1[${PYTHON_USEDEP}] |
55 |
+ >=dev-python/flask-babelex-0.9.3[${PYTHON_USEDEP}] |
56 |
+ >=dev-python/flask-login-0.4.1[${PYTHON_USEDEP}] |
57 |
+ >=dev-python/flask-principal-0.4.0[${PYTHON_USEDEP}] |
58 |
+ >=dev-python/flask-wtf-0.14.3[${PYTHON_USEDEP}] |
59 |
+ >=dev-python/itsdangerous-1.1.0[${PYTHON_USEDEP}] |
60 |
+ >=dev-python/passlib-1.7.2[${PYTHON_USEDEP}] |
61 |
+ >=dev-python/python-email-validator-1.1.1[${PYTHON_USEDEP}] |
62 |
+" |
63 |
+ |
64 |
+BDEPEND=" |
65 |
+ dev-python/Babel[${PYTHON_USEDEP}] |
66 |
+ test? ( |
67 |
+ >=dev-python/argon2-cffi-19.1.0[${PYTHON_USEDEP}] |
68 |
+ >=dev-python/bcrypt-3.1.5[${PYTHON_USEDEP}] |
69 |
+ dev-python/bleach[${PYTHON_USEDEP}] |
70 |
+ >=dev-python/cryptography-2.3.1[${PYTHON_USEDEP}] |
71 |
+ >=dev-python/flask-mail-0.9.1[${PYTHON_USEDEP}] |
72 |
+ >=dev-python/flask-sqlalchemy-2.3[${PYTHON_USEDEP}] |
73 |
+ >=dev-python/mongomock-3.19.0[${PYTHON_USEDEP}] |
74 |
+ >=dev-python/peewee-3.11.2[${PYTHON_USEDEP}] |
75 |
+ >=dev-python/phonenumbers-8.11.1[${PYTHON_USEDEP}] |
76 |
+ >=dev-python/pony-0.7.11[${PYTHON_USEDEP}] |
77 |
+ >=dev-python/psycopg-2.8.4:2[${PYTHON_USEDEP}] |
78 |
+ >=dev-python/pymysql-0.9.3[${PYTHON_USEDEP}] |
79 |
+ >=dev-python/pyqrcode-1.2[${PYTHON_USEDEP}] |
80 |
+ >=dev-python/zxcvbn-4.4.28[${PYTHON_USEDEP}] |
81 |
+ amd64? ( >=dev-python/flask-mongoengine-0.9.5[${PYTHON_USEDEP}] ) |
82 |
+ arm64? ( >=dev-python/flask-mongoengine-0.9.5[${PYTHON_USEDEP}] ) |
83 |
+ )" |
84 |
+ |
85 |
+distutils_enable_tests pytest |
86 |
+ |
87 |
+src_prepare() { |
88 |
+ sed -i -e 's@--cache-clear@-p no:httpbin@' pytest.ini || die |
89 |
+ distutils-r1_src_prepare |
90 |
+} |
91 |
+ |
92 |
+python_configure_all() { |
93 |
+ esetup.py compile_catalog |
94 |
+} |