1 |
commit: 14360383a32aea9855973cbb509bb7a31eedfaf8 |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jul 4 03:18:50 2019 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 4 03:26:46 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14360383 |
7 |
|
8 |
dev-python/cython: remove old |
9 |
|
10 |
Signed-off-by: Tim Harder <radhermit <AT> gentoo.org> |
11 |
|
12 |
dev-python/cython/Manifest | 3 - |
13 |
dev-python/cython/cython-0.25.2.ebuild | 84 --------------------- |
14 |
dev-python/cython/cython-0.26.1.ebuild | 80 -------------------- |
15 |
dev-python/cython/cython-0.28.4.ebuild | 86 ---------------------- |
16 |
.../files/0.25.2-test-cpdef_enums-L-suffix.patch | 19 ----- |
17 |
5 files changed, 272 deletions(-) |
18 |
|
19 |
diff --git a/dev-python/cython/Manifest b/dev-python/cython/Manifest |
20 |
index 8b535526560..c2db85b6dcf 100644 |
21 |
--- a/dev-python/cython/Manifest |
22 |
+++ b/dev-python/cython/Manifest |
23 |
@@ -1,6 +1,3 @@ |
24 |
-DIST Cython-0.25.2.tar.gz 1703315 BLAKE2B e458604d0843afa128c6019244220bd6b3dd6653013698aa67ee2f71555f09813a8136ef92d6dc51ca38fe085e7bedc5e01d1a32bbd0885e62bd91c2e482bebd SHA512 1974b9374aeedb030307dc95aa6560ce9d5e1652783cd4552e96ef11663c73dd263e3521b68e7712abbb31628011e2e66320c5ee2577968684e2679eb80726e1 |
25 |
-DIST Cython-0.26.1.tar.gz 1725133 BLAKE2B b2c0433e8154ad76d921677608cae42a793326015ff320d8cd61818e5eb5fb4daf73ad4e72760d84f4cdaa2386b87d719cf9cd41584b781d4e2021e377a58422 SHA512 cdf31afaba78209c37a224345471c5c822b78c6d26c51583c46669b6b2b57b4952b33a839a51d06c3330fdff889345ac611fbaa2b2f17498cb02f3b5675f7948 |
26 |
-DIST Cython-0.28.4.tar.gz 1880943 BLAKE2B a97314147294c95fa0bd6d3fa1a1315d81f8abb46a1f2196009c1ef6f0dd7f47f81a7b31ab81d1fd00e8de37878a18a22d225055181ee74ffe4cc8105d84cd75 SHA512 67d2da2d776fc02193cfe98c8942e93905ec5e30bf4e0f9d5c965d930a034936d4c29c8248fccefff5db6d4dee054ec854994bea63fa3f64ff65df7550997c29 |
27 |
DIST Cython-0.29.10.tar.gz 2049468 BLAKE2B 1cfae1c5e2d7277d3ac25ab0ff5a7b4346242e6c01d0b7945491f4fb64e0c9b98c593efa41b790aa0437ae72275a0ba3b6fe8614c7efaadc6139823f0e453d71 SHA512 df8430bb89816df84abfc6d59bee8e50f4117e8e82b9c82a889afca390a42a1569a9b5dcde76f40e7c29d728489af34c6fe0cf359912f7b74ac0d014af2171c3 |
28 |
DIST Cython-0.29.11.tar.gz 2050170 BLAKE2B 47ce8b73371b8f4537e4ad7645dfaccdca207573eba68fa7e5da079db5b739b8cede57a55a19b2bfb28aaf30f8d5b5c9eb8492fdfcc07f533f4e9af036a315ad SHA512 d683cd006afb9778c9c2d755646623977d29d05675be8bc85f711d4a0cadcd5bd7ed623a2a2bc2067898b0d5b99819f2047b91345ecd5e4f0828eea6f62ec83c |
29 |
DIST Cython-0.29.4.tar.gz 2044382 BLAKE2B b36d27706a3270805f66190a4cf2735eaf20b1b932365b324a433c0e58e63e860ce1500333233c3539ae697886ac0adc361a2c158d5d064a3ea05843debc3f26 SHA512 8f115e36975aaf64eda4df8b0a85378d0c80b3292dbd162be826b939def03bdc9f3eb937676e2367003c2944b570d97f50d7880becfdb2fdc5144077b4a722dc |
30 |
|
31 |
diff --git a/dev-python/cython/cython-0.25.2.ebuild b/dev-python/cython/cython-0.25.2.ebuild |
32 |
deleted file mode 100644 |
33 |
index c94da77b78b..00000000000 |
34 |
--- a/dev-python/cython/cython-0.25.2.ebuild |
35 |
+++ /dev/null |
36 |
@@ -1,84 +0,0 @@ |
37 |
-# Copyright 1999-2019 Gentoo Authors |
38 |
-# Distributed under the terms of the GNU General Public License v2 |
39 |
- |
40 |
-EAPI=6 |
41 |
- |
42 |
-PYTHON_COMPAT=( python2_7 python3_{5,6} ) |
43 |
-PYTHON_REQ_USE="threads(+)" |
44 |
- |
45 |
-inherit distutils-r1 flag-o-matic toolchain-funcs elisp-common |
46 |
- |
47 |
-MY_PN="Cython" |
48 |
-MY_P="${MY_PN}-${PV/_/}" |
49 |
- |
50 |
-DESCRIPTION="A Python to C compiler" |
51 |
-HOMEPAGE="https://cython.org https://pypi.org/project/Cython/" |
52 |
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
53 |
- |
54 |
-LICENSE="Apache-2.0" |
55 |
-SLOT="0" |
56 |
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
57 |
- |
58 |
-IUSE="doc emacs test" |
59 |
- |
60 |
-RDEPEND=" |
61 |
- emacs? ( virtual/emacs ) |
62 |
-" |
63 |
-# On testing, setuptools invokes an error in running the testsuite cited in a number of recent bugs |
64 |
-# spanning several packages. This bug has been fixed in the recent release of version 9.1 |
65 |
-DEPEND="${RDEPEND} |
66 |
- >=dev-python/setuptools-9.1[${PYTHON_USEDEP}] |
67 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
68 |
- test? ( dev-python/numpy[${PYTHON_USEDEP}] )" |
69 |
- |
70 |
-SITEFILE=50cython-gentoo.el |
71 |
-S="${WORKDIR}/${MY_PN}-${PV%_*}" |
72 |
- |
73 |
-PATCHES=( |
74 |
- "${FILESDIR}"/0.25.2-test-cpdef_enums-L-suffix.patch |
75 |
-) |
76 |
- |
77 |
-python_compile() { |
78 |
- if ! python_is_python3; then |
79 |
- local CFLAGS="${CFLAGS}" |
80 |
- local CXXFLAGS="${CXXFLAGS}" |
81 |
- append-flags -fno-strict-aliasing |
82 |
- fi |
83 |
- |
84 |
- # Python gets confused when it is in sys.path before build. |
85 |
- local PYTHONPATH= |
86 |
- export PYTHONPATH |
87 |
- |
88 |
- distutils-r1_python_compile |
89 |
-} |
90 |
- |
91 |
-python_compile_all() { |
92 |
- use emacs && elisp-compile Tools/cython-mode.el |
93 |
- |
94 |
- use doc && unset XDG_CONFIG_HOME && emake -C docs html |
95 |
-} |
96 |
- |
97 |
-python_test() { |
98 |
- tc-export CC |
99 |
- "${PYTHON}" runtests.py -vv --work-dir "${BUILD_DIR}"/tests \ |
100 |
- || die "Tests fail with ${EPYTHON}" |
101 |
-} |
102 |
- |
103 |
-python_install_all() { |
104 |
- local DOCS=( CHANGES.rst README.txt ToDo.txt USAGE.txt ) |
105 |
- use doc && local HTML_DOCS=( docs/build/html/. ) |
106 |
- distutils-r1_python_install_all |
107 |
- |
108 |
- if use emacs; then |
109 |
- elisp-install ${PN} Tools/cython-mode.* |
110 |
- elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
111 |
- fi |
112 |
-} |
113 |
- |
114 |
-pkg_postinst() { |
115 |
- use emacs && elisp-site-regen |
116 |
-} |
117 |
- |
118 |
-pkg_postrm() { |
119 |
- use emacs && elisp-site-regen |
120 |
-} |
121 |
|
122 |
diff --git a/dev-python/cython/cython-0.26.1.ebuild b/dev-python/cython/cython-0.26.1.ebuild |
123 |
deleted file mode 100644 |
124 |
index ea74ee77736..00000000000 |
125 |
--- a/dev-python/cython/cython-0.26.1.ebuild |
126 |
+++ /dev/null |
127 |
@@ -1,80 +0,0 @@ |
128 |
-# Copyright 1999-2019 Gentoo Authors |
129 |
-# Distributed under the terms of the GNU General Public License v2 |
130 |
- |
131 |
-EAPI=6 |
132 |
- |
133 |
-PYTHON_COMPAT=( python2_7 python3_{5,6} ) |
134 |
-PYTHON_REQ_USE="threads(+)" |
135 |
- |
136 |
-inherit distutils-r1 flag-o-matic toolchain-funcs elisp-common |
137 |
- |
138 |
-MY_PN="Cython" |
139 |
-MY_P="${MY_PN}-${PV/_/}" |
140 |
- |
141 |
-DESCRIPTION="A Python to C compiler" |
142 |
-HOMEPAGE="https://cython.org https://pypi.org/project/Cython/" |
143 |
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
144 |
- |
145 |
-LICENSE="Apache-2.0" |
146 |
-SLOT="0" |
147 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
148 |
- |
149 |
-IUSE="doc emacs test" |
150 |
- |
151 |
-RDEPEND=" |
152 |
- emacs? ( virtual/emacs ) |
153 |
-" |
154 |
-# On testing, setuptools invokes an error in running the testsuite cited in a number of recent bugs |
155 |
-# spanning several packages. This bug has been fixed in the recent release of version 9.1 |
156 |
-DEPEND="${RDEPEND} |
157 |
- >=dev-python/setuptools-9.1[${PYTHON_USEDEP}] |
158 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
159 |
- test? ( dev-python/numpy[${PYTHON_USEDEP}] )" |
160 |
- |
161 |
-SITEFILE=50cython-gentoo.el |
162 |
-S="${WORKDIR}/${MY_PN}-${PV%_*}" |
163 |
- |
164 |
-python_compile() { |
165 |
- if ! python_is_python3; then |
166 |
- local CFLAGS="${CFLAGS}" |
167 |
- local CXXFLAGS="${CXXFLAGS}" |
168 |
- append-flags -fno-strict-aliasing |
169 |
- fi |
170 |
- |
171 |
- # Python gets confused when it is in sys.path before build. |
172 |
- local PYTHONPATH= |
173 |
- export PYTHONPATH |
174 |
- |
175 |
- distutils-r1_python_compile |
176 |
-} |
177 |
- |
178 |
-python_compile_all() { |
179 |
- use emacs && elisp-compile Tools/cython-mode.el |
180 |
- |
181 |
- use doc && unset XDG_CONFIG_HOME && emake -C docs html |
182 |
-} |
183 |
- |
184 |
-python_test() { |
185 |
- tc-export CC |
186 |
- "${PYTHON}" runtests.py -vv --work-dir "${BUILD_DIR}"/tests \ |
187 |
- || die "Tests fail with ${EPYTHON}" |
188 |
-} |
189 |
- |
190 |
-python_install_all() { |
191 |
- local DOCS=( CHANGES.rst README.txt ToDo.txt USAGE.txt ) |
192 |
- use doc && local HTML_DOCS=( docs/build/html/. ) |
193 |
- distutils-r1_python_install_all |
194 |
- |
195 |
- if use emacs; then |
196 |
- elisp-install ${PN} Tools/cython-mode.* |
197 |
- elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
198 |
- fi |
199 |
-} |
200 |
- |
201 |
-pkg_postinst() { |
202 |
- use emacs && elisp-site-regen |
203 |
-} |
204 |
- |
205 |
-pkg_postrm() { |
206 |
- use emacs && elisp-site-regen |
207 |
-} |
208 |
|
209 |
diff --git a/dev-python/cython/cython-0.28.4.ebuild b/dev-python/cython/cython-0.28.4.ebuild |
210 |
deleted file mode 100644 |
211 |
index 9deca0e2318..00000000000 |
212 |
--- a/dev-python/cython/cython-0.28.4.ebuild |
213 |
+++ /dev/null |
214 |
@@ -1,86 +0,0 @@ |
215 |
-# Copyright 1999-2019 Gentoo Authors |
216 |
-# Distributed under the terms of the GNU General Public License v2 |
217 |
- |
218 |
-EAPI=6 |
219 |
- |
220 |
-PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) |
221 |
-PYTHON_REQ_USE="threads(+)" |
222 |
- |
223 |
-inherit distutils-r1 toolchain-funcs elisp-common |
224 |
- |
225 |
-MY_PN="Cython" |
226 |
-MY_P="${MY_PN}-${PV/_/}" |
227 |
- |
228 |
-DESCRIPTION="A Python to C compiler" |
229 |
-HOMEPAGE="https://cython.org https://pypi.org/project/Cython/" |
230 |
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
231 |
- |
232 |
-LICENSE="Apache-2.0" |
233 |
-SLOT="0" |
234 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
235 |
- |
236 |
-IUSE="doc emacs test" |
237 |
- |
238 |
-RDEPEND=" |
239 |
- emacs? ( virtual/emacs ) |
240 |
-" |
241 |
-DEPEND="${RDEPEND} |
242 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
243 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
244 |
- test? ( dev-python/numpy[${PYTHON_USEDEP}] )" |
245 |
- |
246 |
-SITEFILE=50cython-gentoo.el |
247 |
-S="${WORKDIR}/${MY_PN}-${PV%_*}" |
248 |
- |
249 |
-python_prepare_all() { |
250 |
- # tests behavior that is illegal in Python 3.7+ |
251 |
- # https://github.com/cython/cython/issues/2454 |
252 |
- sed -i -e '/with_outer_raising/,/return/d' tests/run/generators_py.py || die |
253 |
- |
254 |
- distutils-r1_python_prepare_all |
255 |
-} |
256 |
- |
257 |
-python_compile() { |
258 |
- if ! python_is_python3; then |
259 |
- local CFLAGS="${CFLAGS} -fno-strict-aliasing" |
260 |
- local CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing" |
261 |
- fi |
262 |
- |
263 |
- # Python gets confused when it is in sys.path before build. |
264 |
- local -x PYTHONPATH= |
265 |
- |
266 |
- distutils-r1_python_compile |
267 |
-} |
268 |
- |
269 |
-python_compile_all() { |
270 |
- use emacs && elisp-compile Tools/cython-mode.el |
271 |
- |
272 |
- use doc && unset XDG_CONFIG_HOME && emake -C docs html |
273 |
-} |
274 |
- |
275 |
-python_test() { |
276 |
- tc-export CC |
277 |
- # https://github.com/cython/cython/issues/1911 |
278 |
- local -x CFLAGS="${CFLAGS} -fno-strict-overflow" |
279 |
- "${PYTHON}" runtests.py -vv --work-dir "${BUILD_DIR}"/tests \ |
280 |
- || die "Tests fail with ${EPYTHON}" |
281 |
-} |
282 |
- |
283 |
-python_install_all() { |
284 |
- local DOCS=( CHANGES.rst README.rst ToDo.txt USAGE.txt ) |
285 |
- use doc && local HTML_DOCS=( docs/build/html/. ) |
286 |
- distutils-r1_python_install_all |
287 |
- |
288 |
- if use emacs; then |
289 |
- elisp-install ${PN} Tools/cython-mode.* |
290 |
- elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
291 |
- fi |
292 |
-} |
293 |
- |
294 |
-pkg_postinst() { |
295 |
- use emacs && elisp-site-regen |
296 |
-} |
297 |
- |
298 |
-pkg_postrm() { |
299 |
- use emacs && elisp-site-regen |
300 |
-} |
301 |
|
302 |
diff --git a/dev-python/cython/files/0.25.2-test-cpdef_enums-L-suffix.patch b/dev-python/cython/files/0.25.2-test-cpdef_enums-L-suffix.patch |
303 |
deleted file mode 100644 |
304 |
index 3a8b9d9d1e7..00000000000 |
305 |
--- a/dev-python/cython/files/0.25.2-test-cpdef_enums-L-suffix.patch |
306 |
+++ /dev/null |
307 |
@@ -1,19 +0,0 @@ |
308 |
-From d92a718a26c9354fbf35f31a17de5c069865a447 Mon Sep 17 00:00:00 2001 |
309 |
-From: Robert Bradshaw <robertwb@×××××.com> |
310 |
-Date: Tue, 24 Jan 2017 16:57:00 -0800 |
311 |
-Subject: [PATCH] Normalize possible L suffix. |
312 |
- |
313 |
---- |
314 |
- tests/run/cpdef_enums.pyx | 2 +- |
315 |
- 1 file changed, 1 insertion(+), 1 deletion(-) |
316 |
- |
317 |
-diff --git a/tests/run/cpdef_enums.pyx b/tests/run/cpdef_enums.pyx |
318 |
-index 167c762..c264ec5 100644 |
319 |
---- a/tests/run/cpdef_enums.pyx |
320 |
-+++ b/tests/run/cpdef_enums.pyx |
321 |
-@@ -93,4 +93,4 @@ def verify_resolution_GH1533(): |
322 |
- 3 |
323 |
- """ |
324 |
- THREE = 100 |
325 |
-- return PyxEnum.THREE |
326 |
-+ return int(PyxEnum.THREE) |