1 |
commit: 7a234ff369d0df1822760faa5055ef652ab92d50 |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Oct 27 05:35:52 2016 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 27 05:35:52 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a234ff3 |
7 |
|
8 |
dev-python/cython: remove old |
9 |
|
10 |
dev-python/cython/Manifest | 5 -- |
11 |
dev-python/cython/cython-0.23.2.ebuild | 63 ------------------------ |
12 |
dev-python/cython/cython-0.23.3.ebuild | 63 ------------------------ |
13 |
dev-python/cython/cython-0.23.4-r1.ebuild | 82 ------------------------------- |
14 |
dev-python/cython/cython-0.23.4.ebuild | 63 ------------------------ |
15 |
dev-python/cython/cython-0.23.5.ebuild | 82 ------------------------------- |
16 |
dev-python/cython/cython-0.24.ebuild | 81 ------------------------------ |
17 |
7 files changed, 439 deletions(-) |
18 |
|
19 |
diff --git a/dev-python/cython/Manifest b/dev-python/cython/Manifest |
20 |
index fee881c..01c0ebb 100644 |
21 |
--- a/dev-python/cython/Manifest |
22 |
+++ b/dev-python/cython/Manifest |
23 |
@@ -1,8 +1,3 @@ |
24 |
DIST Cython-0.22.tar.gz 1584483 SHA256 14307e7a69af9a0d0e0024d446af7e51cc0e3e4d0dfb10d36ba837e5e5844015 SHA512 856220fa579e272ac38dcef091760f527431ff3b98df9af6e68416fcf77d9659ac5abe5c7dee41331f359614637a4ff452033085335ee499830ed126ab584267 WHIRLPOOL d9919e1fe33f7ea02833c485e10667d8470d7c69901b2419c6c4c1d464f9ef2444795e14903cc66b6fee40ec5a4c20308c331ad93fd8818f207d0a21cccf9b2b |
25 |
-DIST Cython-0.23.2.tar.gz 1627642 SHA256 85a8713db65d9ad3e7e2f01e6ac424d4ae2a40349f1391b2b0f494ccb7e0fda7 SHA512 ae1d20f3efc2ae9eeb73d1d536895992280b4b3222bd6911bae886971cb222c98a581a770c48d65ec1fa40cfa7b7639580fe86e4986b5fba5c9257d351dfc1a3 WHIRLPOOL c019b43508104f0ce9375b1eed740d9bf4ba9bdff66fccbc4b272f61a9899327d1e3a1026215f4014db89aefb0f69caafd4e055271cd67500b95ad3fb3ab5263 |
26 |
-DIST Cython-0.23.3.tar.gz 1628634 SHA256 590274ac8dbd1e62cc79d94eb2e2f4ae60cea91a9f8d50b8697d39aba451e82e SHA512 93d02fb7009fe005a91ccf83a3428c449e46c4ff913993e71affdee5a4155d932dcf93238fb85194f44c8b5dd7acd3e3dd83e86b407e4c41e6895abf1f3499ae WHIRLPOOL aa3a289f10608628991b368e9a6bda0821c5f957d1536963e7336ee81e04f554bb7fcce8c2bab429bde1ef7d1490a75770a45caec83d809aaf41f60b36f37924 |
27 |
-DIST Cython-0.23.4.tar.gz 1628326 SHA256 fec42fecee35d6cc02887f1eef4e4952c97402ed2800bfe41bbd9ed1a0730d8e SHA512 67f4d2be22def78318e8d3edc99b944c50291dc812064b0c8829dd453881bb288037087ee8472b161b9624ac13a50ece71a0d7560c9f2f7d94cc6fcad107e749 WHIRLPOOL f92dfc40080bb005bfdf220d8dc65c40b9ffa1e29b7c0c3e5c4e165f653f9b443af70191a3f7498777db07b9353147334d542e5e46109d4452f548d411d979dc |
28 |
-DIST Cython-0.23.5.tar.gz 1629433 SHA256 0ae5a5451a190e03ee36922c4189ca2c88d1df40a89b4f224bc842d388a0d1b6 SHA512 9052d74bbd0c93757fd916939cc3c39eb1aba6c9692b48887ae577256bec64b39b1fd25b6c751e6c8fe723de4c0ddf9a1a207de39f75b0839500dfcdde69f925 WHIRLPOOL 65456464ee8484de7277b6a657938972d9d81addcfe7751f1de287d6c4429531bbc3fcd0788911cbdc5ef752bfef0d43f930bd6651e124b2a33426c092c34292 |
29 |
DIST Cython-0.24.1.tar.gz 1703756 SHA256 84808fda00508757928e1feadcf41c9f78e9a9b7167b6649ab0933b76f75e7b9 SHA512 c5a3e884edd782c47c81aef29708035bbcd1c14d17e005668da8a4e26fdbba9af9ec283fd46ceaa2cab6fc4ec0d42f7d409832d7cc0a3ec00e84b968b1bf27ea WHIRLPOOL 14224a56c5a6f5cd3f389225c440c65b30a5d1b92c63587c4e9af258b23b1bed1c01330830931c5aba596649d19b0aafd0e559aed5ad7b577a59417463fc3b4a |
30 |
-DIST Cython-0.24.tar.gz 1671837 SHA256 6de44d8c482128efc12334641347a9c3e5098d807dd3c69e867fa8f84ec2a3f1 SHA512 9ac22934a4f344b02246538d8317cbecc66236e9c84d782f8121ef2e2c100de2a21cbfb55de3defcab294c71847467870e56fdb5bc38c0db0de7acd560d16e96 WHIRLPOOL 2656fcaa9520ba1de43d8e4e8d9e4d63c30fd62e34746f69c12ac19140faf48a00c98d7f50ce9b065167290d17b25e23c09889c6ab6241c97cd59970e1f09e7d |
31 |
DIST Cython-0.25.tar.gz 1701330 SHA256 c651eeec6bdcb57de59527e8765c9d2c4970c56bf96731893df66dda17aba46b SHA512 eafe71e4572a23ac1fb2a1461d41257eabe945036ae676f8ac1307262298eaadcd2b252bb7aa9fa061dfb1e076898e52f31fd392b5d7a90f0e766f98f9fa3f78 WHIRLPOOL 6920cb6c8fdc89bdc95a49df8fec4e899684423b92424c20fa7344bbed71130682c0e0656be00f16731f0097e04bab4a4a562bc1ead1e4a5874ae5eae5eb2de5 |
32 |
|
33 |
diff --git a/dev-python/cython/cython-0.23.2.ebuild b/dev-python/cython/cython-0.23.2.ebuild |
34 |
deleted file mode 100644 |
35 |
index b7bdcb7..00000000 |
36 |
--- a/dev-python/cython/cython-0.23.2.ebuild |
37 |
+++ /dev/null |
38 |
@@ -1,63 +0,0 @@ |
39 |
-# Copyright 1999-2015 Gentoo Foundation |
40 |
-# Distributed under the terms of the GNU General Public License v2 |
41 |
-# $Id$ |
42 |
- |
43 |
-EAPI=5 |
44 |
- |
45 |
-PYTHON_COMPAT=( python2_7 python3_{3,4} ) |
46 |
-PYTHON_REQ_USE="threads(+)" |
47 |
- |
48 |
-inherit distutils-r1 flag-o-matic toolchain-funcs |
49 |
- |
50 |
-MY_PN="Cython" |
51 |
-MY_P="${MY_PN}-${PV/_/}" |
52 |
- |
53 |
-DESCRIPTION="A Python to C compiler" |
54 |
-HOMEPAGE="http://www.cython.org/ https://pypi.python.org/pypi/Cython" |
55 |
-SRC_URI="http://www.cython.org/release/${MY_P}.tar.gz" |
56 |
- |
57 |
-LICENSE="Apache-2.0" |
58 |
-SLOT="0" |
59 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
60 |
-IUSE="doc examples test" |
61 |
- |
62 |
-RDEPEND="" |
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 |
-S="${WORKDIR}/${MY_PN}-${PV%_*}" |
71 |
- |
72 |
-python_compile() { |
73 |
- if ! python_is_python3; then |
74 |
- local CFLAGS="${CFLAGS}" |
75 |
- local CXXFLAGS="${CXXFLAGS}" |
76 |
- append-flags -fno-strict-aliasing |
77 |
- fi |
78 |
- |
79 |
- # Python gets confused when it is in sys.path before build. |
80 |
- local PYTHONPATH= |
81 |
- export PYTHONPATH |
82 |
- |
83 |
- distutils-r1_python_compile |
84 |
-} |
85 |
- |
86 |
-python_compile_all() { |
87 |
- use doc && unset XDG_CONFIG_HOME && emake -C docs html |
88 |
-} |
89 |
- |
90 |
-python_test() { |
91 |
- tc-export CC |
92 |
- "${PYTHON}" runtests.py -vv --work-dir "${BUILD_DIR}"/tests \ |
93 |
- || die "Tests fail with ${EPYTHON}" |
94 |
-} |
95 |
- |
96 |
-python_install_all() { |
97 |
- local DOCS=( CHANGES.rst README.txt ToDo.txt USAGE.txt ) |
98 |
- use doc && local HTML_DOCS=( docs/build/html/. ) |
99 |
- use examples && local EXAMPLES=( Demos/. ) |
100 |
- distutils-r1_python_install_all |
101 |
-} |
102 |
|
103 |
diff --git a/dev-python/cython/cython-0.23.3.ebuild b/dev-python/cython/cython-0.23.3.ebuild |
104 |
deleted file mode 100644 |
105 |
index ba3f159..00000000 |
106 |
--- a/dev-python/cython/cython-0.23.3.ebuild |
107 |
+++ /dev/null |
108 |
@@ -1,63 +0,0 @@ |
109 |
-# Copyright 1999-2015 Gentoo Foundation |
110 |
-# Distributed under the terms of the GNU General Public License v2 |
111 |
-# $Id$ |
112 |
- |
113 |
-EAPI=5 |
114 |
- |
115 |
-PYTHON_COMPAT=( python2_7 python3_{3,4,5} ) |
116 |
-PYTHON_REQ_USE="threads(+)" |
117 |
- |
118 |
-inherit distutils-r1 flag-o-matic toolchain-funcs |
119 |
- |
120 |
-MY_PN="Cython" |
121 |
-MY_P="${MY_PN}-${PV/_/}" |
122 |
- |
123 |
-DESCRIPTION="A Python to C compiler" |
124 |
-HOMEPAGE="http://www.cython.org/ https://pypi.python.org/pypi/Cython" |
125 |
-SRC_URI="http://www.cython.org/release/${MY_P}.tar.gz" |
126 |
- |
127 |
-LICENSE="Apache-2.0" |
128 |
-SLOT="0" |
129 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
130 |
-IUSE="doc examples test" |
131 |
- |
132 |
-RDEPEND="" |
133 |
-# On testing, setuptools invokes an error in running the testsuite cited in a number of recent bugs |
134 |
-# spanning several packages. This bug has been fixed in the recent release of version 9.1 |
135 |
-DEPEND="${RDEPEND} |
136 |
- >=dev-python/setuptools-9.1[${PYTHON_USEDEP}] |
137 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
138 |
- test? ( dev-python/numpy[${PYTHON_USEDEP}] )" |
139 |
- |
140 |
-S="${WORKDIR}/${MY_PN}-${PV%_*}" |
141 |
- |
142 |
-python_compile() { |
143 |
- if ! python_is_python3; then |
144 |
- local CFLAGS="${CFLAGS}" |
145 |
- local CXXFLAGS="${CXXFLAGS}" |
146 |
- append-flags -fno-strict-aliasing |
147 |
- fi |
148 |
- |
149 |
- # Python gets confused when it is in sys.path before build. |
150 |
- local PYTHONPATH= |
151 |
- export PYTHONPATH |
152 |
- |
153 |
- distutils-r1_python_compile |
154 |
-} |
155 |
- |
156 |
-python_compile_all() { |
157 |
- use doc && unset XDG_CONFIG_HOME && emake -C docs html |
158 |
-} |
159 |
- |
160 |
-python_test() { |
161 |
- tc-export CC |
162 |
- "${PYTHON}" runtests.py -vv --work-dir "${BUILD_DIR}"/tests \ |
163 |
- || die "Tests fail with ${EPYTHON}" |
164 |
-} |
165 |
- |
166 |
-python_install_all() { |
167 |
- local DOCS=( CHANGES.rst README.txt ToDo.txt USAGE.txt ) |
168 |
- use doc && local HTML_DOCS=( docs/build/html/. ) |
169 |
- use examples && local EXAMPLES=( Demos/. ) |
170 |
- distutils-r1_python_install_all |
171 |
-} |
172 |
|
173 |
diff --git a/dev-python/cython/cython-0.23.4-r1.ebuild b/dev-python/cython/cython-0.23.4-r1.ebuild |
174 |
deleted file mode 100644 |
175 |
index 7bf82a9..00000000 |
176 |
--- a/dev-python/cython/cython-0.23.4-r1.ebuild |
177 |
+++ /dev/null |
178 |
@@ -1,82 +0,0 @@ |
179 |
-# Copyright 1999-2016 Gentoo Foundation |
180 |
-# Distributed under the terms of the GNU General Public License v2 |
181 |
-# $Id$ |
182 |
- |
183 |
-EAPI=5 |
184 |
- |
185 |
-PYTHON_COMPAT=( python2_7 python3_{3,4,5} ) |
186 |
-PYTHON_REQ_USE="threads(+)" |
187 |
- |
188 |
-inherit distutils-r1 flag-o-matic toolchain-funcs elisp-common |
189 |
- |
190 |
-MY_PN="Cython" |
191 |
-MY_P="${MY_PN}-${PV/_/}" |
192 |
- |
193 |
-DESCRIPTION="A Python to C compiler" |
194 |
-HOMEPAGE="http://www.cython.org/ https://pypi.python.org/pypi/Cython" |
195 |
-SRC_URI="http://www.cython.org/release/${MY_P}.tar.gz" |
196 |
- |
197 |
-LICENSE="Apache-2.0" |
198 |
-SLOT="0" |
199 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
200 |
- |
201 |
-IUSE="doc examples emacs test" |
202 |
- |
203 |
-RDEPEND=" |
204 |
- emacs? ( virtual/emacs ) |
205 |
-" |
206 |
-# On testing, setuptools invokes an error in running the testsuite cited in a number of recent bugs |
207 |
-# spanning several packages. This bug has been fixed in the recent release of version 9.1 |
208 |
-DEPEND="${RDEPEND} |
209 |
- >=dev-python/setuptools-9.1[${PYTHON_USEDEP}] |
210 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
211 |
- test? ( dev-python/numpy[${PYTHON_USEDEP}] )" |
212 |
- |
213 |
-SITEFILE=50cython-gentoo.el |
214 |
-S="${WORKDIR}/${MY_PN}-${PV%_*}" |
215 |
- |
216 |
-python_compile() { |
217 |
- if ! python_is_python3; then |
218 |
- local CFLAGS="${CFLAGS}" |
219 |
- local CXXFLAGS="${CXXFLAGS}" |
220 |
- append-flags -fno-strict-aliasing |
221 |
- fi |
222 |
- |
223 |
- # Python gets confused when it is in sys.path before build. |
224 |
- local PYTHONPATH= |
225 |
- export PYTHONPATH |
226 |
- |
227 |
- distutils-r1_python_compile |
228 |
-} |
229 |
- |
230 |
-python_compile_all() { |
231 |
- use emacs && elisp-compile Tools/cython-mode.el |
232 |
- |
233 |
- use doc && unset XDG_CONFIG_HOME && emake -C docs html |
234 |
-} |
235 |
- |
236 |
-python_test() { |
237 |
- tc-export CC |
238 |
- "${PYTHON}" runtests.py -vv --work-dir "${BUILD_DIR}"/tests \ |
239 |
- || die "Tests fail with ${EPYTHON}" |
240 |
-} |
241 |
- |
242 |
-python_install_all() { |
243 |
- local DOCS=( CHANGES.rst README.txt ToDo.txt USAGE.txt ) |
244 |
- use doc && local HTML_DOCS=( docs/build/html/. ) |
245 |
- use examples && local EXAMPLES=( Demos/. ) |
246 |
- distutils-r1_python_install_all |
247 |
- |
248 |
- if use emacs; then |
249 |
- elisp-install ${PN} Tools/cython-mode.* |
250 |
- elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
251 |
- fi |
252 |
-} |
253 |
- |
254 |
-pkg_postinst() { |
255 |
- use emacs && elisp-site-regen |
256 |
-} |
257 |
- |
258 |
-pkg_postrm() { |
259 |
- use emacs && elisp-site-regen |
260 |
-} |
261 |
|
262 |
diff --git a/dev-python/cython/cython-0.23.4.ebuild b/dev-python/cython/cython-0.23.4.ebuild |
263 |
deleted file mode 100644 |
264 |
index ba3f159..00000000 |
265 |
--- a/dev-python/cython/cython-0.23.4.ebuild |
266 |
+++ /dev/null |
267 |
@@ -1,63 +0,0 @@ |
268 |
-# Copyright 1999-2015 Gentoo Foundation |
269 |
-# Distributed under the terms of the GNU General Public License v2 |
270 |
-# $Id$ |
271 |
- |
272 |
-EAPI=5 |
273 |
- |
274 |
-PYTHON_COMPAT=( python2_7 python3_{3,4,5} ) |
275 |
-PYTHON_REQ_USE="threads(+)" |
276 |
- |
277 |
-inherit distutils-r1 flag-o-matic toolchain-funcs |
278 |
- |
279 |
-MY_PN="Cython" |
280 |
-MY_P="${MY_PN}-${PV/_/}" |
281 |
- |
282 |
-DESCRIPTION="A Python to C compiler" |
283 |
-HOMEPAGE="http://www.cython.org/ https://pypi.python.org/pypi/Cython" |
284 |
-SRC_URI="http://www.cython.org/release/${MY_P}.tar.gz" |
285 |
- |
286 |
-LICENSE="Apache-2.0" |
287 |
-SLOT="0" |
288 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
289 |
-IUSE="doc examples test" |
290 |
- |
291 |
-RDEPEND="" |
292 |
-# On testing, setuptools invokes an error in running the testsuite cited in a number of recent bugs |
293 |
-# spanning several packages. This bug has been fixed in the recent release of version 9.1 |
294 |
-DEPEND="${RDEPEND} |
295 |
- >=dev-python/setuptools-9.1[${PYTHON_USEDEP}] |
296 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
297 |
- test? ( dev-python/numpy[${PYTHON_USEDEP}] )" |
298 |
- |
299 |
-S="${WORKDIR}/${MY_PN}-${PV%_*}" |
300 |
- |
301 |
-python_compile() { |
302 |
- if ! python_is_python3; then |
303 |
- local CFLAGS="${CFLAGS}" |
304 |
- local CXXFLAGS="${CXXFLAGS}" |
305 |
- append-flags -fno-strict-aliasing |
306 |
- fi |
307 |
- |
308 |
- # Python gets confused when it is in sys.path before build. |
309 |
- local PYTHONPATH= |
310 |
- export PYTHONPATH |
311 |
- |
312 |
- distutils-r1_python_compile |
313 |
-} |
314 |
- |
315 |
-python_compile_all() { |
316 |
- use doc && unset XDG_CONFIG_HOME && emake -C docs html |
317 |
-} |
318 |
- |
319 |
-python_test() { |
320 |
- tc-export CC |
321 |
- "${PYTHON}" runtests.py -vv --work-dir "${BUILD_DIR}"/tests \ |
322 |
- || die "Tests fail with ${EPYTHON}" |
323 |
-} |
324 |
- |
325 |
-python_install_all() { |
326 |
- local DOCS=( CHANGES.rst README.txt ToDo.txt USAGE.txt ) |
327 |
- use doc && local HTML_DOCS=( docs/build/html/. ) |
328 |
- use examples && local EXAMPLES=( Demos/. ) |
329 |
- distutils-r1_python_install_all |
330 |
-} |
331 |
|
332 |
diff --git a/dev-python/cython/cython-0.23.5.ebuild b/dev-python/cython/cython-0.23.5.ebuild |
333 |
deleted file mode 100644 |
334 |
index 7bf82a9..00000000 |
335 |
--- a/dev-python/cython/cython-0.23.5.ebuild |
336 |
+++ /dev/null |
337 |
@@ -1,82 +0,0 @@ |
338 |
-# Copyright 1999-2016 Gentoo Foundation |
339 |
-# Distributed under the terms of the GNU General Public License v2 |
340 |
-# $Id$ |
341 |
- |
342 |
-EAPI=5 |
343 |
- |
344 |
-PYTHON_COMPAT=( python2_7 python3_{3,4,5} ) |
345 |
-PYTHON_REQ_USE="threads(+)" |
346 |
- |
347 |
-inherit distutils-r1 flag-o-matic toolchain-funcs elisp-common |
348 |
- |
349 |
-MY_PN="Cython" |
350 |
-MY_P="${MY_PN}-${PV/_/}" |
351 |
- |
352 |
-DESCRIPTION="A Python to C compiler" |
353 |
-HOMEPAGE="http://www.cython.org/ https://pypi.python.org/pypi/Cython" |
354 |
-SRC_URI="http://www.cython.org/release/${MY_P}.tar.gz" |
355 |
- |
356 |
-LICENSE="Apache-2.0" |
357 |
-SLOT="0" |
358 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
359 |
- |
360 |
-IUSE="doc examples emacs test" |
361 |
- |
362 |
-RDEPEND=" |
363 |
- emacs? ( virtual/emacs ) |
364 |
-" |
365 |
-# On testing, setuptools invokes an error in running the testsuite cited in a number of recent bugs |
366 |
-# spanning several packages. This bug has been fixed in the recent release of version 9.1 |
367 |
-DEPEND="${RDEPEND} |
368 |
- >=dev-python/setuptools-9.1[${PYTHON_USEDEP}] |
369 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
370 |
- test? ( dev-python/numpy[${PYTHON_USEDEP}] )" |
371 |
- |
372 |
-SITEFILE=50cython-gentoo.el |
373 |
-S="${WORKDIR}/${MY_PN}-${PV%_*}" |
374 |
- |
375 |
-python_compile() { |
376 |
- if ! python_is_python3; then |
377 |
- local CFLAGS="${CFLAGS}" |
378 |
- local CXXFLAGS="${CXXFLAGS}" |
379 |
- append-flags -fno-strict-aliasing |
380 |
- fi |
381 |
- |
382 |
- # Python gets confused when it is in sys.path before build. |
383 |
- local PYTHONPATH= |
384 |
- export PYTHONPATH |
385 |
- |
386 |
- distutils-r1_python_compile |
387 |
-} |
388 |
- |
389 |
-python_compile_all() { |
390 |
- use emacs && elisp-compile Tools/cython-mode.el |
391 |
- |
392 |
- use doc && unset XDG_CONFIG_HOME && emake -C docs html |
393 |
-} |
394 |
- |
395 |
-python_test() { |
396 |
- tc-export CC |
397 |
- "${PYTHON}" runtests.py -vv --work-dir "${BUILD_DIR}"/tests \ |
398 |
- || die "Tests fail with ${EPYTHON}" |
399 |
-} |
400 |
- |
401 |
-python_install_all() { |
402 |
- local DOCS=( CHANGES.rst README.txt ToDo.txt USAGE.txt ) |
403 |
- use doc && local HTML_DOCS=( docs/build/html/. ) |
404 |
- use examples && local EXAMPLES=( Demos/. ) |
405 |
- distutils-r1_python_install_all |
406 |
- |
407 |
- if use emacs; then |
408 |
- elisp-install ${PN} Tools/cython-mode.* |
409 |
- elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
410 |
- fi |
411 |
-} |
412 |
- |
413 |
-pkg_postinst() { |
414 |
- use emacs && elisp-site-regen |
415 |
-} |
416 |
- |
417 |
-pkg_postrm() { |
418 |
- use emacs && elisp-site-regen |
419 |
-} |
420 |
|
421 |
diff --git a/dev-python/cython/cython-0.24.ebuild b/dev-python/cython/cython-0.24.ebuild |
422 |
deleted file mode 100644 |
423 |
index d148fe3..00000000 |
424 |
--- a/dev-python/cython/cython-0.24.ebuild |
425 |
+++ /dev/null |
426 |
@@ -1,81 +0,0 @@ |
427 |
-# Copyright 1999-2016 Gentoo Foundation |
428 |
-# Distributed under the terms of the GNU General Public License v2 |
429 |
-# $Id$ |
430 |
- |
431 |
-EAPI=6 |
432 |
- |
433 |
-PYTHON_COMPAT=( python2_7 python3_{3,4,5} ) |
434 |
-PYTHON_REQ_USE="threads(+)" |
435 |
- |
436 |
-inherit distutils-r1 flag-o-matic toolchain-funcs elisp-common |
437 |
- |
438 |
-MY_PN="Cython" |
439 |
-MY_P="${MY_PN}-${PV/_/}" |
440 |
- |
441 |
-DESCRIPTION="A Python to C compiler" |
442 |
-HOMEPAGE="http://cython.org https://pypi.python.org/pypi/Cython" |
443 |
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
444 |
- |
445 |
-LICENSE="Apache-2.0" |
446 |
-SLOT="0" |
447 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" |
448 |
- |
449 |
-IUSE="doc emacs test" |
450 |
- |
451 |
-RDEPEND=" |
452 |
- emacs? ( virtual/emacs ) |
453 |
-" |
454 |
-# On testing, setuptools invokes an error in running the testsuite cited in a number of recent bugs |
455 |
-# spanning several packages. This bug has been fixed in the recent release of version 9.1 |
456 |
-DEPEND="${RDEPEND} |
457 |
- >=dev-python/setuptools-9.1[${PYTHON_USEDEP}] |
458 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
459 |
- test? ( dev-python/numpy[${PYTHON_USEDEP}] )" |
460 |
- |
461 |
-SITEFILE=50cython-gentoo.el |
462 |
-S="${WORKDIR}/${MY_PN}-${PV%_*}" |
463 |
- |
464 |
-python_compile() { |
465 |
- if ! python_is_python3; then |
466 |
- local CFLAGS="${CFLAGS}" |
467 |
- local CXXFLAGS="${CXXFLAGS}" |
468 |
- append-flags -fno-strict-aliasing |
469 |
- fi |
470 |
- |
471 |
- # Python gets confused when it is in sys.path before build. |
472 |
- local PYTHONPATH= |
473 |
- export PYTHONPATH |
474 |
- |
475 |
- distutils-r1_python_compile |
476 |
-} |
477 |
- |
478 |
-python_compile_all() { |
479 |
- use emacs && elisp-compile Tools/cython-mode.el |
480 |
- |
481 |
- use doc && unset XDG_CONFIG_HOME && emake -C docs html |
482 |
-} |
483 |
- |
484 |
-python_test() { |
485 |
- tc-export CC |
486 |
- "${PYTHON}" runtests.py -vv --work-dir "${BUILD_DIR}"/tests \ |
487 |
- || die "Tests fail with ${EPYTHON}" |
488 |
-} |
489 |
- |
490 |
-python_install_all() { |
491 |
- local DOCS=( CHANGES.rst README.txt ToDo.txt USAGE.txt ) |
492 |
- use doc && local HTML_DOCS=( docs/build/html/. ) |
493 |
- distutils-r1_python_install_all |
494 |
- |
495 |
- if use emacs; then |
496 |
- elisp-install ${PN} Tools/cython-mode.* |
497 |
- elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
498 |
- fi |
499 |
-} |
500 |
- |
501 |
-pkg_postinst() { |
502 |
- use emacs && elisp-site-regen |
503 |
-} |
504 |
- |
505 |
-pkg_postrm() { |
506 |
- use emacs && elisp-site-regen |
507 |
-} |