From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2A268158087 for ; Thu, 2 Dec 2021 14:17:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CD4002BC014; Thu, 2 Dec 2021 14:17:11 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 59B0F2BC015 for ; Thu, 2 Dec 2021 14:17:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5446634318A for ; Thu, 2 Dec 2021 14:17:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BDE01201 for ; Thu, 2 Dec 2021 14:17:08 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1638454613.9931c87ea1de7c0d43b6166b8352303b01130a19.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/numexpr/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/numexpr/numexpr-2.8.0.ebuild X-VCS-Directories: dev-python/numexpr/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 9931c87ea1de7c0d43b6166b8352303b01130a19 X-VCS-Branch: master Date: Thu, 2 Dec 2021 14:17:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c278c57b-1b92-4476-965e-4c86fdd4772d X-Archives-Hash: 6ff06f7b47133f6994870a6deb5ff30b commit: 9931c87ea1de7c0d43b6166b8352303b01130a19 Author: Michał Górny gentoo org> AuthorDate: Thu Dec 2 14:16:36 2021 +0000 Commit: Michał Górny gentoo 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 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