1 |
commit: 681418f8869b711cd52e9332766652a326122b9d |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 17 07:13:43 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 17 07:21:04 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=681418f8 |
7 |
|
8 |
dev-python/wsgiproxy2: Use PEP517 build |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/wsgiproxy2/wsgiproxy2-0.5.1-r1.ebuild | 36 ++++++++++++++++++++++++ |
13 |
1 file changed, 36 insertions(+) |
14 |
|
15 |
diff --git a/dev-python/wsgiproxy2/wsgiproxy2-0.5.1-r1.ebuild b/dev-python/wsgiproxy2/wsgiproxy2-0.5.1-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 000000000000..c6dd4a0666d1 |
18 |
--- /dev/null |
19 |
+++ b/dev-python/wsgiproxy2/wsgiproxy2-0.5.1-r1.ebuild |
20 |
@@ -0,0 +1,36 @@ |
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=( python3_{8..10} pypy3 ) |
28 |
+ |
29 |
+inherit distutils-r1 |
30 |
+ |
31 |
+MY_PN="WSGIProxy2" |
32 |
+DESCRIPTION="HTTP proxying tools for WSGI apps" |
33 |
+HOMEPAGE=" |
34 |
+ https://github.com/gawel/WSGIProxy2/ |
35 |
+ https://pypi.org/project/WSGIProxy2/ |
36 |
+" |
37 |
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz" |
38 |
+S="${WORKDIR}/${MY_PN}-${PV}" |
39 |
+ |
40 |
+LICENSE="MIT" |
41 |
+SLOT="0" |
42 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" |
43 |
+ |
44 |
+RDEPEND=" |
45 |
+ dev-python/requests[${PYTHON_USEDEP}] |
46 |
+ dev-python/urllib3[${PYTHON_USEDEP}] |
47 |
+ dev-python/webob[${PYTHON_USEDEP}] |
48 |
+" |
49 |
+BDEPEND=" |
50 |
+ test? ( |
51 |
+ >=dev-python/webtest-2.0.17[${PYTHON_USEDEP}] |
52 |
+ ) |
53 |
+" |
54 |
+ |
55 |
+distutils_enable_sphinx docs |
56 |
+distutils_enable_tests unittest |