public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Pacho Ramos" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/numexpr/
Date: Sat,  6 Jun 2020 21:07:33 +0000 (UTC)	[thread overview]
Message-ID: <1591477646.799adfb1a6e14a4049096264bc2ee9334d8ff095.pacho@gentoo> (raw)

commit:     799adfb1a6e14a4049096264bc2ee9334d8ff095
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sat Jun  6 20:51:58 2020 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sat Jun  6 21:07:26 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=799adfb1

dev-python/numexpr: Bump to 2.7.1

Closes: https://bugs.gentoo.org/723552
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 dev-python/numexpr/Manifest             |  1 +
 dev-python/numexpr/numexpr-2.7.1.ebuild | 60 +++++++++++++++++++++++++++++++++
 2 files changed, 61 insertions(+)

diff --git a/dev-python/numexpr/Manifest b/dev-python/numexpr/Manifest
index 18504c4be5b..5fdcd019a81 100644
--- a/dev-python/numexpr/Manifest
+++ b/dev-python/numexpr/Manifest
@@ -1 +1,2 @@
 DIST numexpr-2.6.9.tar.gz 94419 BLAKE2B 22492c1c59306fbd93174b5bab2ffaa32628c52cc570871bd6192a4589b65b6f679a77c8ec6f37b0a2ac09f004364a2ba87ecc26f459cb2d4b3b2705196b9fdc SHA512 d43845fb63c1e7b645b282d251f7f112784dbc04b61af1ffcbb9646cbe2e3a9f5d38aaa000f7d49880abe44c25205a6ef1e284577d36868220a197cdc0e55166
+DIST numexpr-2.7.1.tar.gz 99196 BLAKE2B 14912a0a50a46c085215f0a40467371859aedeaaf999f747d735df4c244529709b26c1257d3c5c05ed0ceea801d117bf6a330dbd30573fe274522e1101e2f4b3 SHA512 e8852ed1c7bd7f7e94ce5ad78de7a8a7ca30a5873dbfa4fae0a179fbcf956b1e66f2a09c1785f0d8d9e83a5cba359a55840a21784bc225aa01915a322709d370

diff --git a/dev-python/numexpr/numexpr-2.7.1.ebuild b/dev-python/numexpr/numexpr-2.7.1.ebuild
new file mode 100644
index 00000000000..138fd440b66
--- /dev/null
+++ b/dev-python/numexpr/numexpr-2.7.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_{6..9} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit distutils-r1 flag-o-matic
+
+DESCRIPTION="Fast numerical array expression evaluator for Python and NumPy"
+HOMEPAGE="https://github.com/pydata/numexpr"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="mkl"
+
+RDEPEND="
+	>=dev-python/numpy-1.6[${PYTHON_USEDEP}]
+	mkl? ( sci-libs/mkl )
+"
+DEPEND="${RDEPEND}
+	dev-python/setuptools[${PYTHON_USEDEP}]
+"
+
+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
+		use amd64 && local ext="_lp64"
+		cat > site.cfg <<- _EOF_ || die
+			[mkl]
+			library_dirs = ${MKLROOT}/lib/em64t
+			include_dirs = ${MKLROOT}/include
+			mkl_libs = mkl_solver${ext}, mkl_intel${ext}, \
+			mkl_intel_thread, mkl_core, iomp5
+		_EOF_
+	fi
+
+	distutils-r1_python_prepare_all
+}
+
+python_compile() {
+	if ! python_is_python3; then
+		local -x CFLAGS="${CFLAGS}"
+		append-cflags -fno-strict-aliasing
+	fi
+
+	distutils-r1_python_compile
+}
+
+python_test() {
+	pushd "${BUILD_DIR}"/lib >/dev/null || die
+	"${EPYTHON}" \
+		-c "import sys,numexpr;sys.exit(0 if numexpr.test().wasSuccessful() else 1)" \
+		|| die
+	pushd >/dev/null || die
+}


             reply	other threads:[~2020-06-06 21:07 UTC|newest]

Thread overview: 134+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-06 21:07 Pacho Ramos [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-16  6:10 [gentoo-commits] repo/gentoo:master commit in: dev-python/numexpr/ Michał Górny
2024-12-15 19:50 Arthur Zamarin
2024-12-14 20:01 Arthur Zamarin
2024-12-14 14:06 Sam James
2024-12-14 12:57 Arthur Zamarin
2024-12-14 12:15 Arthur Zamarin
2024-12-14 11:49 Sam James
2024-11-24  3:28 Michał Górny
2024-11-01 18:44 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 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-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=1591477646.799adfb1a6e14a4049096264bc2ee9334d8ff095.pacho@gentoo \
    --to=pacho@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