1 |
commit: 9fb7fa411cc317988b890ae551aa1fce0e4155d6 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 20 13:15:20 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 20 13:17:44 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fb7fa41 |
7 |
|
8 |
sci-libs/scipy-python2: Remove last-rited pkg |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
profiles/package.mask | 1 - |
13 |
sci-libs/scipy-python2/Manifest | 2 - |
14 |
sci-libs/scipy-python2/metadata.xml | 23 ---- |
15 |
sci-libs/scipy-python2/scipy-python2-1.1.0.ebuild | 128 --------------------- |
16 |
sci-libs/scipy-python2/scipy-python2-1.2.3.ebuild | 129 ---------------------- |
17 |
5 files changed, 283 deletions(-) |
18 |
|
19 |
diff --git a/profiles/package.mask b/profiles/package.mask |
20 |
index 6e68c215f93..c5a8775a707 100644 |
21 |
--- a/profiles/package.mask |
22 |
+++ b/profiles/package.mask |
23 |
@@ -821,7 +821,6 @@ sys-cluster/kube-scheduler |
24 |
<media-plugins/mythplugins-31 |
25 |
net-print/pkpgcounter |
26 |
<sci-chemistry/chemex-2018 |
27 |
-sci-libs/scipy-python2 |
28 |
|
29 |
# Jonas Stein <jstein@g.o> (2020-07-04) |
30 |
# Last rite, dead upstream, several open bugs. |
31 |
|
32 |
diff --git a/sci-libs/scipy-python2/Manifest b/sci-libs/scipy-python2/Manifest |
33 |
deleted file mode 100644 |
34 |
index f554d62f88c..00000000000 |
35 |
--- a/sci-libs/scipy-python2/Manifest |
36 |
+++ /dev/null |
37 |
@@ -1,2 +0,0 @@ |
38 |
-DIST scipy-1.1.0.tar.gz 15583560 BLAKE2B 477753e622ee26a3bc8c2cb6829410152df84b29ce17a6d53a66348f5536f7993fedf5d32b782405b54b3af3feabf9bc91c381ed39546076849c2fdb71039404 SHA512 72fe32c6c009613cb78202598e5db14f8e630b3218839cfe18d43d40550d94cc5aa100c6f5d41f40e86ae148e9b6a13431bb91b0f9be44b0569ccd7b725fe973 |
39 |
-DIST scipy-1.2.3.tar.gz 23335997 BLAKE2B 183a0e8266a6fa08ca4fa05511d28f51a5ff9b3e8d00c24a355d2db00327eb973befbefbcf47cb288aafd60718db903ac29f775f519484a7c6d0919693c0a21f SHA512 d7739fa2f25689fc14ddf09477207c990b39b593a85f5c74687df1ffe097f6eee1bb2123aaa286189309f6d3b25cdd7757053d8b1008d1d6b3367a8e3a0a53b1 |
40 |
|
41 |
diff --git a/sci-libs/scipy-python2/metadata.xml b/sci-libs/scipy-python2/metadata.xml |
42 |
deleted file mode 100644 |
43 |
index 2425e896a8a..00000000000 |
44 |
--- a/sci-libs/scipy-python2/metadata.xml |
45 |
+++ /dev/null |
46 |
@@ -1,23 +0,0 @@ |
47 |
-<?xml version="1.0" encoding="UTF-8"?> |
48 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
49 |
-<pkgmetadata> |
50 |
- <maintainer type="project"> |
51 |
- <email>sci@g.o</email> |
52 |
- <name>Gentoo Science Project</name> |
53 |
- </maintainer> |
54 |
- <longdescription lang="en"> |
55 |
- SciPy is an open source library of scientific tools for Python. SciPy |
56 |
- supplements the popular numpy module, gathering a variety of high level |
57 |
- science and engineering modules together as a single package. |
58 |
- SciPy includes modules for graphics and plotting, optimization, |
59 |
- integration, special functions, signal and image processing, genetic |
60 |
- algorithms, ODE solvers, and others. |
61 |
- </longdescription> |
62 |
- <use> |
63 |
- <flag name="sparse">Adds support for sparse solving with <pkg>sci-libs/umfpack</pkg></flag> |
64 |
- </use> |
65 |
- <upstream> |
66 |
- <remote-id type="pypi">scipy</remote-id> |
67 |
- <remote-id type="sourceforge">scipy</remote-id> |
68 |
- </upstream> |
69 |
-</pkgmetadata> |
70 |
|
71 |
diff --git a/sci-libs/scipy-python2/scipy-python2-1.1.0.ebuild b/sci-libs/scipy-python2/scipy-python2-1.1.0.ebuild |
72 |
deleted file mode 100644 |
73 |
index 23d6871c6c3..00000000000 |
74 |
--- a/sci-libs/scipy-python2/scipy-python2-1.1.0.ebuild |
75 |
+++ /dev/null |
76 |
@@ -1,128 +0,0 @@ |
77 |
-# Copyright 1999-2020 Gentoo Authors |
78 |
-# Distributed under the terms of the GNU General Public License v2 |
79 |
- |
80 |
-EAPI=6 |
81 |
- |
82 |
-PYTHON_COMPAT=( python2_7 ) |
83 |
-PYTHON_REQ_USE="threads(+)" |
84 |
- |
85 |
-inherit fortran-2 distutils-r1 flag-o-matic multiprocessing toolchain-funcs |
86 |
- |
87 |
-MY_PN=${PN/-python2} |
88 |
-MY_P=${MY_PN}-${PV} |
89 |
- |
90 |
-DESCRIPTION="Scientific algorithms library for Python (py2 version)" |
91 |
-HOMEPAGE="https://www.scipy.org/" |
92 |
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
93 |
-S=${WORKDIR}/${MY_P} |
94 |
- |
95 |
-LICENSE="BSD LGPL-2" |
96 |
-SLOT="0" |
97 |
-IUSE="sparse test" |
98 |
-RESTRICT="!test? ( test )" |
99 |
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
100 |
- |
101 |
-CDEPEND=" |
102 |
- || ( |
103 |
- >=dev-python/numpy-python2-1.10[lapack,${PYTHON_USEDEP}] |
104 |
- >=dev-python/numpy-1.10[lapack,${PYTHON_USEDEP}] |
105 |
- ) |
106 |
- sci-libs/arpack:0= |
107 |
- virtual/cblas |
108 |
- virtual/lapack |
109 |
- sparse? ( sci-libs/umfpack:0= )" |
110 |
-DEPEND="${CDEPEND} |
111 |
- dev-lang/swig |
112 |
- >=dev-python/cython-0.22[${PYTHON_USEDEP}] |
113 |
- >=dev-python/setuptools-36[${PYTHON_USEDEP}] |
114 |
- virtual/pkgconfig |
115 |
- test? ( |
116 |
- dev-python/nose[${PYTHON_USEDEP}] |
117 |
- dev-python/pytest[${PYTHON_USEDEP}] |
118 |
- )" |
119 |
-RDEPEND="${CDEPEND} |
120 |
- !<sci-libs/scipy-1.4 |
121 |
- dev-python/pillow[${PYTHON_USEDEP}]" |
122 |
- |
123 |
-DOCS=( HACKING.rst.txt THANKS.txt ) |
124 |
- |
125 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
126 |
- |
127 |
-pc_incdir() { |
128 |
- $(tc-getPKG_CONFIG) --cflags-only-I $@ | \ |
129 |
- sed -e 's/^-I//' -e 's/[ ]*-I/:/g' -e 's/[ ]*$//' -e 's|^:||' |
130 |
-} |
131 |
- |
132 |
-pc_libdir() { |
133 |
- $(tc-getPKG_CONFIG) --libs-only-L $@ | \ |
134 |
- sed -e 's/^-L//' -e 's/[ ]*-L/:/g' -e 's/[ ]*$//' -e 's|^:||' |
135 |
-} |
136 |
- |
137 |
-pc_libs() { |
138 |
- $(tc-getPKG_CONFIG) --libs-only-l $@ | \ |
139 |
- sed -e 's/[ ]-l*\(pthread\|m\)\([ ]\|$\)//g' \ |
140 |
- -e 's/^-l//' -e 's/[ ]*-l/,/g' -e 's/[ ]*$//' \ |
141 |
- | tr ',' '\n' | sort -u | tr '\n' ',' | sed -e 's|,$||' |
142 |
-} |
143 |
- |
144 |
-python_prepare_all() { |
145 |
- # scipy automatically detects libraries by default |
146 |
- export {FFTW,FFTW3,UMFPACK}=None |
147 |
- use sparse && unset UMFPACK |
148 |
- # the missing symbols are in -lpythonX.Y, but since the version can |
149 |
- # differ, we just introduce the same scaryness as on Linux/ELF |
150 |
- [[ ${CHOST} == *-darwin* ]] \ |
151 |
- && append-ldflags -bundle "-undefined dynamic_lookup" \ |
152 |
- || append-ldflags -shared |
153 |
- [[ -z ${FC} ]] && export FC="$(tc-getFC)" |
154 |
- # hack to force F77 to be FC until bug #278772 is fixed |
155 |
- [[ -z ${F77} ]] && export F77="$(tc-getFC)" |
156 |
- export F90="${FC}" |
157 |
- export SCIPY_FCONFIG="config_fc --noopt --noarch" |
158 |
- append-fflags -fPIC |
159 |
- |
160 |
- local libdir="${EPREFIX}"/usr/$(get_libdir) |
161 |
- cat >> site.cfg <<-EOF || die |
162 |
- [blas] |
163 |
- include_dirs = $(pc_incdir cblas) |
164 |
- library_dirs = $(pc_libdir cblas blas):${libdir} |
165 |
- blas_libs = $(pc_libs cblas blas) |
166 |
- [lapack] |
167 |
- library_dirs = $(pc_libdir lapack):${libdir} |
168 |
- lapack_libs = $(pc_libs lapack) |
169 |
- EOF |
170 |
- |
171 |
- # Drop hashes to force rebuild of cython based .c code |
172 |
- rm cythonize.dat || die |
173 |
- |
174 |
- distutils-r1_python_prepare_all |
175 |
-} |
176 |
- |
177 |
-python_compile() { |
178 |
- # FIXME: parallel python building fails, bug #614464 |
179 |
- ${EPYTHON} tools/cythonize.py || die |
180 |
- distutils-r1_python_compile \ |
181 |
- ${SCIPY_FCONFIG} |
182 |
-} |
183 |
- |
184 |
-python_test() { |
185 |
- # fails with bdist_egg. should it be fixed in distutils-r1 eclass? |
186 |
- distutils_install_for_testing ${SCIPY_FCONFIG} |
187 |
- cd "${TEST_DIR}" || die "no ${TEST_DIR} available" |
188 |
- "${PYTHON}" -c \ |
189 |
- 'import numpy as np; print("relaxed strides checking:", np.ones((10,1),order="C").flags.f_contiguous)' \ |
190 |
- || die |
191 |
- "${EPYTHON}" -c \ |
192 |
- "import scipy, sys; r = scipy.test('fast', verbose=2); sys.exit(r)" \ |
193 |
- || die "Tests fail with ${EPYTHON}" |
194 |
-} |
195 |
- |
196 |
-python_install() { |
197 |
- distutils-r1_python_install ${SCIPY_FCONFIG} |
198 |
-} |
199 |
- |
200 |
-pkg_postinst() { |
201 |
- elog "You might want to set the variable SCIPY_PIL_IMAGE_VIEWER" |
202 |
- elog "to your prefered image viewer. Example:" |
203 |
- elog "\t echo \"export SCIPY_PIL_IMAGE_VIEWER=display\" >> ~/.bashrc" |
204 |
-} |
205 |
|
206 |
diff --git a/sci-libs/scipy-python2/scipy-python2-1.2.3.ebuild b/sci-libs/scipy-python2/scipy-python2-1.2.3.ebuild |
207 |
deleted file mode 100644 |
208 |
index 05b35f960a4..00000000000 |
209 |
--- a/sci-libs/scipy-python2/scipy-python2-1.2.3.ebuild |
210 |
+++ /dev/null |
211 |
@@ -1,129 +0,0 @@ |
212 |
-# Copyright 1999-2020 Gentoo Authors |
213 |
-# Distributed under the terms of the GNU General Public License v2 |
214 |
- |
215 |
-EAPI=6 |
216 |
- |
217 |
-PYTHON_COMPAT=( python2_7 ) |
218 |
-PYTHON_REQ_USE="threads(+)" |
219 |
- |
220 |
-inherit fortran-2 distutils-r1 flag-o-matic multiprocessing toolchain-funcs |
221 |
- |
222 |
-MY_PN=${PN/-python2} |
223 |
-MY_P=${MY_PN}-${PV} |
224 |
- |
225 |
-DESCRIPTION="Scientific algorithms library for Python (py2 version)" |
226 |
-HOMEPAGE="https://www.scipy.org/" |
227 |
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
228 |
-S=${WORKDIR}/${MY_P} |
229 |
- |
230 |
-LICENSE="BSD LGPL-2" |
231 |
-SLOT="0" |
232 |
-IUSE="sparse test" |
233 |
-RESTRICT="!test? ( test )" |
234 |
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
235 |
- |
236 |
-CDEPEND=" |
237 |
- || ( |
238 |
- >=dev-python/numpy-python2-1.10[lapack,${PYTHON_USEDEP}] |
239 |
- >=dev-python/numpy-1.10[lapack,${PYTHON_USEDEP}] |
240 |
- ) |
241 |
- sci-libs/arpack:0= |
242 |
- virtual/cblas |
243 |
- virtual/lapack |
244 |
- sparse? ( sci-libs/umfpack:0= )" |
245 |
-DEPEND="${CDEPEND} |
246 |
- dev-lang/swig |
247 |
- >=dev-python/cython-0.22[${PYTHON_USEDEP}] |
248 |
- >=dev-python/setuptools-36[${PYTHON_USEDEP}] |
249 |
- virtual/pkgconfig |
250 |
- test? ( |
251 |
- dev-python/nose[${PYTHON_USEDEP}] |
252 |
- dev-python/pytest[${PYTHON_USEDEP}] |
253 |
- )" |
254 |
-RDEPEND="${CDEPEND} |
255 |
- !<sci-libs/scipy-1.4 |
256 |
- dev-python/pillow[${PYTHON_USEDEP}]" |
257 |
- |
258 |
-DOCS=( HACKING.rst.txt THANKS.txt ) |
259 |
- |
260 |
-DISTUTILS_IN_SOURCE_BUILD=1 |
261 |
- |
262 |
-pc_incdir() { |
263 |
- $(tc-getPKG_CONFIG) --cflags-only-I $@ | \ |
264 |
- sed -e 's/^-I//' -e 's/[ ]*-I/:/g' -e 's/[ ]*$//' -e 's|^:||' |
265 |
-} |
266 |
- |
267 |
-pc_libdir() { |
268 |
- $(tc-getPKG_CONFIG) --libs-only-L $@ | \ |
269 |
- sed -e 's/^-L//' -e 's/[ ]*-L/:/g' -e 's/[ ]*$//' -e 's|^:||' |
270 |
-} |
271 |
- |
272 |
-pc_libs() { |
273 |
- $(tc-getPKG_CONFIG) --libs-only-l $@ | \ |
274 |
- sed -e 's/[ ]-l*\(pthread\|m\)\([ ]\|$\)//g' \ |
275 |
- -e 's/^-l//' -e 's/[ ]*-l/,/g' -e 's/[ ]*$//' \ |
276 |
- | tr ',' '\n' | sort -u | tr '\n' ',' | sed -e 's|,$||' |
277 |
-} |
278 |
- |
279 |
-python_prepare_all() { |
280 |
- # scipy automatically detects libraries by default |
281 |
- export {FFTW,FFTW3,UMFPACK}=None |
282 |
- use sparse && unset UMFPACK |
283 |
- # the missing symbols are in -lpythonX.Y, but since the version can |
284 |
- # differ, we just introduce the same scaryness as on Linux/ELF |
285 |
- [[ ${CHOST} == *-darwin* ]] \ |
286 |
- && append-ldflags -bundle "-undefined dynamic_lookup" \ |
287 |
- || append-ldflags -shared |
288 |
- [[ -z ${FC} ]] && export FC="$(tc-getFC)" |
289 |
- # hack to force F77 to be FC until bug #278772 is fixed |
290 |
- [[ -z ${F77} ]] && export F77="$(tc-getFC)" |
291 |
- export F90="${FC}" |
292 |
- export SCIPY_FCONFIG="config_fc --noopt --noarch" |
293 |
- append-fflags -fPIC |
294 |
- |
295 |
- local libdir="${EPREFIX}"/usr/$(get_libdir) |
296 |
- cat >> site.cfg <<-EOF || die |
297 |
- [blas] |
298 |
- include_dirs = $(pc_incdir cblas) |
299 |
- library_dirs = $(pc_libdir cblas blas):${libdir} |
300 |
- blas_libs = $(pc_libs cblas blas) |
301 |
- [lapack] |
302 |
- library_dirs = $(pc_libdir lapack):${libdir} |
303 |
- lapack_libs = $(pc_libs lapack) |
304 |
- EOF |
305 |
- |
306 |
- # Drop hashes to force rebuild of cython based .c code |
307 |
- rm cythonize.dat || die |
308 |
- |
309 |
- distutils-r1_python_prepare_all |
310 |
-} |
311 |
- |
312 |
-python_compile() { |
313 |
- # FIXME: parallel python building fails, bug #614464 |
314 |
- ${EPYTHON} tools/cythonize.py || die |
315 |
- distutils-r1_python_compile \ |
316 |
- ${SCIPY_FCONFIG} |
317 |
-} |
318 |
- |
319 |
-python_test() { |
320 |
- # fails with bdist_egg. should it be fixed in distutils-r1 eclass? |
321 |
- distutils_install_for_testing ${SCIPY_FCONFIG} |
322 |
- cd "${TEST_DIR}" || die "no ${TEST_DIR} available" |
323 |
- "${PYTHON}" -c \ |
324 |
- 'import numpy as np; print("relaxed strides checking:", np.ones((10,1),order="C").flags.f_contiguous)' \ |
325 |
- || die |
326 |
- "${EPYTHON}" -c \ |
327 |
- "import scipy, sys; r = scipy.test('fast', verbose=2); sys.exit(r)" \ |
328 |
- || die "Tests fail with ${EPYTHON}" |
329 |
-} |
330 |
- |
331 |
-python_install() { |
332 |
- distutils-r1_python_install ${SCIPY_FCONFIG} |
333 |
- python_optimize |
334 |
-} |
335 |
- |
336 |
-pkg_postinst() { |
337 |
- elog "You might want to set the variable SCIPY_PIL_IMAGE_VIEWER" |
338 |
- elog "to your prefered image viewer. Example:" |
339 |
- elog "\t echo \"export SCIPY_PIL_IMAGE_VIEWER=display\" >> ~/.bashrc" |
340 |
-} |