1 |
commit: 9eb78897da3dfd6fabc8f67a2a5926b6667b090a |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 19 07:55:05 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 19 07:55:05 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9eb78897 |
7 |
|
8 |
dev-python/wtforms: Use PEP517 build |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/wtforms/wtforms-3.0.1-r1.ebuild | 40 ++++++++++++++++++++++++++++++ |
13 |
1 file changed, 40 insertions(+) |
14 |
|
15 |
diff --git a/dev-python/wtforms/wtforms-3.0.1-r1.ebuild b/dev-python/wtforms/wtforms-3.0.1-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 000000000000..acc5480365df |
18 |
--- /dev/null |
19 |
+++ b/dev-python/wtforms/wtforms-3.0.1-r1.ebuild |
20 |
@@ -0,0 +1,40 @@ |
21 |
+# Copyright 1999-2022 Gentoo Authors |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+ |
24 |
+EAPI=8 |
25 |
+ |
26 |
+DISTUTILS_USE_PEP517=setuptools |
27 |
+PYTHON_COMPAT=( pypy3 python3_{8..10} ) |
28 |
+ |
29 |
+inherit distutils-r1 |
30 |
+ |
31 |
+MY_PN="WTForms" |
32 |
+MY_P="${MY_PN}-${PV}" |
33 |
+ |
34 |
+DESCRIPTION="Flexible forms validation and rendering library for python web development" |
35 |
+HOMEPAGE=" |
36 |
+ https://wtforms.readthedocs.io/ |
37 |
+ https://github.com/wtforms/wtforms/ |
38 |
+ https://pypi.org/project/WTForms/ |
39 |
+" |
40 |
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
41 |
+S=${WORKDIR}/${MY_P} |
42 |
+ |
43 |
+LICENSE="BSD" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~riscv ~x86" |
46 |
+ |
47 |
+RDEPEND=" |
48 |
+ dev-python/markupsafe[${PYTHON_USEDEP}] |
49 |
+" |
50 |
+BDEPEND=" |
51 |
+ dev-python/Babel[${PYTHON_USEDEP}] |
52 |
+ test? ( |
53 |
+ dev-python/python-dateutil[${PYTHON_USEDEP}] |
54 |
+ dev-python/python-email-validator[${PYTHON_USEDEP}] |
55 |
+ dev-python/sqlalchemy[${PYTHON_USEDEP}] |
56 |
+ dev-python/webob[${PYTHON_USEDEP}] |
57 |
+ ) |
58 |
+" |
59 |
+ |
60 |
+distutils_enable_tests pytest |