1 |
commit: cac4bdb1b2005f905d63c5615f4758c162080f8d |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 20 09:56:55 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 20 10:41:52 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cac4bdb1 |
7 |
|
8 |
dev-python/cython: Drop old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/cython/Manifest | 2 - |
13 |
dev-python/cython/cython-0.29.1.ebuild | 86 ---------------------------------- |
14 |
dev-python/cython/cython-0.29.ebuild | 86 ---------------------------------- |
15 |
3 files changed, 174 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/cython/Manifest b/dev-python/cython/Manifest |
18 |
index 00e37b280dc..904c609606c 100644 |
19 |
--- a/dev-python/cython/Manifest |
20 |
+++ b/dev-python/cython/Manifest |
21 |
@@ -1,7 +1,5 @@ |
22 |
DIST Cython-0.25.2.tar.gz 1703315 BLAKE2B e458604d0843afa128c6019244220bd6b3dd6653013698aa67ee2f71555f09813a8136ef92d6dc51ca38fe085e7bedc5e01d1a32bbd0885e62bd91c2e482bebd SHA512 1974b9374aeedb030307dc95aa6560ce9d5e1652783cd4552e96ef11663c73dd263e3521b68e7712abbb31628011e2e66320c5ee2577968684e2679eb80726e1 |
23 |
DIST Cython-0.26.1.tar.gz 1725133 BLAKE2B b2c0433e8154ad76d921677608cae42a793326015ff320d8cd61818e5eb5fb4daf73ad4e72760d84f4cdaa2386b87d719cf9cd41584b781d4e2021e377a58422 SHA512 cdf31afaba78209c37a224345471c5c822b78c6d26c51583c46669b6b2b57b4952b33a839a51d06c3330fdff889345ac611fbaa2b2f17498cb02f3b5675f7948 |
24 |
DIST Cython-0.28.4.tar.gz 1880943 BLAKE2B a97314147294c95fa0bd6d3fa1a1315d81f8abb46a1f2196009c1ef6f0dd7f47f81a7b31ab81d1fd00e8de37878a18a22d225055181ee74ffe4cc8105d84cd75 SHA512 67d2da2d776fc02193cfe98c8942e93905ec5e30bf4e0f9d5c965d930a034936d4c29c8248fccefff5db6d4dee054ec854994bea63fa3f64ff65df7550997c29 |
25 |
-DIST Cython-0.29.1.tar.gz 2040434 BLAKE2B b6f30f8263d6130efaf9bbbdf0008725161e5182730aa072ab3d16bc830dd2bfdb24fb89c95a113b65efab52ade47572d80d007f900d2ddf5415c69582d618e4 SHA512 f5b97fed6f4f1131cf43504df797d2e87c343f17d49b661747f26040eb171603b29444beb04043b1e61aa347a8a8a2e8d53c2e2c6d8a8108866f153bc7d51b6b |
26 |
DIST Cython-0.29.2.tar.gz 2041500 BLAKE2B 9edf4297e55b5de438fb79bdbfb4b1468af8b72e5556b38b9349b84fd9b917a56bc295b11e2c8938984fbd47099d4938450fac225c94687c1b3dab2749f72232 SHA512 d553dbb35b0841ca64d03fae3157e3a46248f16f14a1b75bbae979ca74a5fa89f85fa254a442a34314fe385d0aef7afa8c75b7f82662b37f7eeccd82e1404603 |
27 |
DIST Cython-0.29.3.tar.gz 2042466 BLAKE2B 6ea5b59d99875c65afb041b8ea091d7d5b191504bcbe247eb770d5696607b69df6c3565235fdb523824629011058eec22417ea0c0a1031c30876170559add4d7 SHA512 b23a8a1a05f40ad69c740b93d5372e920ab69f586d5109b119d9c4d72a3d95fa4f9ecb13a4f18bc93b474d385b5c8db002dd1ffe03e5b040612958556283a940 |
28 |
-DIST Cython-0.29.tar.gz 2037177 BLAKE2B 30c08f257caf8f1b8ac2cec7dd0a50250f614397979ddd8920b022ed8f34d38a32d4640b3c1fc8524f16dfbadb31ffdd6d216367bbf0a15b9dd69baa62c8f072 SHA512 f90249c12bb9c1f5b9bcecd66624516d6e255a8d321a5dada2ba4eda360c12623c64b391177e061eac7a37b24ec53f8098fc0e1b46065e69eb0766585f739ab6 |
29 |
|
30 |
diff --git a/dev-python/cython/cython-0.29.1.ebuild b/dev-python/cython/cython-0.29.1.ebuild |
31 |
deleted file mode 100644 |
32 |
index 930ba91157b..00000000000 |
33 |
--- a/dev-python/cython/cython-0.29.1.ebuild |
34 |
+++ /dev/null |
35 |
@@ -1,86 +0,0 @@ |
36 |
-# Copyright 1999-2018 Gentoo Foundation |
37 |
-# Distributed under the terms of the GNU General Public License v2 |
38 |
- |
39 |
-EAPI=7 |
40 |
- |
41 |
-PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} ) |
42 |
-PYTHON_REQ_USE="threads(+)" |
43 |
- |
44 |
-inherit distutils-r1 toolchain-funcs elisp-common |
45 |
- |
46 |
-MY_PN="Cython" |
47 |
-MY_P="${MY_PN}-${PV/_/}" |
48 |
- |
49 |
-DESCRIPTION="A Python to C compiler" |
50 |
-HOMEPAGE="http://cython.org https://pypi.org/project/Cython/" |
51 |
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
52 |
- |
53 |
-LICENSE="Apache-2.0" |
54 |
-SLOT="0" |
55 |
-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" |
56 |
- |
57 |
-IUSE="doc emacs test" |
58 |
- |
59 |
-RDEPEND=" |
60 |
- emacs? ( virtual/emacs ) |
61 |
-" |
62 |
-DEPEND="${RDEPEND} |
63 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
64 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
65 |
- test? ( dev-python/numpy[${PYTHON_USEDEP}] )" |
66 |
- |
67 |
-SITEFILE=50cython-gentoo.el |
68 |
-S="${WORKDIR}/${MY_PN}-${PV%_*}" |
69 |
- |
70 |
-python_prepare_all() { |
71 |
- # tests behavior that is illegal in Python 3.7+ |
72 |
- # https://github.com/cython/cython/issues/2454 |
73 |
- sed -i -e '/with_outer_raising/,/return/d' tests/run/generators_py.py || die |
74 |
- |
75 |
- distutils-r1_python_prepare_all |
76 |
-} |
77 |
- |
78 |
-python_compile() { |
79 |
- if ! python_is_python3; then |
80 |
- local CFLAGS="${CFLAGS} -fno-strict-aliasing" |
81 |
- local CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing" |
82 |
- fi |
83 |
- |
84 |
- # Python gets confused when it is in sys.path before build. |
85 |
- local -x PYTHONPATH= |
86 |
- |
87 |
- distutils-r1_python_compile |
88 |
-} |
89 |
- |
90 |
-python_compile_all() { |
91 |
- use emacs && elisp-compile Tools/cython-mode.el |
92 |
- |
93 |
- use doc && emake -C docs html |
94 |
-} |
95 |
- |
96 |
-python_test() { |
97 |
- tc-export CC |
98 |
- # https://github.com/cython/cython/issues/1911 |
99 |
- local -x CFLAGS="${CFLAGS} -fno-strict-overflow" |
100 |
- "${PYTHON}" runtests.py -vv --work-dir "${BUILD_DIR}"/tests \ |
101 |
- || die "Tests fail with ${EPYTHON}" |
102 |
-} |
103 |
- |
104 |
-python_install_all() { |
105 |
- local DOCS=( CHANGES.rst README.rst ToDo.txt USAGE.txt ) |
106 |
- use doc && local HTML_DOCS=( docs/build/html/. ) |
107 |
- distutils-r1_python_install_all |
108 |
- |
109 |
- if use emacs; then |
110 |
- elisp-install ${PN} Tools/cython-mode.* |
111 |
- elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
112 |
- fi |
113 |
-} |
114 |
- |
115 |
-pkg_postinst() { |
116 |
- use emacs && elisp-site-regen |
117 |
-} |
118 |
- |
119 |
-pkg_postrm() { |
120 |
- use emacs && elisp-site-regen |
121 |
-} |
122 |
|
123 |
diff --git a/dev-python/cython/cython-0.29.ebuild b/dev-python/cython/cython-0.29.ebuild |
124 |
deleted file mode 100644 |
125 |
index 930ba91157b..00000000000 |
126 |
--- a/dev-python/cython/cython-0.29.ebuild |
127 |
+++ /dev/null |
128 |
@@ -1,86 +0,0 @@ |
129 |
-# Copyright 1999-2018 Gentoo Foundation |
130 |
-# Distributed under the terms of the GNU General Public License v2 |
131 |
- |
132 |
-EAPI=7 |
133 |
- |
134 |
-PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} ) |
135 |
-PYTHON_REQ_USE="threads(+)" |
136 |
- |
137 |
-inherit distutils-r1 toolchain-funcs elisp-common |
138 |
- |
139 |
-MY_PN="Cython" |
140 |
-MY_P="${MY_PN}-${PV/_/}" |
141 |
- |
142 |
-DESCRIPTION="A Python to C compiler" |
143 |
-HOMEPAGE="http://cython.org https://pypi.org/project/Cython/" |
144 |
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
145 |
- |
146 |
-LICENSE="Apache-2.0" |
147 |
-SLOT="0" |
148 |
-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" |
149 |
- |
150 |
-IUSE="doc emacs test" |
151 |
- |
152 |
-RDEPEND=" |
153 |
- emacs? ( virtual/emacs ) |
154 |
-" |
155 |
-DEPEND="${RDEPEND} |
156 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
157 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
158 |
- test? ( dev-python/numpy[${PYTHON_USEDEP}] )" |
159 |
- |
160 |
-SITEFILE=50cython-gentoo.el |
161 |
-S="${WORKDIR}/${MY_PN}-${PV%_*}" |
162 |
- |
163 |
-python_prepare_all() { |
164 |
- # tests behavior that is illegal in Python 3.7+ |
165 |
- # https://github.com/cython/cython/issues/2454 |
166 |
- sed -i -e '/with_outer_raising/,/return/d' tests/run/generators_py.py || die |
167 |
- |
168 |
- distutils-r1_python_prepare_all |
169 |
-} |
170 |
- |
171 |
-python_compile() { |
172 |
- if ! python_is_python3; then |
173 |
- local CFLAGS="${CFLAGS} -fno-strict-aliasing" |
174 |
- local CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing" |
175 |
- fi |
176 |
- |
177 |
- # Python gets confused when it is in sys.path before build. |
178 |
- local -x PYTHONPATH= |
179 |
- |
180 |
- distutils-r1_python_compile |
181 |
-} |
182 |
- |
183 |
-python_compile_all() { |
184 |
- use emacs && elisp-compile Tools/cython-mode.el |
185 |
- |
186 |
- use doc && emake -C docs html |
187 |
-} |
188 |
- |
189 |
-python_test() { |
190 |
- tc-export CC |
191 |
- # https://github.com/cython/cython/issues/1911 |
192 |
- local -x CFLAGS="${CFLAGS} -fno-strict-overflow" |
193 |
- "${PYTHON}" runtests.py -vv --work-dir "${BUILD_DIR}"/tests \ |
194 |
- || die "Tests fail with ${EPYTHON}" |
195 |
-} |
196 |
- |
197 |
-python_install_all() { |
198 |
- local DOCS=( CHANGES.rst README.rst ToDo.txt USAGE.txt ) |
199 |
- use doc && local HTML_DOCS=( docs/build/html/. ) |
200 |
- distutils-r1_python_install_all |
201 |
- |
202 |
- if use emacs; then |
203 |
- elisp-install ${PN} Tools/cython-mode.* |
204 |
- elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
205 |
- fi |
206 |
-} |
207 |
- |
208 |
-pkg_postinst() { |
209 |
- use emacs && elisp-site-regen |
210 |
-} |
211 |
- |
212 |
-pkg_postrm() { |
213 |
- use emacs && elisp-site-regen |
214 |
-} |