diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-01-12 00:43:00 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-01-12 00:56:25 +0100 |
commit | 82176833aacf96541f5af679e03e463667a4ce73 (patch) | |
tree | 5972a2b95ad4d9941db68a970cc24caffd4c9317 /dev-python/flask-security/flask-security-3.4.5.ebuild | |
parent | dev-python/flask-security: Fix missing mock dep (diff) | |
download | gentoo-82176833aacf96541f5af679e03e463667a4ce73.tar.gz gentoo-82176833aacf96541f5af679e03e463667a4ce73.tar.bz2 gentoo-82176833aacf96541f5af679e03e463667a4ce73.zip |
dev-python/flask-security: Bump to 3.4.5
Bug: https://bugs.gentoo.org/765016
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/flask-security/flask-security-3.4.5.ebuild')
-rw-r--r-- | dev-python/flask-security/flask-security-3.4.5.ebuild | 74 |
1 files changed, 74 insertions, 0 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 new file mode 100644 index 000000000000..9a519a7b4680 --- /dev/null +++ b/dev-python/flask-security/flask-security-3.4.5.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6..9} ) +inherit distutils-r1 + +DESCRIPTION="Simple security for Flask apps" +HOMEPAGE=" + https://github.com/Flask-Middleware/flask-security/ + https://pypi.org/project/Flask-Security-Too/" +SRC_URI=" + https://github.com/Flask-Middleware/flask-security/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/cachetools[${PYTHON_USEDEP}] + >=dev-python/flask-1.1.1[${PYTHON_USEDEP}] + >=dev-python/flask-babelex-0.9.3[${PYTHON_USEDEP}] + >=dev-python/flask-login-0.4.1[${PYTHON_USEDEP}] + >=dev-python/flask-principal-0.4.0[${PYTHON_USEDEP}] + >=dev-python/flask-wtf-0.14.2[${PYTHON_USEDEP}] + >=dev-python/itsdangerous-1.1.0[${PYTHON_USEDEP}] + >=dev-python/passlib-1.7.2[${PYTHON_USEDEP}] + >=dev-python/python-email-validator-1.0.5[${PYTHON_USEDEP}] +" + +BDEPEND=" + dev-python/Babel[${PYTHON_USEDEP}] + test? ( + >=dev-python/argon2-cffi-19.1.0[${PYTHON_USEDEP}] + >=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}] + >=dev-python/peewee-3.11.2[${PYTHON_USEDEP}] + >=dev-python/phonenumbers-8.11.1[${PYTHON_USEDEP}] + >=dev-python/psycopg-2.8.4:2[${PYTHON_USEDEP}] + >=dev-python/pymysql-0.9.3[${PYTHON_USEDEP}] + >=dev-python/pyqrcode-1.2[${PYTHON_USEDEP}] + >=dev-python/zxcvbn-4.4.28[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + >=dev-python/pony-0.7.11[${PYTHON_USEDEP}] + ' python3_{6,7}) + )" + +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}"/${PN}-3.4.3-optional-deps.patch +) + +src_prepare() { + sed -i -e '/setup_requires/d' setup.py || die + sed -e 's@--cov flask_security@-p no:httpbin@' \ + -e 's:--cov-report term-missing::' \ + -e 's:--black::' \ + -e 's:--flake8::' \ + -e 's:--cache-clear::' \ + -i pytest.ini || die + distutils-r1_src_prepare +} + +python_configure_all() { + esetup.py compile_catalog +} |