1 |
commit: ee3effb64075b9888cc220ffeee477d9d67a9c3c |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jul 30 21:07:42 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 30 21:14:23 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee3effb6 |
7 |
|
8 |
dev-python/cherrypy: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/cherrypy/Manifest | 2 - |
13 |
dev-python/cherrypy/cherrypy-18.5.0.ebuild | 63 ------------------------------ |
14 |
dev-python/cherrypy/cherrypy-3.8.0.ebuild | 51 ------------------------ |
15 |
3 files changed, 116 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/cherrypy/Manifest b/dev-python/cherrypy/Manifest |
18 |
index 73e1621e085..6414d1c7d60 100644 |
19 |
--- a/dev-python/cherrypy/Manifest |
20 |
+++ b/dev-python/cherrypy/Manifest |
21 |
@@ -1,3 +1 @@ |
22 |
-DIST CherryPy-18.5.0.tar.gz 685362 BLAKE2B 36178ff6e374a89aa4fba9ba34947f1558a7bb3676f014528bb081efa9608ed70648bf2c46b8c4f95b8b14586a93c513ce342955677564f9202733104ba07102 SHA512 6ead115ac2a067cc9f2cb83117b8c53aac8a2a1580159993b7687b5810a41b64d1d1c603ef75a12660fe7aee9c6f403c8cb7bd5e78564f71dc813ae7f28b65fe |
23 |
DIST CherryPy-18.6.0.tar.gz 686804 BLAKE2B dae7f0ac403084acdf611e4a9e75f152355491e4383a1bd1374ae77ac68b415f41ce79f1e65a7a66c61aa0965ac94cd9bfd0d425cf7752ab54edf0bc0d8cabfb SHA512 cd33303fa9b9704ef427553091a6a6c2bbfea20e7d81acd2bcdc2855f8a36a084a0781bb19f3a084b24f0664bd7b318a667c8c79b5073381901acce4602de9d7 |
24 |
-DIST CherryPy-3.8.0.tar.gz 433711 BLAKE2B e1b4a554138a61e8c6313c3055723583d812e573a352d67bd5448f799e4f2f22694b800810b53cd041c665e46d9555b471d1da91c252ade96459778d7a5c07fa SHA512 25f84093e30d814c0980f7d77b98492113470c3297c66ee8652e40650757f8e2b7db01bb8de6d7a1ea9b4bed8b764502b1f563ac6f0d082970bc2d46739d19c2 |
25 |
|
26 |
diff --git a/dev-python/cherrypy/cherrypy-18.5.0.ebuild b/dev-python/cherrypy/cherrypy-18.5.0.ebuild |
27 |
deleted file mode 100644 |
28 |
index 20a069c7dfd..00000000000 |
29 |
--- a/dev-python/cherrypy/cherrypy-18.5.0.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,63 +0,0 @@ |
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..9} ) |
38 |
-DISTUTILS_USE_SETUPTOOLS=rdepend |
39 |
-inherit distutils-r1 |
40 |
- |
41 |
-MY_P="CherryPy-${PV}" |
42 |
- |
43 |
-DESCRIPTION="CherryPy is a pythonic, object-oriented HTTP framework" |
44 |
-HOMEPAGE="https://www.cherrypy.org https://pypi.org/project/CherryPy/" |
45 |
-SRC_URI="mirror://pypi/C/CherryPy/${MY_P}.tar.gz" |
46 |
-S="${WORKDIR}/${MY_P}" |
47 |
- |
48 |
-LICENSE="BSD" |
49 |
-SLOT="0" |
50 |
-KEYWORDS="amd64 arm arm64 ~ia64 ppc ~ppc64 x86" |
51 |
-IUSE="ssl test" |
52 |
- |
53 |
-RDEPEND=">=dev-python/cheroot-8.2.1[${PYTHON_USEDEP}] |
54 |
- >=dev-python/portend-2.1.1[${PYTHON_USEDEP}] |
55 |
- dev-python/more-itertools[${PYTHON_USEDEP}] |
56 |
- dev-python/zc-lockfile[${PYTHON_USEDEP}] |
57 |
- dev-python/jaraco-collections[${PYTHON_USEDEP}] |
58 |
- ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] )" |
59 |
-BDEPEND=" |
60 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
61 |
- dev-python/setuptools_scm[${PYTHON_USEDEP}] |
62 |
- test? ( |
63 |
- ${RDEPEND} |
64 |
- dev-python/routes[${PYTHON_USEDEP}] |
65 |
- dev-python/simplejson[${PYTHON_USEDEP}] |
66 |
- dev-python/objgraph[${PYTHON_USEDEP}] |
67 |
- dev-python/path-py[${PYTHON_USEDEP}] |
68 |
- dev-python/requests-toolbelt[${PYTHON_USEDEP}] |
69 |
- >=dev-python/pytest-5.3.5[${PYTHON_USEDEP}] |
70 |
- dev-python/pytest-services[${PYTHON_USEDEP}] |
71 |
- ) |
72 |
-" |
73 |
- |
74 |
-distutils_enable_tests pytest |
75 |
- |
76 |
-python_prepare_all() { |
77 |
- # UnicodeEncodeError: 'ascii' codec can't encode character u'\u2603' in position 0: ordinal not in range(128) |
78 |
- sed -e 's|@pytest.mark.xfail(py27_on_windows|@pytest.mark.xfail(sys.version_info < (3,)|' \ |
79 |
- -i cherrypy/test/test_static.py || die |
80 |
- |
81 |
- # fragile, fails with newer versions of CPython |
82 |
- sed -e 's:testCombinedTools:_&:' \ |
83 |
- -i cherrypy/test/test_tools.py || die |
84 |
- |
85 |
- sed -r -e '/(pytest-sugar|pytest-cov)/ d' \ |
86 |
- -i setup.py || die |
87 |
- |
88 |
- sed -r -e 's:--cov-report[[:space:]]+[[:graph:]]+::g' \ |
89 |
- -e 's:--cov[[:graph:]]+::g' \ |
90 |
- -e 's:--doctest[[:graph:]]+::g' \ |
91 |
- -i pytest.ini || die |
92 |
- |
93 |
- distutils-r1_python_prepare_all |
94 |
-} |
95 |
|
96 |
diff --git a/dev-python/cherrypy/cherrypy-3.8.0.ebuild b/dev-python/cherrypy/cherrypy-3.8.0.ebuild |
97 |
deleted file mode 100644 |
98 |
index 94e2448613c..00000000000 |
99 |
--- a/dev-python/cherrypy/cherrypy-3.8.0.ebuild |
100 |
+++ /dev/null |
101 |
@@ -1,51 +0,0 @@ |
102 |
-# Copyright 1999-2020 Gentoo Authors |
103 |
-# Distributed under the terms of the GNU General Public License v2 |
104 |
- |
105 |
-EAPI=5 |
106 |
-PYTHON_COMPAT=( python3_6 pypy3 ) |
107 |
- |
108 |
-inherit distutils-r1 |
109 |
- |
110 |
-MY_P="CherryPy-${PV}" |
111 |
- |
112 |
-DESCRIPTION="CherryPy is a pythonic, object-oriented HTTP framework" |
113 |
-HOMEPAGE="https://www.cherrypy.org https://pypi.org/project/CherryPy/" |
114 |
-SRC_URI="mirror://pypi/C/CherryPy/${MY_P}.tar.gz" |
115 |
- |
116 |
-LICENSE="BSD" |
117 |
-SLOT="0" |
118 |
-KEYWORDS="amd64 arm ~ia64 ppc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" |
119 |
-IUSE="test" |
120 |
- |
121 |
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
122 |
- test? ( >=dev-python/nose-1.3.3[${PYTHON_USEDEP}] )" |
123 |
-RDEPEND="" |
124 |
-S="${WORKDIR}/${MY_P}" |
125 |
- |
126 |
-# testsuite predominantly connects to the network |
127 |
-RESTRICT="test" |
128 |
- |
129 |
-python_prepare_all() { |
130 |
- # Prevent interactive failures (hangs) in the test suite |
131 |
- sed -i -e "s/interactive = True/interactive = False/" cherrypy/test/webtest.py || die |
132 |
- distutils-r1_python_prepare_all |
133 |
-} |
134 |
- |
135 |
-python_test() { |
136 |
- # suite requires current latest nose-1.3.3 |
137 |
- # https://bitbucket.org/cherrypy/cherrypy/issue/1308 |
138 |
- # https://bitbucket.org/cherrypy/cherrypy/issue/1306 |
139 |
- local exclude=( |
140 |
- -e test_file_stream -e test_4_File_deletion -e test_3_Redirect |
141 |
- -e test_2_File_Concurrency -e test_0_Session -e testStatic |
142 |
- ) |
143 |
- |
144 |
- # This really doesn't sit well with multiprocessing |
145 |
- # The issue 1306 tells us some tests are subject to the deleterious effects of |
146 |
- # the 'race condition'. Both the issues are unresolved / open |
147 |
-# if [[ "${EPYTHON}" == pypy ]]; then |
148 |
- nosetests "${exclude[@]}" -I test_logging.py || die "Testing failed with ${EPYTHON}" |
149 |
-# else |
150 |
-# nosetests "${exclude[@]}" < /dev/tty || die "Testing failed with ${EPYTHON}" |
151 |
-# fi |
152 |
-} |