1 |
commit: b0c0d77fc8c786cf0c92e26a344634169365f797 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Oct 9 08:41:56 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 9 08:46:05 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0c0d77f |
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.1.ebuild | 51 --------------------------------- |
14 |
2 files changed, 52 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/numexpr/Manifest b/dev-python/numexpr/Manifest |
17 |
index 278b612c5d9..bb55c8487ed 100644 |
18 |
--- a/dev-python/numexpr/Manifest |
19 |
+++ b/dev-python/numexpr/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST numexpr-2.7.1.tar.gz 99196 BLAKE2B 14912a0a50a46c085215f0a40467371859aedeaaf999f747d735df4c244529709b26c1257d3c5c05ed0ceea801d117bf6a330dbd30573fe274522e1101e2f4b3 SHA512 e8852ed1c7bd7f7e94ce5ad78de7a8a7ca30a5873dbfa4fae0a179fbcf956b1e66f2a09c1785f0d8d9e83a5cba359a55840a21784bc225aa01915a322709d370 |
22 |
DIST numexpr-2.7.2.gh.tar.gz 118982 BLAKE2B b032f00c36ffadb88cf9a4cd6323137b920bce48ec73f88f006d3186f9a8c1d75a11ceb6bd32f412cba5c10cbe3cb518cdbdb19ef022100fcc408fc82ede9881 SHA512 41946df6d642e226b4a38b11d5db67ef91d63d56b33d3b52f09377c022d236ea4e9a5aaaf380737d18405ee25109260ae60f79d0c9465b95de14465f41c40075 |
23 |
|
24 |
diff --git a/dev-python/numexpr/numexpr-2.7.1.ebuild b/dev-python/numexpr/numexpr-2.7.1.ebuild |
25 |
deleted file mode 100644 |
26 |
index eed440f7e01..00000000000 |
27 |
--- a/dev-python/numexpr/numexpr-2.7.1.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,51 +0,0 @@ |
30 |
-# Copyright 1999-2020 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=6 |
34 |
- |
35 |
-PYTHON_COMPAT=( python3_{6..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="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
43 |
- |
44 |
-LICENSE="MIT" |
45 |
-SLOT="0" |
46 |
-KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux" |
47 |
-IUSE="mkl" |
48 |
- |
49 |
-RDEPEND=" |
50 |
- >=dev-python/numpy-1.6[${PYTHON_USEDEP}] |
51 |
- mkl? ( sci-libs/mkl ) |
52 |
-" |
53 |
-DEPEND="${RDEPEND} |
54 |
- dev-python/setuptools[${PYTHON_USEDEP}] |
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 |
-} |