1 |
commit: c53039133a5fb2479140adfdb10f2c744cca99c6 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 12 22:57:03 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 12 22:57:03 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5303913 |
7 |
|
8 |
dev-python/numexpr: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/numexpr/Manifest | 1 - |
13 |
dev-python/numexpr/numexpr-2.7.2_p1.ebuild | 51 ------------------------------ |
14 |
2 files changed, 52 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/numexpr/Manifest b/dev-python/numexpr/Manifest |
17 |
index e7aa2857e37..4233994bb5b 100644 |
18 |
--- a/dev-python/numexpr/Manifest |
19 |
+++ b/dev-python/numexpr/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST numexpr-2.7.2.r1.gh.tar.gz 119099 BLAKE2B d424dd89761ecdad3e5a35a5c8b41f089c6eb7c9ca10a4309fb489bb7ab60c0b77863c1675583014265c057e27f3b9584a35e0ac6232044ed5f8b8c32fd330d6 SHA512 d786aeb3597a6b2196e92f364934a0bbc518c7973252c38f1e93c317d55220270b5d61320d7a465c87da979ec68e988b25182d527e0e96aa3a898f20a6997802 |
22 |
DIST numexpr-2.7.3.tar.gz 114113 BLAKE2B 95dca4fbd3148bbf198f82827a63fac3e9de29f677457f2ad45040e24a38bb05e4e09738efa0cac793970e18bdcd252e2744da96062217fd35b4054b10112989 SHA512 8234a65ce96ea0a2f20cce7dce3de652362a9edc86af2e7a333cdd8ecd87866f75970859ff39b04d529acc062b806cc8c64f262c318edd2897200d7e54b429e7 |
23 |
|
24 |
diff --git a/dev-python/numexpr/numexpr-2.7.2_p1.ebuild b/dev-python/numexpr/numexpr-2.7.2_p1.ebuild |
25 |
deleted file mode 100644 |
26 |
index 679730c0dca..00000000000 |
27 |
--- a/dev-python/numexpr/numexpr-2.7.2_p1.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,51 +0,0 @@ |
30 |
-# Copyright 1999-2021 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=7 |
34 |
- |
35 |
-PYTHON_COMPAT=( python3_{8..10} ) |
36 |
-PYTHON_REQ_USE="threads(+)" |
37 |
- |
38 |
-inherit distutils-r1 flag-o-matic |
39 |
- |
40 |
-DESCRIPTION="Fast numerical array expression evaluator for Python and NumPy" |
41 |
-HOMEPAGE="https://github.com/pydata/numexpr" |
42 |
-SRC_URI=" |
43 |
- https://github.com/pydata/numexpr/archive/v${PV%_p*}.tar.gz |
44 |
- -> ${P/_p/.r}.gh.tar.gz" |
45 |
-S=${WORKDIR}/${P%_p*} |
46 |
- |
47 |
-LICENSE="MIT" |
48 |
-SLOT="0" |
49 |
-KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux" |
50 |
-IUSE="mkl" |
51 |
- |
52 |
-RDEPEND=" |
53 |
- >=dev-python/numpy-1.6[${PYTHON_USEDEP}] |
54 |
- mkl? ( sci-libs/mkl ) |
55 |
-" |
56 |
- |
57 |
-python_prepare_all() { |
58 |
- # TODO: mkl can be used but it fails for me |
59 |
- # only works with mkl in tree. newer mkl will use pkgconfig |
60 |
- if use mkl; then |
61 |
- use amd64 && local ext="_lp64" |
62 |
- cat > site.cfg <<- _EOF_ || die |
63 |
- [mkl] |
64 |
- library_dirs = ${MKLROOT}/lib/em64t |
65 |
- include_dirs = ${MKLROOT}/include |
66 |
- mkl_libs = mkl_solver${ext}, mkl_intel${ext}, \ |
67 |
- mkl_intel_thread, mkl_core, iomp5 |
68 |
- _EOF_ |
69 |
- fi |
70 |
- |
71 |
- distutils-r1_python_prepare_all |
72 |
-} |
73 |
- |
74 |
-python_test() { |
75 |
- pushd "${BUILD_DIR}"/lib >/dev/null || die |
76 |
- "${EPYTHON}" \ |
77 |
- -c "import sys,numexpr; sys.exit(0 if numexpr.test().wasSuccessful() else 1)" \ |
78 |
- || die |
79 |
- pushd >/dev/null || die |
80 |
-} |