Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/cherrypy/
Date: Mon, 04 May 2020 10:29:12
Message-Id: 1588588027.a8d90831d1b052b00a599b1d6f6ad535d5a562cf.mgorny@gentoo
1 commit: a8d90831d1b052b00a599b1d6f6ad535d5a562cf
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 4 10:27:07 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon May 4 10:27:07 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8d90831
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-13.1.0.ebuild | 44 -------------------
14 dev-python/cherrypy/cherrypy-17.4.1-r1.ebuild | 58 -------------------------
15 dev-python/cherrypy/cherrypy-17.4.2.ebuild | 61 ---------------------------
16 4 files changed, 165 deletions(-)
17
18 diff --git a/dev-python/cherrypy/Manifest b/dev-python/cherrypy/Manifest
19 index ab580effa0b..ef645340dc5 100644
20 --- a/dev-python/cherrypy/Manifest
21 +++ b/dev-python/cherrypy/Manifest
22 @@ -1,6 +1,4 @@
23 DIST CherryPy-13.1.0.tar.gz 687221 BLAKE2B ab9c8f50026e26d171877e4e68f1c5a53fa8519190bcc577e12999cdf8a7f52be37f4ba9ed83a276a9f33676839ec63bff68aa8f9f51ddf15557e09123bf2530 SHA512 c32cf009d6a5b557560a00cde0f47a01ae481c7f60b7f340e5c99bf2d7c757e7c7cbf3ef2f4f71c172057aa09ca332f2d211cc97623ea29ba9f17287c7bc42dd
24 -DIST CherryPy-17.4.1.tar.gz 684113 BLAKE2B 8922c1f6c3e7ac654f84dbc56c7ae17e9ba83e01132dc6a34413064879a5fe22b1dcaa0eac7415b23cf9dc4fe54fd3e5d078121b354599b30c89f69f107208f6 SHA512 588aef80b12bdd27d83fabd466add12753d62760cd0c6beca8ecb78a0cd1e04a507327409bd4cd3c6e6e6133922e06c2f8c6ee2877b42ca635f8001812a4bd8e
25 -DIST CherryPy-17.4.2.tar.gz 684366 BLAKE2B 428c209b2ea3061e70c932a781166099f323b522d855b640f0869f19c7a6a6f00d9c4121f51c71ff2cc3d332f6451accffa2a8cc0c424e3fd0c62d9bfd69845c SHA512 1f06d8228b45161773095dd05e163fa55ad0060ac6f740051294aa2ecc53036c367fe5a5ef327a8fd56b5a4afd1f8550ef00a3f71fcc13c6124d772e77459ff4
26 DIST CherryPy-18.1.0.tar.gz 682792 BLAKE2B 0e072bf21656778ff8d64e87a6b19c8c5e9a3057312ebd3155b3b876432709f6f205f267cd9a105727153d458daab3e7113ffe9b3c49f911bd956bf72a19086c SHA512 58ae40ef62efeda051bf5dd35768a599094792d06a0e7c6e34c21cc5b003b700f43a02460d38a00067d255939e341fc438d248e3499fad76ccc8100f8eac94d3
27 DIST CherryPy-18.5.0.tar.gz 685362 BLAKE2B 36178ff6e374a89aa4fba9ba34947f1558a7bb3676f014528bb081efa9608ed70648bf2c46b8c4f95b8b14586a93c513ce342955677564f9202733104ba07102 SHA512 6ead115ac2a067cc9f2cb83117b8c53aac8a2a1580159993b7687b5810a41b64d1d1c603ef75a12660fe7aee9c6f403c8cb7bd5e78564f71dc813ae7f28b65fe
28 DIST CherryPy-3.8.0.tar.gz 433711 BLAKE2B e1b4a554138a61e8c6313c3055723583d812e573a352d67bd5448f799e4f2f22694b800810b53cd041c665e46d9555b471d1da91c252ade96459778d7a5c07fa SHA512 25f84093e30d814c0980f7d77b98492113470c3297c66ee8652e40650757f8e2b7db01bb8de6d7a1ea9b4bed8b764502b1f563ac6f0d082970bc2d46739d19c2
29
30 diff --git a/dev-python/cherrypy/cherrypy-13.1.0.ebuild b/dev-python/cherrypy/cherrypy-13.1.0.ebuild
31 deleted file mode 100644
32 index 959cd1d3070..00000000000
33 --- a/dev-python/cherrypy/cherrypy-13.1.0.ebuild
34 +++ /dev/null
35 @@ -1,44 +0,0 @@
36 -# Copyright 1999-2020 Gentoo Authors
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -EAPI=6
40 -PYTHON_COMPAT=( python3_6 pypy3 )
41 -
42 -inherit distutils-r1
43 -
44 -MY_P="CherryPy-${PV}"
45 -
46 -DESCRIPTION="CherryPy is a pythonic, object-oriented HTTP framework"
47 -HOMEPAGE="https://www.cherrypy.org https://pypi.org/project/CherryPy/"
48 -SRC_URI="mirror://pypi/C/CherryPy/${MY_P}.tar.gz"
49 -
50 -LICENSE="BSD"
51 -SLOT="0"
52 -KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~x86"
53 -IUSE="test"
54 -RESTRICT="!test? ( test )"
55 -
56 -RDEPEND=">=dev-python/cheroot-5.9.1[${PYTHON_USEDEP}]
57 - >=dev-python/portend-2.1.1[${PYTHON_USEDEP}]
58 - >=dev-python/six-1.11.0[${PYTHON_USEDEP}]"
59 -DEPEND="${RDEPEND}
60 - dev-python/setuptools[${PYTHON_USEDEP}]
61 - dev-python/setuptools_scm[${PYTHON_USEDEP}]
62 - test? (
63 - dev-python/backports-unittest-mock[${PYTHON_USEDEP}]
64 - dev-python/path-py[${PYTHON_USEDEP}]
65 - dev-python/pytest[${PYTHON_USEDEP}]
66 - dev-python/pytest-cov[${PYTHON_USEDEP}]
67 - )"
68 -S="${WORKDIR}/${MY_P}"
69 -
70 -python_prepare_all() {
71 - # UnicodeEncodeError: 'ascii' codec can't encode character u'\u2603' in position 0: ordinal not in range(128)
72 - sed -e 's|@pytest.mark.xfail(py27_on_windows|@pytest.mark.xfail(sys.version_info < (3,)|' \
73 - -i cherrypy/test/test_static.py || die
74 - distutils-r1_python_prepare_all
75 -}
76 -
77 -python_test() {
78 - py.test -v || die "tests failed under ${EPTYHON}"
79 -}
80
81 diff --git a/dev-python/cherrypy/cherrypy-17.4.1-r1.ebuild b/dev-python/cherrypy/cherrypy-17.4.1-r1.ebuild
82 deleted file mode 100644
83 index 5cbcb099551..00000000000
84 --- a/dev-python/cherrypy/cherrypy-17.4.1-r1.ebuild
85 +++ /dev/null
86 @@ -1,58 +0,0 @@
87 -# Copyright 1999-2020 Gentoo Authors
88 -# Distributed under the terms of the GNU General Public License v2
89 -
90 -EAPI=7
91 -
92 -PYTHON_COMPAT=( python3_{6,7} pypy3 )
93 -
94 -inherit distutils-r1
95 -
96 -MY_P="CherryPy-${PV}"
97 -
98 -DESCRIPTION="CherryPy is a pythonic, object-oriented HTTP framework"
99 -HOMEPAGE="https://www.cherrypy.org https://pypi.org/project/CherryPy/"
100 -SRC_URI="mirror://pypi/C/CherryPy/${MY_P}.tar.gz"
101 -
102 -LICENSE="BSD"
103 -SLOT="0"
104 -KEYWORDS="~amd64 ~arm64 ~ppc64"
105 -IUSE="ssl"
106 -# IUSE="ssl test"
107 -# See below to see what needs to be done before testing can be enabled
108 -# for this release.
109 -RESTRICT="test"
110 -
111 -RDEPEND=">=dev-python/six-1.11.0[${PYTHON_USEDEP}]
112 ->=dev-python/cheroot-6.2.4[${PYTHON_USEDEP}]
113 - >=dev-python/portend-2.1.1[${PYTHON_USEDEP}]
114 - dev-python/more-itertools[${PYTHON_USEDEP}]
115 - dev-python/zc-lockfile[${PYTHON_USEDEP}]
116 - dev-python/contextlib2[${PYTHON_USEDEP}]
117 - ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] )"
118 -DEPEND="${RDEPEND}
119 - dev-python/setuptools[${PYTHON_USEDEP}]
120 - dev-python/setuptools_scm[${PYTHON_USEDEP}]"
121 - # These will need to be checked for testing and some will need to be
122 - # added to portage.
123 - # test? (
124 -# dev-python/coverage[${PYTHON_USEDEP}]
125 -# dev-python/codecov[${PYTHON_USEDEP}]
126 -# dev-python/objgraph[${PYTHON_USEDEP}]
127 -# dev-python/pytest[${PYTHON_USEDEP}]
128 -# dev-python/pytest-cov[${PYTHON_USEDEP}]
129 -# dev-python/pytest-sugar[${PYTHON_USEDEP}]
130 -# dev-python/backports-unittest-mock[${PYTHON_USEDEP}]
131 -# dev-python/path-py[${PYTHON_USEDEP}]
132 -# )"
133 -S="${WORKDIR}/${MY_P}"
134 -
135 -python_prepare_all() {
136 - # UnicodeEncodeError: 'ascii' codec can't encode character u'\u2603' in position 0: ordinal not in range(128)
137 - sed -e 's|@pytest.mark.xfail(py27_on_windows|@pytest.mark.xfail(sys.version_info < (3,)|' \
138 - -i cherrypy/test/test_static.py || die
139 - distutils-r1_python_prepare_all
140 -}
141 -
142 -# python_test() {
143 -# py.test -v || die "tests failed under ${EPTYHON}"
144 -# }
145
146 diff --git a/dev-python/cherrypy/cherrypy-17.4.2.ebuild b/dev-python/cherrypy/cherrypy-17.4.2.ebuild
147 deleted file mode 100644
148 index 5e7872d3abe..00000000000
149 --- a/dev-python/cherrypy/cherrypy-17.4.2.ebuild
150 +++ /dev/null
151 @@ -1,61 +0,0 @@
152 -# Copyright 1999-2020 Gentoo Authors
153 -# Distributed under the terms of the GNU General Public License v2
154 -
155 -EAPI=7
156 -
157 -PYTHON_COMPAT=( python3_{6,7,8} )
158 -DISTUTILS_USE_SETUPTOOLS=rdepend
159 -inherit distutils-r1
160 -
161 -MY_P="CherryPy-${PV}"
162 -
163 -DESCRIPTION="CherryPy is a pythonic, object-oriented HTTP framework"
164 -HOMEPAGE="https://www.cherrypy.org https://pypi.org/project/CherryPy/"
165 -SRC_URI="mirror://pypi/C/CherryPy/${MY_P}.tar.gz"
166 -S="${WORKDIR}/${MY_P}"
167 -
168 -LICENSE="BSD"
169 -SLOT="0"
170 -KEYWORDS="~amd64"
171 -IUSE="ssl test"
172 -
173 -# tests fail hard with no error, i have no idea how to debug
174 -RESTRICT="test"
175 -
176 -RDEPEND="
177 - >=dev-python/six-1.11.0[${PYTHON_USEDEP}]
178 - >=dev-python/cheroot-8.2.1[${PYTHON_USEDEP}]
179 - >=dev-python/portend-2.1.1[${PYTHON_USEDEP}]
180 - dev-python/more-itertools[${PYTHON_USEDEP}]
181 - dev-python/zc-lockfile[${PYTHON_USEDEP}]
182 - dev-python/jaraco-collections[${PYTHON_USEDEP}]
183 - dev-python/contextlib2[${PYTHON_USEDEP}]
184 - ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] )"
185 -BDEPEND="${RDEPEND}
186 - dev-python/setuptools_scm[${PYTHON_USEDEP}]"
187 -# test? (
188 -# dev-python/routes[${PYTHON_USEDEP}]
189 -# dev-python/simplejson[${PYTHON_USEDEP}]
190 -# dev-python/objgraph[${PYTHON_USEDEP}]
191 -# dev-python/backports-unittest-mock[${PYTHON_USEDEP}]
192 -# dev-python/path-py[${PYTHON_USEDEP}]
193 -# dev-python/requests-toolbelt[${PYTHON_USEDEP}]
194 -# )
195 -
196 -distutils_enable_tests pytest
197 -
198 -python_prepare_all() {
199 - # UnicodeEncodeError: 'ascii' codec can't encode character u'\u2603' in position 0: ordinal not in range(128)
200 - sed -e 's|@pytest.mark.xfail(py27_on_windows|@pytest.mark.xfail(sys.version_info < (3,)|' \
201 - -i cherrypy/test/test_static.py || die
202 -
203 - sed -r -e '/(pytest-sugar|pytest-cov)/ d' \
204 - -i setup.py || die
205 -
206 - sed -r -e 's:--cov-report[[:space:]]+[[:graph:]]+::' \
207 - -e 's:--cov[[:graph:]]+::' \
208 - -e 's:--doctest[[:graph:]]+::' \
209 - -i pytest.ini || die
210 -
211 - distutils-r1_python_prepare_all
212 -}