Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/cheroot/files/, dev-python/cheroot/
Date: Mon, 10 Feb 2020 17:46:30
Message-Id: 1581356570.d1ae67ce11a819a53f816ae21693522ec5c3296d.zmedico@gentoo
1 commit: d1ae67ce11a819a53f816ae21693522ec5c3296d
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 10 17:22:51 2020 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 10 17:42:50 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1ae67ce
7
8 dev-python/cheroot: Remove old versions
9
10 Package-Manager: Portage-2.3.88, Repoman-2.3.20
11 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
12
13 dev-python/cheroot/Manifest | 2 -
14 dev-python/cheroot/cheroot-6.0.0-r1.ebuild | 32 -------------
15 dev-python/cheroot/cheroot-6.0.0.ebuild | 32 -------------
16 dev-python/cheroot/cheroot-6.5.4.ebuild | 53 ----------------------
17 dev-python/cheroot/cheroot-8.2.1.ebuild | 13 ++++--
18 .../cheroot/files/6.5.4-fix-requirements.patch | 10 ----
19 6 files changed, 9 insertions(+), 133 deletions(-)
20
21 diff --git a/dev-python/cheroot/Manifest b/dev-python/cheroot/Manifest
22 index 71d038c979a..e3db8babde1 100644
23 --- a/dev-python/cheroot/Manifest
24 +++ b/dev-python/cheroot/Manifest
25 @@ -1,3 +1 @@
26 -DIST cheroot-6.0.0.tar.gz 62763 BLAKE2B 0946c01c6a6233dc60ca3dd896c3d1dbc0feb97d5099d88598db340a8812b2be4cb076383c0e39d30cd2c6fd3402e048b716a02e82bec8ce08d5b8fca4b1be0f SHA512 0109fbf3b73ed3f12261eaa3c6d86b6c6b80a1ba3564548ba3288aa6c61a1c08db60886e677991bf7997e6a5b1ec7767a3e06098ec1748453e72c40fda7b82a7
27 -DIST cheroot-6.5.4.tar.gz 81067 BLAKE2B 5304373bb8c7cefa341260d4fdb8a99b9e22041260342a716a6b95ba324b4f31d20fb44d8dc10840fb35d3b04de1283deb9aca11bc78772655bf7ad81cf16f3c SHA512 62a48ced225bf9167259b82f5e88a953bdc422982a6c0b0121b28e895cc8347cc033f573b57a048c59167586e0b21e94ad233ce2b65a1b72feb01db82b5ed411
28 DIST cheroot-8.2.1.tar.gz 89470 BLAKE2B 57515ecf6e047ea67599631a98c15307ea5f9929b398a8143bc157bfe71129b11a1f4bc841f586f98167ac4c6c9680d476bd167323e5828163b4bff9bf24c360 SHA512 3f6b55c6b2403569eedb1fe7b473d3a65ad5d06cb99a38370316db38b6138b1a6921c6b7d8ba64424c5b8c20c9c58ada33da7cb8ebb6f313610f63c1f364f862
29
30 diff --git a/dev-python/cheroot/cheroot-6.0.0-r1.ebuild b/dev-python/cheroot/cheroot-6.0.0-r1.ebuild
31 deleted file mode 100644
32 index 1022ae4c924..00000000000
33 --- a/dev-python/cheroot/cheroot-6.0.0-r1.ebuild
34 +++ /dev/null
35 @@ -1,32 +0,0 @@
36 -# Copyright 1999-2020 Gentoo Authors
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -EAPI=7
40 -PYTHON_COMPAT=( python3_{6,7} pypy3 )
41 -
42 -inherit distutils-r1
43 -
44 -DESCRIPTION="Cheroot is the high-performance, pure-Python HTTP server used by CherryPy."
45 -HOMEPAGE="https://cherrypy.org/ https://pypi.org/project/Cheroot/ https://github.com/cherrypy/cheroot"
46 -SRC_URI="mirror://pypi/C/${PN/c/C}/${P}.tar.gz"
47 -
48 -LICENSE="BSD"
49 -SLOT="0"
50 -KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~x86"
51 -IUSE="test"
52 -RESTRICT="!test? ( test )"
53 -
54 -RDEPEND=">=dev-python/six-1.11.0[${PYTHON_USEDEP}]
55 - >=dev-python/more-itertools-2.6[${PYTHON_USEDEP}]"
56 -DEPEND="${RDEPEND}
57 - <dev-python/setuptools-41.4.0[${PYTHON_USEDEP}]
58 - >=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}]
59 - test? (
60 - dev-python/portend[${PYTHON_USEDEP}]
61 - dev-python/pytest[${PYTHON_USEDEP}]
62 - dev-python/pytest-cov[${PYTHON_USEDEP}]
63 - )"
64 -
65 -python_test() {
66 - py.test -v || die "tests failed under ${EPTYHON}"
67 -}
68
69 diff --git a/dev-python/cheroot/cheroot-6.0.0.ebuild b/dev-python/cheroot/cheroot-6.0.0.ebuild
70 deleted file mode 100644
71 index 586c3328f4d..00000000000
72 --- a/dev-python/cheroot/cheroot-6.0.0.ebuild
73 +++ /dev/null
74 @@ -1,32 +0,0 @@
75 -# Copyright 1999-2020 Gentoo Authors
76 -# Distributed under the terms of the GNU General Public License v2
77 -
78 -EAPI=6
79 -PYTHON_COMPAT=( python3_6 pypy3 )
80 -
81 -inherit distutils-r1
82 -
83 -DESCRIPTION="Cheroot is the high-performance, pure-Python HTTP server used by CherryPy."
84 -HOMEPAGE="https://cherrypy.org/ https://pypi.org/project/Cheroot/ https://github.com/cherrypy/cheroot"
85 -SRC_URI="mirror://pypi/C/${PN/c/C}/${P}.tar.gz"
86 -
87 -LICENSE="BSD"
88 -SLOT="0"
89 -KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~x86"
90 -IUSE="test"
91 -RESTRICT="!test? ( test )"
92 -
93 -RDEPEND=">=dev-python/six-1.11.0[${PYTHON_USEDEP}]
94 - >=dev-python/more-itertools-2.6[${PYTHON_USEDEP}]"
95 -DEPEND="${RDEPEND}
96 - <dev-python/setuptools-41.4.0[${PYTHON_USEDEP}]
97 - >=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}]
98 - test? (
99 - dev-python/portend[${PYTHON_USEDEP}]
100 - dev-python/pytest[${PYTHON_USEDEP}]
101 - dev-python/pytest-cov[${PYTHON_USEDEP}]
102 - )"
103 -
104 -python_test() {
105 - py.test -v || die "tests failed under ${EPTYHON}"
106 -}
107
108 diff --git a/dev-python/cheroot/cheroot-6.5.4.ebuild b/dev-python/cheroot/cheroot-6.5.4.ebuild
109 deleted file mode 100644
110 index 6a80492c572..00000000000
111 --- a/dev-python/cheroot/cheroot-6.5.4.ebuild
112 +++ /dev/null
113 @@ -1,53 +0,0 @@
114 -# Copyright 1999-2020 Gentoo Authors
115 -# Distributed under the terms of the GNU General Public License v2
116 -
117 -EAPI=7
118 -PYTHON_COMPAT=( python3_{6,7} pypy3 )
119 -
120 -inherit distutils-r1
121 -
122 -DESCRIPTION="Cheroot is the high-performance, pure-Python HTTP server used by CherryPy."
123 -HOMEPAGE="https://cherrypy.org/ https://pypi.org/project/Cheroot/ https://github.com/cherrypy/cheroot"
124 -SRC_URI="mirror://pypi/C/${PN/c/C}/${P}.tar.gz"
125 -
126 -LICENSE="BSD"
127 -SLOT="0"
128 -KEYWORDS="~amd64 ~arm64"
129 -# Unit tests are temporarily disabled for this version, see below for
130 -# what needs to be done.
131 -# IUSE="test"
132 -RESTRICT="test"
133 -
134 -RDEPEND=">=dev-python/six-1.11.0[${PYTHON_USEDEP}]
135 - >=dev-python/more-itertools-2.6[${PYTHON_USEDEP}]"
136 -DEPEND="${RDEPEND}
137 - <dev-python/setuptools-41.4.0[${PYTHON_USEDEP}]
138 - >=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}]
139 - >=dev-python/setuptools_scm_git_archive-1.0[${PYTHON_USEDEP}]"
140 -
141 - # Add the following for unit tests, some packages listed will need
142 - # to be added and keyworded appropriately.
143 -# test? (
144 -# dev-python/ddt[${PYTHON_USEDEP}]
145 -# dev-python/pytest[${PYTHON_USEDEP}]
146 -# dev-python/pytest-mock[${PYTHON_USEDEP}]
147 -# dev-python/pytest-sugar[${PYTHON_USEDEP}]
148 -# dev-python/pytest-testmon[${PYTHON_USEDEP}]
149 -# dev-python/pytest-watch[${PYTHON_USEDEP}]
150 -# dev-python/pytest-xdist[${PYTHON_USEDEP}]
151 -# dev-python/coverage[${PYTHON_USEDEP}]
152 -# dev-python/codecov[${PYTHON_USEDEP}]
153 -# dev-python/pytest-cov[${PYTHON_USEDEP}]
154 -# dev-python/trustme[${PYTHON_USEDEP}]
155 -# dev-python/pyopenssl[${PYTHON_USEDEP}]
156 -# dev-python/requests-unixsocket[${PYTHON_USEDEP}]
157 -# )"
158 -
159 -PATCHES=(
160 - # https://github.com/CherryPy/cheroot/issues/181
161 - "${FILESDIR}"/6.5.4-fix-requirements.patch
162 -)
163 -
164 -# python_test() {
165 -# py.test -v || die "tests failed under ${EPYTHON}"
166 -# }
167
168 diff --git a/dev-python/cheroot/cheroot-8.2.1.ebuild b/dev-python/cheroot/cheroot-8.2.1.ebuild
169 index decfdd37481..2254cb7b014 100644
170 --- a/dev-python/cheroot/cheroot-8.2.1.ebuild
171 +++ b/dev-python/cheroot/cheroot-8.2.1.ebuild
172 @@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/C/${PN/c/C}/${P}.tar.gz"
173
174 LICENSE="BSD"
175 SLOT="0"
176 -KEYWORDS="~amd64 ~arm64 ~ppc64"
177 +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86"
178 # Unit tests are temporarily disabled for this version, see below for
179 # what needs to be done.
180 #IUSE="test"
181 @@ -21,9 +21,7 @@ RESTRICT="test"
182 RDEPEND=">=dev-python/six-1.11.0[${PYTHON_USEDEP}]
183 >=dev-python/more-itertools-2.6[${PYTHON_USEDEP}]"
184 DEPEND="${RDEPEND}
185 - dev-python/setuptools[${PYTHON_USEDEP}]
186 - >=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}]
187 - >=dev-python/setuptools_scm_git_archive-1.0[${PYTHON_USEDEP}]"
188 + dev-python/setuptools[${PYTHON_USEDEP}]"
189
190 # Add the following for unit tests, some packages listed will need
191 # to be added and keyworded appropriately.
192 @@ -45,3 +43,10 @@ DEPEND="${RDEPEND}
193 #python_test() {
194 # py.test -v || die "tests failed under ${EPYTHON}"
195 #}
196 +
197 +python_prepare_all() {
198 + distutils-r1_python_prepare_all
199 +
200 + sed -e "s/use_scm_version=True/version='${PV}'/" -i setup.py || die
201 + sed -e '/setuptools_scm/d' -i setup.cfg || die
202 +}
203
204 diff --git a/dev-python/cheroot/files/6.5.4-fix-requirements.patch b/dev-python/cheroot/files/6.5.4-fix-requirements.patch
205 deleted file mode 100644
206 index a5a493704cf..00000000000
207 --- a/dev-python/cheroot/files/6.5.4-fix-requirements.patch
208 +++ /dev/null
209 @@ -1,10 +0,0 @@
210 ---- a/setup.cfg 2019-03-09 17:14:40.127863655 -0600
211 -+++ b/setup.cfg 2019-03-09 17:15:22.135345396 -0600
212 -@@ -57,7 +57,6 @@
213 - setuptools_scm>=1.15.0
214 - setuptools_scm_git_archive>=1.0
215 - install_requires =
216 -- backports.functools_lru_cache
217 - six>=1.11.0
218 - more_itertools>=2.6
219 -