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/numexpr/
Date: Mon, 03 Jan 2022 22:30:17
Message-Id: 1641248985.63349c9d6b241791129e061f0c65b281966535ac.mgorny@gentoo
1 commit: 63349c9d6b241791129e061f0c65b281966535ac
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 3 22:28:17 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 3 22:29:45 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63349c9d
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 | 2 --
13 dev-python/numexpr/metadata.xml | 4 ---
14 dev-python/numexpr/numexpr-2.7.3.ebuild | 48 ---------------------------------
15 dev-python/numexpr/numexpr-2.8.0.ebuild | 30 ---------------------
16 4 files changed, 84 deletions(-)
17
18 diff --git a/dev-python/numexpr/Manifest b/dev-python/numexpr/Manifest
19 index f57f9f1f534b..8da6ec40ced0 100644
20 --- a/dev-python/numexpr/Manifest
21 +++ b/dev-python/numexpr/Manifest
22 @@ -1,3 +1 @@
23 -DIST numexpr-2.7.3.tar.gz 114113 BLAKE2B 95dca4fbd3148bbf198f82827a63fac3e9de29f677457f2ad45040e24a38bb05e4e09738efa0cac793970e18bdcd252e2744da96062217fd35b4054b10112989 SHA512 8234a65ce96ea0a2f20cce7dce3de652362a9edc86af2e7a333cdd8ecd87866f75970859ff39b04d529acc062b806cc8c64f262c318edd2897200d7e54b429e7
24 -DIST numexpr-2.8.0.tar.gz 111765 BLAKE2B 20b56ce6b5c83a72c317c1b03c1084f64a2438deaeaf73a97afc8ab75abe0d3aa3721df8e7921568ff14c36fc0737e87be82951d1911f2eedee8f0e9fcad2fb8 SHA512 33f54eed99cab552c868cc5091ea76e13da12367507161713304f48b322289a01aeabe750f13501cc5654c6068c7e6220c6adeb8703fef174a445860f142614f
25 DIST numexpr-2.8.1.tar.gz 111984 BLAKE2B b5d0b5bd5507c8c513db6404917b6256d9c8d232ea5d2f027f42cdac4a5e5c5f8c2db3d2283734f80d0ae7df2551314d088ccd2ed8e2c7401cc04a15ad61751d SHA512 243cddcb1fece9410e35c87a4c3f794ac0963ddfcc054b9a9c9842a2bb4e782d6c939f532d00d724d4b447d915764c3c8bbb87a99c71a22951798329aa7494bd
26
27 diff --git a/dev-python/numexpr/metadata.xml b/dev-python/numexpr/metadata.xml
28 index ca0038cd8456..347c251f2861 100644
29 --- a/dev-python/numexpr/metadata.xml
30 +++ b/dev-python/numexpr/metadata.xml
31 @@ -18,10 +18,6 @@
32 just-in-time (JIT) compiler, i.e. it does not require a compiler at
33 runtime.
34 </longdescription>
35 - <use>
36 - <flag name="mkl">Enable support for Intel Vector Math Library, part of
37 - <pkg>sci-libs/mkl</pkg>.</flag>
38 - </use>
39 <upstream>
40 <remote-id type="pypi">numexpr</remote-id>
41 <remote-id type="github">pydata/numexpr</remote-id>
42
43 diff --git a/dev-python/numexpr/numexpr-2.7.3.ebuild b/dev-python/numexpr/numexpr-2.7.3.ebuild
44 deleted file mode 100644
45 index 0f0886287f5b..000000000000
46 --- a/dev-python/numexpr/numexpr-2.7.3.ebuild
47 +++ /dev/null
48 @@ -1,48 +0,0 @@
49 -# Copyright 1999-2021 Gentoo Authors
50 -# Distributed under the terms of the GNU General Public License v2
51 -
52 -EAPI=7
53 -
54 -PYTHON_COMPAT=( python3_{7..10} )
55 -PYTHON_REQ_USE="threads(+)"
56 -
57 -inherit distutils-r1 flag-o-matic
58 -
59 -DESCRIPTION="Fast numerical array expression evaluator for Python and NumPy"
60 -HOMEPAGE="https://github.com/pydata/numexpr"
61 -SRC_URI="https://github.com/pydata/numexpr/archive/v${PV}.tar.gz -> ${P}.tar.gz"
62 -
63 -LICENSE="MIT"
64 -SLOT="0"
65 -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
66 -IUSE="mkl"
67 -
68 -RDEPEND="
69 - >=dev-python/numpy-1.6[${PYTHON_USEDEP}]
70 - mkl? ( sci-libs/mkl )
71 -"
72 -
73 -python_prepare_all() {
74 - # TODO: mkl can be used but it fails for me
75 - # only works with mkl in tree. newer mkl will use pkgconfig
76 - if use mkl; then
77 - use amd64 && local ext="_lp64"
78 - cat > site.cfg <<- _EOF_ || die
79 - [mkl]
80 - library_dirs = ${MKLROOT}/lib/em64t
81 - include_dirs = ${MKLROOT}/include
82 - mkl_libs = mkl_solver${ext}, mkl_intel${ext}, \
83 - mkl_intel_thread, mkl_core, iomp5
84 - _EOF_
85 - fi
86 -
87 - distutils-r1_python_prepare_all
88 -}
89 -
90 -python_test() {
91 - pushd "${BUILD_DIR}"/lib >/dev/null || die
92 - "${EPYTHON}" \
93 - -c "import sys,numexpr; sys.exit(0 if numexpr.test().wasSuccessful() else 1)" \
94 - || die
95 - pushd >/dev/null || die
96 -}
97
98 diff --git a/dev-python/numexpr/numexpr-2.8.0.ebuild b/dev-python/numexpr/numexpr-2.8.0.ebuild
99 deleted file mode 100644
100 index 996ad208a7c7..000000000000
101 --- a/dev-python/numexpr/numexpr-2.8.0.ebuild
102 +++ /dev/null
103 @@ -1,30 +0,0 @@
104 -# Copyright 1999-2021 Gentoo Authors
105 -# Distributed under the terms of the GNU General Public License v2
106 -
107 -EAPI=8
108 -
109 -PYTHON_COMPAT=( python3_{8..10} )
110 -PYTHON_REQ_USE="threads(+)"
111 -
112 -inherit distutils-r1
113 -
114 -DESCRIPTION="Fast numerical array expression evaluator for Python and NumPy"
115 -HOMEPAGE="https://github.com/pydata/numexpr"
116 -SRC_URI="https://github.com/pydata/numexpr/archive/v${PV}.tar.gz -> ${P}.tar.gz"
117 -
118 -LICENSE="MIT"
119 -SLOT="0"
120 -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
121 -
122 -DEPEND="
123 - >=dev-python/numpy-1.6[${PYTHON_USEDEP}]
124 -"
125 -RDEPEND="${DEPEND}"
126 -
127 -python_test() {
128 - pushd "${BUILD_DIR}"/lib >/dev/null || die
129 - "${EPYTHON}" \
130 - -c "import sys,numexpr; sys.exit(0 if numexpr.test().wasSuccessful() else 1)" \
131 - || die
132 - pushd >/dev/null || die
133 -}