1 |
commit: 3eed37d78a0c0505f3932ac7f7b6b0d8359249bb |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Mar 2 08:54:45 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Mar 2 08:56:38 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3eed37d7 |
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.ebuild | 50 --------------------------------- |
14 |
2 files changed, 51 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/numexpr/Manifest b/dev-python/numexpr/Manifest |
17 |
index 848f084a426..062ed0316ca 100644 |
18 |
--- a/dev-python/numexpr/Manifest |
19 |
+++ b/dev-python/numexpr/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST numexpr-2.7.2.gh.tar.gz 118982 BLAKE2B b032f00c36ffadb88cf9a4cd6323137b920bce48ec73f88f006d3186f9a8c1d75a11ceb6bd32f412cba5c10cbe3cb518cdbdb19ef022100fcc408fc82ede9881 SHA512 41946df6d642e226b4a38b11d5db67ef91d63d56b33d3b52f09377c022d236ea4e9a5aaaf380737d18405ee25109260ae60f79d0c9465b95de14465f41c40075 |
22 |
DIST numexpr-2.7.2.r1.gh.tar.gz 119099 BLAKE2B d424dd89761ecdad3e5a35a5c8b41f089c6eb7c9ca10a4309fb489bb7ab60c0b77863c1675583014265c057e27f3b9584a35e0ac6232044ed5f8b8c32fd330d6 SHA512 d786aeb3597a6b2196e92f364934a0bbc518c7973252c38f1e93c317d55220270b5d61320d7a465c87da979ec68e988b25182d527e0e96aa3a898f20a6997802 |
23 |
|
24 |
diff --git a/dev-python/numexpr/numexpr-2.7.2.ebuild b/dev-python/numexpr/numexpr-2.7.2.ebuild |
25 |
deleted file mode 100644 |
26 |
index 62702d7a6f5..00000000000 |
27 |
--- a/dev-python/numexpr/numexpr-2.7.2.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,50 +0,0 @@ |
30 |
-# Copyright 1999-2020 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=7 |
34 |
- |
35 |
-PYTHON_COMPAT=( python3_{7..9} ) |
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}.tar.gz |
44 |
- -> ${P}.gh.tar.gz" |
45 |
- |
46 |
-LICENSE="MIT" |
47 |
-SLOT="0" |
48 |
-KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux" |
49 |
-IUSE="mkl" |
50 |
- |
51 |
-RDEPEND=" |
52 |
- >=dev-python/numpy-1.6[${PYTHON_USEDEP}] |
53 |
- mkl? ( sci-libs/mkl ) |
54 |
-" |
55 |
- |
56 |
-python_prepare_all() { |
57 |
- # TODO: mkl can be used but it fails for me |
58 |
- # only works with mkl in tree. newer mkl will use pkgconfig |
59 |
- if use mkl; then |
60 |
- use amd64 && local ext="_lp64" |
61 |
- cat > site.cfg <<- _EOF_ || die |
62 |
- [mkl] |
63 |
- library_dirs = ${MKLROOT}/lib/em64t |
64 |
- include_dirs = ${MKLROOT}/include |
65 |
- mkl_libs = mkl_solver${ext}, mkl_intel${ext}, \ |
66 |
- mkl_intel_thread, mkl_core, iomp5 |
67 |
- _EOF_ |
68 |
- fi |
69 |
- |
70 |
- distutils-r1_python_prepare_all |
71 |
-} |
72 |
- |
73 |
-python_test() { |
74 |
- pushd "${BUILD_DIR}"/lib >/dev/null || die |
75 |
- "${EPYTHON}" \ |
76 |
- -c "import sys,numexpr; sys.exit(0 if numexpr.test().wasSuccessful() else 1)" \ |
77 |
- || die |
78 |
- pushd >/dev/null || die |
79 |
-} |