1 |
commit: 8c4b4e11b1964bcc91bdd72c87582b15732643c4 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 25 04:42:36 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 25 04:57:06 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c4b4e11 |
7 |
|
8 |
dev-python/flask-wtf: Bump to 0.15.0 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/flask-wtf/Manifest | 1 + |
13 |
dev-python/flask-wtf/flask-wtf-0.15.0.ebuild | 41 ++++++++++++++++++++++++++++ |
14 |
2 files changed, 42 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/flask-wtf/Manifest b/dev-python/flask-wtf/Manifest |
17 |
index 09cb47ad9ce..6c1bdfa924d 100644 |
18 |
--- a/dev-python/flask-wtf/Manifest |
19 |
+++ b/dev-python/flask-wtf/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST Flask-WTF-0.14.3.tar.gz 44507 BLAKE2B d160e10b1434c0578708c265468b77624953eb2d4ddde9a6ed2ff5b4f4651e0d5d2483020f51c9e512e3cb04895ecaa8fd1d0bf9380211d0a916acd8428f353a SHA512 58bdb87e442dd49dcbc9090e6466ecbd0b5c6bd2f097a26e071a5c73e09256ac46cc2f794f138f0e0b45e4f65ce70c231c275dc69aa44df408d7d79b15198832 |
22 |
+DIST Flask-WTF-0.15.0.tar.gz 45382 BLAKE2B ff019200c48d69d223b71a7f666e413badddb70ed602bd428bcfe70522a66d4c39588e352969c883b017374bee83477765de1b347943923919ab1afd45c8a92f SHA512 51fa22f0397478a98bb0fceec78814740aa25e8ba19e8c5aae0a81056f65da55c7a412ae79548b907798e3561ad0ce64a826ad38b532cc912e9765a6474558b7 |
23 |
|
24 |
diff --git a/dev-python/flask-wtf/flask-wtf-0.15.0.ebuild b/dev-python/flask-wtf/flask-wtf-0.15.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..7db39000288 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/flask-wtf/flask-wtf-0.15.0.ebuild |
29 |
@@ -0,0 +1,41 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{7..9} ) |
36 |
+inherit distutils-r1 |
37 |
+ |
38 |
+MY_PN="Flask-WTF" |
39 |
+MY_P="${MY_PN}-${PV}" |
40 |
+ |
41 |
+DESCRIPTION="Simple integration of Flask and WTForms" |
42 |
+HOMEPAGE="https://pythonhosted.org/Flask-WTF/ https://pypi.org/project/Flask-WTF/" |
43 |
+SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" |
44 |
+S="${WORKDIR}/${MY_P}" |
45 |
+ |
46 |
+LICENSE="BSD" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~x86" |
49 |
+IUSE="doc test" |
50 |
+RESTRICT="!test? ( test )" |
51 |
+ |
52 |
+RDEPEND=" |
53 |
+ >=dev-python/Babel-1[${PYTHON_USEDEP}] |
54 |
+ dev-python/flask[${PYTHON_USEDEP}] |
55 |
+ dev-python/flask-babel[${PYTHON_USEDEP}] |
56 |
+ dev-python/itsdangerous[${PYTHON_USEDEP}] |
57 |
+ dev-python/jinja[${PYTHON_USEDEP}] |
58 |
+ dev-python/werkzeug[${PYTHON_USEDEP}] |
59 |
+ >=dev-python/wtforms-1.0.5[${PYTHON_USEDEP}] |
60 |
+" |
61 |
+BDEPEND="${RDEPEND}" |
62 |
+ |
63 |
+distutils_enable_sphinx docs |
64 |
+distutils_enable_tests pytest |
65 |
+ |
66 |
+python_prepare_all() { |
67 |
+ # tries to access things over the network |
68 |
+ rm tests/test_recaptcha.py || die |
69 |
+ distutils-r1_python_prepare_all |
70 |
+} |