Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/flask-login/
Date: Fri, 03 Jul 2020 07:43:15
Message-Id: 1593762184.5a13cb121af3659e0f08ffa8b07ecd5901fec3f9.mgorny@gentoo
1 commit: 5a13cb121af3659e0f08ffa8b07ecd5901fec3f9
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 3 07:42:17 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 3 07:43:04 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a13cb12
7
8 dev-python/flask-login: Bump to 0.5.0
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/flask-login/Manifest | 1 +
13 dev-python/flask-login/flask-login-0.5.0.ebuild | 35 +++++++++++++++++++++++++
14 2 files changed, 36 insertions(+)
15
16 diff --git a/dev-python/flask-login/Manifest b/dev-python/flask-login/Manifest
17 index 73cb1233ee6..ddbcebfcb10 100644
18 --- a/dev-python/flask-login/Manifest
19 +++ b/dev-python/flask-login/Manifest
20 @@ -1 +1,2 @@
21 DIST flask-login-0.4.1.tar.gz 43679 BLAKE2B f30df1cc84289bc2dd1e59a30284d7152cee0731daf8b6e58b8203007c0ba74eb512bf9f2e41608d9656138038f5b5c752509ef5a203ef1e8bdba9182912b133 SHA512 c87a2948ac37439ddd76f3f11584bdd5910cb00e96a7400343cf4dadc5a0f9bc84d40bdc068d2e8c05bd5a510046e18473e9ad71502c5039a5f05b371ce9bb4c
22 +DIST flask-login-0.5.0.tar.gz 44961 BLAKE2B a780a3ca1ced7f01cbc1f99e3d92f57819c73982a4098330be7b9b4dce88e5fac577d15b2989b99971c4b2f7e6c9f02a54aeab9f7fa1c101f409cbdcfa3c6942 SHA512 8ffecd2a512738f81ec3901ad30d356b1d63355268f7cf1b427e463d0a271a4623723255e139bbd0f88845d73fa4aab051418b5f68aef0b4576c30294f6207b3
23
24 diff --git a/dev-python/flask-login/flask-login-0.5.0.ebuild b/dev-python/flask-login/flask-login-0.5.0.ebuild
25 new file mode 100644
26 index 00000000000..8e7912b379c
27 --- /dev/null
28 +++ b/dev-python/flask-login/flask-login-0.5.0.ebuild
29 @@ -0,0 +1,35 @@
30 +# Copyright 1999-2020 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +PYTHON_COMPAT=( pypy3 python3_{6..9} )
36 +inherit distutils-r1
37 +
38 +DESCRIPTION="Login session support for Flask"
39 +HOMEPAGE="https://pypi.org/project/Flask-Login/"
40 +# Should be replaced with the PyPi URI for the next release, if possible
41 +# See https://github.com/maxcountryman/flask-login/pull/393
42 +SRC_URI="https://github.com/maxcountryman/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
43 +
44 +LICENSE="BSD"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~arm ~arm64 ~x86"
47 +
48 +RDEPEND="
49 + >=dev-python/flask-0.10[${PYTHON_USEDEP}]
50 + dev-python/werkzeug[${PYTHON_USEDEP}]
51 +"
52 +DEPEND="
53 + test? (
54 + dev-python/blinker[${PYTHON_USEDEP}]
55 + dev-python/mock[${PYTHON_USEDEP}]
56 + dev-python/semantic_version[${PYTHON_USEDEP}]
57 + )"
58 +
59 +distutils_enable_sphinx docs
60 +distutils_enable_tests pytest
61 +
62 +python_test() {
63 + pytest -vv -p no:httpbin || die "Tests failed with ${EPYTHON}"
64 +}