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/cython/
Date: Wed, 03 Jan 2018 09:11:59
Message-Id: 1514970680.648a474f90e8f7983ac6107cfba52aef20d62d3c.mgorny@gentoo
1 commit: 648a474f90e8f7983ac6107cfba52aef20d62d3c
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 2 22:49:59 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 3 09:11:20 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=648a474f
7
8 dev-python/cython: Clean old up
9
10 dev-python/cython/Manifest | 3 --
11 dev-python/cython/cython-0.22.ebuild | 62 --------------------------
12 dev-python/cython/cython-0.24.1.ebuild | 80 ----------------------------------
13 dev-python/cython/cython-0.26.ebuild | 80 ----------------------------------
14 4 files changed, 225 deletions(-)
15
16 diff --git a/dev-python/cython/Manifest b/dev-python/cython/Manifest
17 index 98b55c14e49..7bdb79ba883 100644
18 --- a/dev-python/cython/Manifest
19 +++ b/dev-python/cython/Manifest
20 @@ -1,5 +1,2 @@
21 -DIST Cython-0.22.tar.gz 1584483 BLAKE2B a221a922c6e22450499269c8756063a22259f21b8b422e72aede6fa80e6154ab36b4f94e54e246756d89b86c1f730d47ad2c7350ecfa61b26f57f4e40988895e SHA512 856220fa579e272ac38dcef091760f527431ff3b98df9af6e68416fcf77d9659ac5abe5c7dee41331f359614637a4ff452033085335ee499830ed126ab584267
22 -DIST Cython-0.24.1.tar.gz 1703756 BLAKE2B 92b1646d874adfd0a56cf9464f93e6215ee3be72693c814e2748abd6113362370e84af20941e92e10cac4311c4af822f899d8659975d5d9e398f969c1f746a3f SHA512 c5a3e884edd782c47c81aef29708035bbcd1c14d17e005668da8a4e26fdbba9af9ec283fd46ceaa2cab6fc4ec0d42f7d409832d7cc0a3ec00e84b968b1bf27ea
23 DIST Cython-0.25.2.tar.gz 1703315 BLAKE2B e458604d0843afa128c6019244220bd6b3dd6653013698aa67ee2f71555f09813a8136ef92d6dc51ca38fe085e7bedc5e01d1a32bbd0885e62bd91c2e482bebd SHA512 1974b9374aeedb030307dc95aa6560ce9d5e1652783cd4552e96ef11663c73dd263e3521b68e7712abbb31628011e2e66320c5ee2577968684e2679eb80726e1
24 DIST Cython-0.26.1.tar.gz 1725133 BLAKE2B b2c0433e8154ad76d921677608cae42a793326015ff320d8cd61818e5eb5fb4daf73ad4e72760d84f4cdaa2386b87d719cf9cd41584b781d4e2021e377a58422 SHA512 cdf31afaba78209c37a224345471c5c822b78c6d26c51583c46669b6b2b57b4952b33a839a51d06c3330fdff889345ac611fbaa2b2f17498cb02f3b5675f7948
25 -DIST Cython-0.26.tar.gz 1692039 BLAKE2B ff1c6366dd224de31de373b341add34dfc2e3d9ef01ecf438b03aa96e7fca144ba4b68b90589f2ebf7bb6cd61f1e0166019bfac4a7b240950a6ba8a4bd626af8 SHA512 58b7dbdca3b1bdfcb8b968cb1b59826b793656bb7f1203a80b59b3fae2d3174cc99f19f88fc2ec175aa98c9daeca0eb3c52674a7889ba1e914fd20d19ef92aed
26
27 diff --git a/dev-python/cython/cython-0.22.ebuild b/dev-python/cython/cython-0.22.ebuild
28 deleted file mode 100644
29 index ad25b03c695..00000000000
30 --- a/dev-python/cython/cython-0.22.ebuild
31 +++ /dev/null
32 @@ -1,62 +0,0 @@
33 -# Copyright 1999-2017 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=5
37 -
38 -PYTHON_COMPAT=( python{2_7,3_4} )
39 -PYTHON_REQ_USE="threads(+)"
40 -
41 -inherit distutils-r1 flag-o-matic toolchain-funcs
42 -
43 -MY_PN="Cython"
44 -MY_P="${MY_PN}-${PV/_/}"
45 -
46 -DESCRIPTION="A Python to C compiler"
47 -HOMEPAGE="http://www.cython.org/ https://pypi.python.org/pypi/Cython"
48 -SRC_URI="http://www.cython.org/release/${MY_P}.tar.gz"
49 -
50 -LICENSE="Apache-2.0"
51 -SLOT="0"
52 -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"
53 -IUSE="doc examples test"
54 -
55 -RDEPEND=""
56 -# On testing, setuptools invokes an error in running the testsuite cited in a number of recent bugs
57 -# spanning several packages. This bug has been fixed in the recent release of version 9.1
58 -DEPEND="${RDEPEND}
59 - >=dev-python/setuptools-9.1[${PYTHON_USEDEP}]
60 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
61 - test? ( dev-python/numpy[${PYTHON_USEDEP}] )"
62 -
63 -S="${WORKDIR}/${MY_PN}-${PV%_*}"
64 -
65 -python_compile() {
66 - if ! python_is_python3; then
67 - local CFLAGS="${CFLAGS}"
68 - local CXXFLAGS="${CXXFLAGS}"
69 - append-flags -fno-strict-aliasing
70 - fi
71 -
72 - # Python gets confused when it is in sys.path before build.
73 - local PYTHONPATH=
74 - export PYTHONPATH
75 -
76 - distutils-r1_python_compile
77 -}
78 -
79 -python_compile_all() {
80 - use doc && unset XDG_CONFIG_HOME && emake -C docs html
81 -}
82 -
83 -python_test() {
84 - tc-export CC
85 - "${PYTHON}" runtests.py -vv --work-dir "${BUILD_DIR}"/tests \
86 - || die "Tests fail with ${EPYTHON}"
87 -}
88 -
89 -python_install_all() {
90 - local DOCS=( CHANGES.rst README.txt ToDo.txt USAGE.txt )
91 - use doc && local HTML_DOCS=( docs/build/html/. )
92 - use examples && local EXAMPLES=( Demos/. )
93 - distutils-r1_python_install_all
94 -}
95
96 diff --git a/dev-python/cython/cython-0.24.1.ebuild b/dev-python/cython/cython-0.24.1.ebuild
97 deleted file mode 100644
98 index 1b46d1f93fd..00000000000
99 --- a/dev-python/cython/cython-0.24.1.ebuild
100 +++ /dev/null
101 @@ -1,80 +0,0 @@
102 -# Copyright 1999-2017 Gentoo Foundation
103 -# Distributed under the terms of the GNU General Public License v2
104 -
105 -EAPI=6
106 -
107 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
108 -PYTHON_REQ_USE="threads(+)"
109 -
110 -inherit distutils-r1 flag-o-matic toolchain-funcs elisp-common
111 -
112 -MY_PN="Cython"
113 -MY_P="${MY_PN}-${PV/_/}"
114 -
115 -DESCRIPTION="A Python to C compiler"
116 -HOMEPAGE="http://cython.org https://pypi.python.org/pypi/Cython"
117 -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
118 -
119 -LICENSE="Apache-2.0"
120 -SLOT="0"
121 -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"
122 -
123 -IUSE="doc emacs test"
124 -
125 -RDEPEND="
126 - emacs? ( virtual/emacs )
127 -"
128 -# On testing, setuptools invokes an error in running the testsuite cited in a number of recent bugs
129 -# spanning several packages. This bug has been fixed in the recent release of version 9.1
130 -DEPEND="${RDEPEND}
131 - >=dev-python/setuptools-9.1[${PYTHON_USEDEP}]
132 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
133 - test? ( dev-python/numpy[${PYTHON_USEDEP}] )"
134 -
135 -SITEFILE=50cython-gentoo.el
136 -S="${WORKDIR}/${MY_PN}-${PV%_*}"
137 -
138 -python_compile() {
139 - if ! python_is_python3; then
140 - local CFLAGS="${CFLAGS}"
141 - local CXXFLAGS="${CXXFLAGS}"
142 - append-flags -fno-strict-aliasing
143 - fi
144 -
145 - # Python gets confused when it is in sys.path before build.
146 - local PYTHONPATH=
147 - export PYTHONPATH
148 -
149 - distutils-r1_python_compile
150 -}
151 -
152 -python_compile_all() {
153 - use emacs && elisp-compile Tools/cython-mode.el
154 -
155 - use doc && unset XDG_CONFIG_HOME && emake -C docs html
156 -}
157 -
158 -python_test() {
159 - tc-export CC
160 - "${PYTHON}" runtests.py -vv --work-dir "${BUILD_DIR}"/tests \
161 - || die "Tests fail with ${EPYTHON}"
162 -}
163 -
164 -python_install_all() {
165 - local DOCS=( CHANGES.rst README.txt ToDo.txt USAGE.txt )
166 - use doc && local HTML_DOCS=( docs/build/html/. )
167 - distutils-r1_python_install_all
168 -
169 - if use emacs; then
170 - elisp-install ${PN} Tools/cython-mode.*
171 - elisp-site-file-install "${FILESDIR}/${SITEFILE}"
172 - fi
173 -}
174 -
175 -pkg_postinst() {
176 - use emacs && elisp-site-regen
177 -}
178 -
179 -pkg_postrm() {
180 - use emacs && elisp-site-regen
181 -}
182
183 diff --git a/dev-python/cython/cython-0.26.ebuild b/dev-python/cython/cython-0.26.ebuild
184 deleted file mode 100644
185 index 7599fb5e7e1..00000000000
186 --- a/dev-python/cython/cython-0.26.ebuild
187 +++ /dev/null
188 @@ -1,80 +0,0 @@
189 -# Copyright 1999-2017 Gentoo Foundation
190 -# Distributed under the terms of the GNU General Public License v2
191 -
192 -EAPI=6
193 -
194 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
195 -PYTHON_REQ_USE="threads(+)"
196 -
197 -inherit distutils-r1 flag-o-matic toolchain-funcs elisp-common
198 -
199 -MY_PN="Cython"
200 -MY_P="${MY_PN}-${PV/_/}"
201 -
202 -DESCRIPTION="A Python to C compiler"
203 -HOMEPAGE="http://cython.org https://pypi.python.org/pypi/Cython"
204 -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
205 -
206 -LICENSE="Apache-2.0"
207 -SLOT="0"
208 -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"
209 -
210 -IUSE="doc emacs test"
211 -
212 -RDEPEND="
213 - emacs? ( virtual/emacs )
214 -"
215 -# On testing, setuptools invokes an error in running the testsuite cited in a number of recent bugs
216 -# spanning several packages. This bug has been fixed in the recent release of version 9.1
217 -DEPEND="${RDEPEND}
218 - >=dev-python/setuptools-9.1[${PYTHON_USEDEP}]
219 - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
220 - test? ( dev-python/numpy[${PYTHON_USEDEP}] )"
221 -
222 -SITEFILE=50cython-gentoo.el
223 -S="${WORKDIR}/${MY_PN}-${PV%_*}"
224 -
225 -python_compile() {
226 - if ! python_is_python3; then
227 - local CFLAGS="${CFLAGS}"
228 - local CXXFLAGS="${CXXFLAGS}"
229 - append-flags -fno-strict-aliasing
230 - fi
231 -
232 - # Python gets confused when it is in sys.path before build.
233 - local PYTHONPATH=
234 - export PYTHONPATH
235 -
236 - distutils-r1_python_compile
237 -}
238 -
239 -python_compile_all() {
240 - use emacs && elisp-compile Tools/cython-mode.el
241 -
242 - use doc && unset XDG_CONFIG_HOME && emake -C docs html
243 -}
244 -
245 -python_test() {
246 - tc-export CC
247 - "${PYTHON}" runtests.py -vv --work-dir "${BUILD_DIR}"/tests \
248 - || die "Tests fail with ${EPYTHON}"
249 -}
250 -
251 -python_install_all() {
252 - local DOCS=( CHANGES.rst README.txt ToDo.txt USAGE.txt )
253 - use doc && local HTML_DOCS=( docs/build/html/. )
254 - distutils-r1_python_install_all
255 -
256 - if use emacs; then
257 - elisp-install ${PN} Tools/cython-mode.*
258 - elisp-site-file-install "${FILESDIR}/${SITEFILE}"
259 - fi
260 -}
261 -
262 -pkg_postinst() {
263 - use emacs && elisp-site-regen
264 -}
265 -
266 -pkg_postrm() {
267 - use emacs && elisp-site-regen
268 -}