1 |
commit: d9e6c49bc75478c3f1c062e18cbb96724aadbba4 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 26 16:45:15 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 26 16:45:15 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9e6c49b |
7 |
|
8 |
dev-python/paste: Bump to 3.4.0, py39 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/paste/Manifest | 1 + |
13 |
dev-python/paste/paste-3.4.0.ebuild | 42 +++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 43 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/paste/Manifest b/dev-python/paste/Manifest |
17 |
index 36e9389824b..a0d69ae13f7 100644 |
18 |
--- a/dev-python/paste/Manifest |
19 |
+++ b/dev-python/paste/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST Paste-3.2.3.tar.gz 628900 BLAKE2B 3f6bc741a716f33b82fa3bf8e1ab6ba3c17a56ebf3f90ccce0c1a925f982a2a0b460f433e15045321bb4b7c22c6fe9238cf6c7c76b78dc86d414729b67f0791e SHA512 8775a4c6b1863355a2acb3b88258e342db768942ccf28edc8654d7a1a15c5a036f4f8c5c9d917d51e74c9260170234f9c499cefd709b0fbd39ffd4d1b7afcb79 |
22 |
+DIST Paste-3.4.0.tar.gz 630425 BLAKE2B a361450597e8dce1d9cb99ce2a723cb8feb08909975662e1fbe8b353c20900ac5d994e8373ea4db42776aee1901f51363f8338ba4e3c35462f3c3917161a02ef SHA512 fbe0d1f39d8147846b3a30f18e6776c31eb5bcd8f461c0bf7afc35533c65c2ddf74263807be1b73b76c49cd6cc73c210a37ca651ef1f34e727ccf0687478085a |
23 |
|
24 |
diff --git a/dev-python/paste/paste-3.4.0.ebuild b/dev-python/paste/paste-3.4.0.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..a86c3a7bb14 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/paste/paste-3.4.0.ebuild |
29 |
@@ -0,0 +1,42 @@ |
30 |
+# Copyright 1999-2020 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
36 |
+PYTHON_COMPAT=( python2_7 python3_{6,7,8,9} pypy3 ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+MY_P="Paste-${PV}" |
41 |
+DESCRIPTION="Tools for using a Web Server Gateway Interface stack" |
42 |
+HOMEPAGE="https://pypi.org/project/Paste/" |
43 |
+SRC_URI="mirror://pypi/${MY_P::1}/${PN^}/${MY_P}.tar.gz" |
44 |
+S=${WORKDIR}/${MY_P} |
45 |
+ |
46 |
+LICENSE="MIT" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris" |
49 |
+ |
50 |
+RDEPEND="dev-python/namespace-paste[${PYTHON_USEDEP}] |
51 |
+ >=dev-python/six-1.4.0[${PYTHON_USEDEP}]" |
52 |
+ |
53 |
+distutils_enable_tests pytest |
54 |
+distutils_enable_sphinx docs |
55 |
+ |
56 |
+python_prepare_all() { |
57 |
+ # TODO: 'Address already in use' |
58 |
+ sed -e 's:test_address_family_v4:_&:' \ |
59 |
+ -i tests/test_httpserver.py || die |
60 |
+ |
61 |
+ # Remove a test that runs against the paste website. |
62 |
+ rm -f tests/test_proxy.py || die |
63 |
+ |
64 |
+ distutils-r1_python_prepare_all |
65 |
+} |
66 |
+ |
67 |
+python_install_all() { |
68 |
+ distutils-r1_python_install_all |
69 |
+ |
70 |
+ find "${D}" -name '*.pth' -delete || die |
71 |
+} |