Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/flask-wtf/
Date: Fri, 01 Apr 2022 07:00:55
Message-Id: 1648796415.cc01ca9498a31f0e818f401f591f3509ec5fb2e7.arthurzam@gentoo
1 commit: cc01ca9498a31f0e818f401f591f3509ec5fb2e7
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 1 06:56:29 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 1 07:00:15 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc01ca94
7
8 dev-python/flask-wtf: add 1.0.1
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/flask-wtf/Manifest | 1 +
13 dev-python/flask-wtf/flask-wtf-1.0.1.ebuild | 43 +++++++++++++++++++++++++++++
14 2 files changed, 44 insertions(+)
15
16 diff --git a/dev-python/flask-wtf/Manifest b/dev-python/flask-wtf/Manifest
17 index 8a1e38521cee..0bec0bb2623e 100644
18 --- a/dev-python/flask-wtf/Manifest
19 +++ b/dev-python/flask-wtf/Manifest
20 @@ -1 +1,2 @@
21 DIST Flask-WTF-1.0.0.tar.gz 45365 BLAKE2B 13568ed3cbf7666c2c04663ec66c788d3cd4aa4fc7abc32938dfa703e7f120784c9491dc0ffe77fc42485c943b25f166b6540fa0f3de1d77df8a015300e1e468 SHA512 4b47e3586e3fb34f2ef964fb2a84d25c8279d4ce98e2064655e5ecb5f8fd67e4637ffd81b171e4623e2cd943e5abbcb6f5980ea8a354c2745d65c64161c0fd60
22 +DIST Flask-WTF-1.0.1.tar.gz 45721 BLAKE2B 9b38aaa9e83c8d08abed46343ee8a4e16a87aa0389307ce17bd44fed0996405f9de233572f3d7e6f91edb87c2233574183944bdb3458a6ee9f6da154a5e30bae SHA512 e1380e788d0b09ac84e158a6574883a2c061452595973bea8137f9c2789b8ed14bfc6816a571b9116643c36ed31e97ae9ad7fb0fa6c1638e5be142a6fc8d85f4
23
24 diff --git a/dev-python/flask-wtf/flask-wtf-1.0.1.ebuild b/dev-python/flask-wtf/flask-wtf-1.0.1.ebuild
25 new file mode 100644
26 index 000000000000..835f6535839a
27 --- /dev/null
28 +++ b/dev-python/flask-wtf/flask-wtf-1.0.1.ebuild
29 @@ -0,0 +1,43 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +DISTUTILS_USE_PEP517=setuptools
36 +PYTHON_COMPAT=( python3_{8..10} )
37 +inherit distutils-r1
38 +
39 +MY_PN="Flask-WTF"
40 +MY_P="${MY_PN}-${PV}"
41 +
42 +DESCRIPTION="Simple integration of Flask and WTForms"
43 +HOMEPAGE="https://pythonhosted.org/Flask-WTF/ https://pypi.org/project/Flask-WTF/"
44 +SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
45 +S="${WORKDIR}/${MY_P}"
46 +
47 +LICENSE="BSD"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~riscv ~x86"
50 +
51 +RDEPEND="
52 + >=dev-python/Babel-1[${PYTHON_USEDEP}]
53 + dev-python/flask[${PYTHON_USEDEP}]
54 + dev-python/flask-babel[${PYTHON_USEDEP}]
55 + dev-python/itsdangerous[${PYTHON_USEDEP}]
56 + dev-python/jinja[${PYTHON_USEDEP}]
57 + dev-python/werkzeug[${PYTHON_USEDEP}]
58 + >=dev-python/wtforms-1.0.5[${PYTHON_USEDEP}]
59 +"
60 +
61 +distutils_enable_sphinx docs \
62 + dev-python/pallets-sphinx-themes \
63 + dev-python/sphinxcontrib-log_cabinet \
64 + dev-python/sphinx-issues
65 +distutils_enable_tests pytest
66 +
67 +EPYTEST_DESELECT=(
68 + # tries to access things over the network
69 + tests/test_recaptcha.py
70 + # unpackaged Flask-Uploads
71 + tests/test_file.py
72 +)