From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/numexpr/
Date: Thu, 2 Dec 2021 14:17:08 +0000 (UTC) [thread overview]
Message-ID: <1638454613.9931c87ea1de7c0d43b6166b8352303b01130a19.mgorny@gentoo> (raw)
commit: 9931c87ea1de7c0d43b6166b8352303b01130a19
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 2 14:16:36 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Dec 2 14:16:53 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9931c87e
dev-python/numexpr: Remove broken mkl support
Closes: https://bugs.gentoo.org/828015
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/numexpr/numexpr-2.8.0.ebuild | 46 +--------------------------------
1 file changed, 1 insertion(+), 45 deletions(-)
diff --git a/dev-python/numexpr/numexpr-2.8.0.ebuild b/dev-python/numexpr/numexpr-2.8.0.ebuild
index 2de92876f671..a456aa137930 100644
--- a/dev-python/numexpr/numexpr-2.8.0.ebuild
+++ b/dev-python/numexpr/numexpr-2.8.0.ebuild
@@ -6,7 +6,7 @@ EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
PYTHON_REQ_USE="threads(+)"
-inherit distutils-r1 toolchain-funcs
+inherit distutils-r1
DESCRIPTION="Fast numerical array expression evaluator for Python and NumPy"
HOMEPAGE="https://github.com/pydata/numexpr"
@@ -15,55 +15,11 @@ SRC_URI="https://github.com/pydata/numexpr/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
-IUSE="mkl"
DEPEND="
>=dev-python/numpy-1.6[${PYTHON_USEDEP}]
- mkl? ( sci-libs/mkl )
"
RDEPEND=${DEPEND}
-BDEPEND="
- mkl? ( virtual/pkgconfig )
-"
-
-python_prepare_all() {
- # TODO: mkl can be used but it fails for me
- # only works with mkl in tree. newer mkl will use pkgconfig
- if use mkl; then
- local suffix=
- use amd64 && local suffix="-lp64"
-
- local flags=(
- $($(tc-getPKG_CONFIG) --cflags --libs "mkl-dynamic${suffix}-iomp")
- )
- local f libdirs=() incdirs=() libs=()
- for f in "${flags[@]}"; do
- case ${f} in
- -I*)
- incdirs+=( "${f#-I}" )
- ;;
- -L*)
- libdirs+=( "${f#-L}" )
- ;;
- -l*)
- libs+=( "${f#-l}" )
- ;;
- *)
- die "Unexpected flag in pkg-config output: ${f}"
- ;;
- esac
- done
-
- cat > site.cfg <<- _EOF_ || die
- [mkl]
- library_dirs = $(IFS=:; echo "${libdirs[*]}")
- include_dirs = $(IFS=:; echo "${incdirs[*]}")
- libraries = $(IFS=:; echo "${libs[*]}")
- _EOF_
- fi
-
- distutils-r1_python_prepare_all
-}
python_test() {
pushd "${BUILD_DIR}"/lib >/dev/null || die
next reply other threads:[~2021-12-02 14:17 UTC|newest]
Thread overview: 126+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-02 14:17 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-01 18:44 [gentoo-commits] repo/gentoo:master commit in: dev-python/numexpr/ Michał Górny
2024-11-01 16:38 Arthur Zamarin
2024-07-27 11:58 Sam James
2024-07-27 11:58 Sam James
2024-07-06 13:12 Jakov Smolić
2024-07-06 7:07 Arthur Zamarin
2024-06-21 16:59 Michał Górny
2024-05-20 16:25 Sam James
2024-04-30 4:42 Michał Górny
2024-04-11 11:59 Michał Górny
2024-04-11 11:59 Michał Górny
2024-04-04 18:52 Michał Górny
2024-02-28 14:04 Michał Górny
2024-02-28 2:32 Ionen Wolkens
2024-02-11 11:11 Sam James
2024-02-11 11:11 Sam James
2024-02-11 11:11 Sam James
2024-02-11 11:11 Sam James
2024-02-11 6:01 Sam James
2024-01-26 16:27 Michał Górny
2024-01-04 11:29 WANG Xuerui
2023-12-30 16:18 Michał Górny
2023-12-30 15:20 Arthur Zamarin
2023-12-30 14:51 Arthur Zamarin
2023-12-30 14:51 Arthur Zamarin
2023-12-30 14:36 Arthur Zamarin
2023-12-30 14:25 Arthur Zamarin
2023-12-30 14:25 Arthur Zamarin
2023-12-11 17:42 Michał Górny
2023-11-22 15:01 Andrew Ammerlaan
2023-10-28 15:24 Michał Górny
2023-10-27 19:55 Arthur Zamarin
2023-10-27 19:55 Arthur Zamarin
2023-10-27 19:33 Sam James
2023-10-27 19:32 Sam James
2023-10-27 19:32 Sam James
2023-10-27 19:32 Sam James
2023-10-26 17:11 Michał Górny
2023-10-26 16:27 Arthur Zamarin
2023-10-15 8:26 Sam James
2023-10-14 19:52 Arthur Zamarin
2023-10-14 18:17 Arthur Zamarin
2023-10-14 18:17 Arthur Zamarin
2023-10-14 16:52 Arthur Zamarin
2023-09-26 16:56 Michał Górny
2023-09-13 15:47 Michał Górny
2023-09-07 20:07 Sam James
2023-09-07 20:07 Sam James
2023-09-07 19:52 Sam James
2023-09-07 19:52 Sam James
2023-08-07 2:36 Michał Górny
2023-07-28 16:14 Michał Górny
2023-05-04 16:22 Michał Górny
2022-11-30 3:09 Michał Górny
2022-11-30 0:52 Sam James
2022-11-29 22:22 Jakov Smolić
2022-11-29 8:16 Arthur Zamarin
2022-11-29 7:30 Arthur Zamarin
2022-11-29 7:28 Arthur Zamarin
2022-11-29 7:25 Arthur Zamarin
2022-10-26 18:42 Arthur Zamarin
2022-07-25 15:01 Agostino Sarubbo
2022-07-25 14:56 Agostino Sarubbo
2022-07-25 6:41 Sam James
2022-07-24 16:29 Sam James
2022-07-24 16:29 Sam James
2022-07-24 16:29 Sam James
2022-06-27 19:08 Arthur Zamarin
2022-05-24 13:25 Andrew Ammerlaan
2022-02-14 8:35 Matt Turner
2022-01-03 22:30 Michał Górny
2022-01-03 19:23 Jakov Smolić
2022-01-03 19:23 Jakov Smolić
2022-01-03 19:00 Arthur Zamarin
2022-01-03 18:34 Arthur Zamarin
2022-01-03 18:07 Arthur Zamarin
2022-01-03 18:07 Arthur Zamarin
2021-12-11 19:10 Arthur Zamarin
2021-12-11 19:10 Arthur Zamarin
2021-12-02 14:17 Michał Górny
2021-12-02 14:17 Michał Górny
2021-12-02 8:12 Michał Górny
2021-11-14 23:51 Sam James
2021-10-24 21:14 Sam James
2021-09-06 23:42 Sam James
2021-09-06 23:37 Sam James
2021-09-06 0:13 Sam James
2021-08-10 4:59 Sam James
2021-07-28 16:14 Sergei Trofimovich
2021-07-19 14:45 Marek Szuba
2021-07-12 22:57 Michał Górny
2021-07-12 22:37 Sam James
2021-07-12 21:50 Sam James
2021-06-05 15:10 Andrew Ammerlaan
2021-06-05 14:40 Michał Górny
2021-03-02 8:56 Michał Górny
2021-03-02 5:55 Sam James
2021-03-02 5:52 Sam James
2020-12-29 11:46 Michał Górny
2020-10-09 8:53 Michał Górny
2020-10-09 8:31 Agostino Sarubbo
2020-08-29 6:13 Michał Górny
2020-08-18 5:28 Sam James
2020-08-14 23:22 Andreas Sturmlechner
2020-08-07 19:19 Sam James
2020-07-06 14:13 Michał Górny
2020-06-06 21:07 Pacho Ramos
2020-03-28 11:21 Michał Górny
2020-01-30 17:31 Michał Górny
2020-01-30 12:14 Agostino Sarubbo
2020-01-14 16:14 Agostino Sarubbo
2019-02-20 21:10 Virgil Dupras
2019-02-20 21:10 Virgil Dupras
2019-01-17 21:28 Mikle Kolyada
2018-12-29 19:12 Thomas Deutschmann
2018-12-06 20:40 Craig Andrews
2018-12-06 20:40 Craig Andrews
2017-03-11 0:10 Zac Medico
2016-10-26 20:16 David Seifert
2016-02-07 12:00 Justin Lecher
2015-11-11 17:27 Justin Lecher
2015-11-03 10:24 Justin Lecher
2015-09-20 10:24 Justin Lecher
2015-09-19 12:32 Agostino Sarubbo
2015-09-15 6:20 Justin Lecher
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1638454613.9931c87ea1de7c0d43b6166b8352303b01130a19.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox