1 |
commit: 27966fd453d8246951ac047a570ad3cdf50e434d |
2 |
Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com> |
3 |
AuthorDate: Thu Mar 26 23:28:41 2020 +0000 |
4 |
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 26 23:28:41 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27966fd4 |
7 |
|
8 |
dev-python/cheroot-8.3.0: Version bump |
9 |
|
10 |
Copyright: Sony Interactive Entertainment Inc. |
11 |
Package-Manager: Portage-2.3.96, Repoman-2.3.21 |
12 |
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org> |
13 |
|
14 |
dev-python/cheroot/Manifest | 1 + |
15 |
dev-python/cheroot/cheroot-8.3.0.ebuild | 42 +++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 43 insertions(+) |
17 |
|
18 |
diff --git a/dev-python/cheroot/Manifest b/dev-python/cheroot/Manifest |
19 |
index e3db8babde1..08a0ae288ad 100644 |
20 |
--- a/dev-python/cheroot/Manifest |
21 |
+++ b/dev-python/cheroot/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST cheroot-8.2.1.tar.gz 89470 BLAKE2B 57515ecf6e047ea67599631a98c15307ea5f9929b398a8143bc157bfe71129b11a1f4bc841f586f98167ac4c6c9680d476bd167323e5828163b4bff9bf24c360 SHA512 3f6b55c6b2403569eedb1fe7b473d3a65ad5d06cb99a38370316db38b6138b1a6921c6b7d8ba64424c5b8c20c9c58ada33da7cb8ebb6f313610f63c1f364f862 |
24 |
+DIST cheroot-8.3.0.tar.gz 100557 BLAKE2B f5f2fd8a11a1a8660fc37030d501e93787be46dbb79cae89cb4f6915cbf3975453c0ced6ec3bc0ebfc7dc77d555f7d86ed01bd751df6b0227cac3b1b11a82ab5 SHA512 29ff39f043b1a08b9ef653a41761ac4b97de4141cf15c5394f95736d28f7fad4c501d666fe7ff61f40c55b087d022784c7fe09c995c901040b7f2a8ed16b7d14 |
25 |
|
26 |
diff --git a/dev-python/cheroot/cheroot-8.3.0.ebuild b/dev-python/cheroot/cheroot-8.3.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..1c643f90390 |
29 |
--- /dev/null |
30 |
+++ b/dev-python/cheroot/cheroot-8.3.0.ebuild |
31 |
@@ -0,0 +1,42 @@ |
32 |
+# Copyright 1999-2020 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
38 |
+DISTUTILS_USE_SETUPTOOLS=rdepend |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Cheroot is the high-performance, pure-Python HTTP server used by CherryPy." |
42 |
+HOMEPAGE="https://cherrypy.org/ https://pypi.org/project/Cheroot/ https://github.com/cherrypy/cheroot" |
43 |
+SRC_URI="mirror://pypi/C/${PN/c/C}/${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="BSD" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86" |
48 |
+# Unit tests are temporarily disabled for this version, see below for |
49 |
+# what needs to be done. |
50 |
+#IUSE="test" |
51 |
+RESTRICT="test" |
52 |
+ |
53 |
+RDEPEND=" |
54 |
+ >=dev-python/six-1.11.0[${PYTHON_USEDEP}] |
55 |
+ >=dev-python/more-itertools-2.6[${PYTHON_USEDEP}] |
56 |
+ dev-python/jaraco-functools[${PYTHON_USEDEP}] |
57 |
+" |
58 |
+BDEPEND="${RDEPEND} |
59 |
+ test? ( |
60 |
+ >=dev-python/pytest-mock-1.11.0[${PYTHON_USEDEP}] |
61 |
+ >=dev-python/pytest-xdist-1.2.28[${PYTHON_USEDEP}] |
62 |
+ dev-python/pyopenssl[${PYTHON_USEDEP}] |
63 |
+ ) |
64 |
+" |
65 |
+ |
66 |
+distutils_enable_tests pytest |
67 |
+ |
68 |
+python_prepare_all() { |
69 |
+ distutils-r1_python_prepare_all |
70 |
+ |
71 |
+ sed -e "s/use_scm_version=True/version='${PV}'/" -i setup.py || die |
72 |
+ sed -e '/setuptools_scm/d' -i setup.cfg || die |
73 |
+} |