summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/numexpr')
-rw-r--r--dev-python/numexpr/ChangeLog8
-rw-r--r--dev-python/numexpr/Manifest18
-rw-r--r--dev-python/numexpr/metadata.xml4
-rw-r--r--dev-python/numexpr/numexpr-1.4.ebuild47
4 files changed, 62 insertions, 15 deletions
diff --git a/dev-python/numexpr/ChangeLog b/dev-python/numexpr/ChangeLog
index c4f9e538a7b0..84af880b8a30 100644
--- a/dev-python/numexpr/ChangeLog
+++ b/dev-python/numexpr/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/numexpr
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/numexpr/ChangeLog,v 1.1 2010/07/03 21:10:15 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/numexpr/ChangeLog,v 1.2 2010/08/02 10:48:17 xarthisius Exp $
+
+*numexpr-1.4 (02 Aug 2010)
+
+ 02 Aug 2010; Kacper Kowalik <xarthisius@gentoo.org> +numexpr-1.4.ebuild,
+ metadata.xml:
+ Version bump. Add support for Intel VML.
*numexpr-1.3.1 (03 Jul 2010)
diff --git a/dev-python/numexpr/Manifest b/dev-python/numexpr/Manifest
index 0100434c1094..10dc27a375f7 100644
--- a/dev-python/numexpr/Manifest
+++ b/dev-python/numexpr/Manifest
@@ -1,16 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
DIST numexpr-1.3.1.tar.gz 56972 RMD160 6cacbcf37581b5e19fe9fe674dd7b0722f1a19de SHA1 2921531ece0eacb303b0c9a4978d0d050dcfd5d2 SHA256 52bae05999975b181a49903371bd22073669c210d2e34a26d6b87bf684c35263
+DIST numexpr-1.4.tar.gz 62200 RMD160 c427e18631524fd5c9dbd2c2619d971dcf217a6d SHA1 4fb642c4daf31f3eeb9c95ceaad7f77f97e64c46 SHA256 5ef302c10f069b7999a58ceccdae748eb697ec91c6b56239c671b2e9ba40fe2c
EBUILD numexpr-1.3.1.ebuild 863 RMD160 21a7b4bd5b5c019e6a10d278bf772b70249ebf1b SHA1 c7e42cb55010b0a121dbf9a8c3969c3c064b1604 SHA256 d3c4dc647c5926acaaeedad913987c1ac69ff7d1568c1535892991e430961d8f
-MISC ChangeLog 424 RMD160 7b6c132438b732791258fbeba015cbbfebb8d920 SHA1 76c30f185e544dee5a02e8f41e5e4cf21dcab803 SHA256 2ea29f544c1a10170a9e2e5d732cbc55fc9d4d5502563678f58dfeb6d53d0210
-MISC metadata.xml 376 RMD160 bef0c125fa9b9654abc5c76828a40f692a12fcc7 SHA1 160d3f164941bca9b0982cfc911e72eded888e41 SHA256 bd3f531e00cfbd5abc1e0c9537d37348f6f0612adc791fdcfe4da2a1cfdb43ef
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.15 (GNU/Linux)
-
-iJwEAQECAAYFAkwvp0YACgkQIiMqcbOVdxS9IQP+P8Za/nO8XKZLonqRN0oxudRR
-fGiWp88p+ZBkgb+SB2pEyQTu0amu8WpX/jtjZgFQuVb6zxAo45UqRPU8kquIAHPU
-hBV0LA9jnrrC9ootznfjSHZUd3b0+NaIrbsPzQ9wCQrh/6J+u0LlKg0Dd5y9fnQG
-5mlbwNfGIyPCBFMtAgs=
-=JQ4J
------END PGP SIGNATURE-----
+EBUILD numexpr-1.4.ebuild 1199 RMD160 6d48252d895deafe885bad7dc3668be36c7430a3 SHA1 2c2658e6fd8d46550f43d13c2b34eb1bea0122a9 SHA256 8aa0bf7bfb96db2c6838cea885e7248ff77e21df9c1b192f3ed2aaecf1522317
+MISC ChangeLog 587 RMD160 1e4e5efe0abd31babcbed5582736066b5069249f SHA1 4c2fef26a3eef0ae095636869f918f3f21f5b88a SHA256 f93a0ad2c85742f3c64a4ae4cdab404b8eb97b5488675aae563d3ebe7104dc13
+MISC metadata.xml 495 RMD160 50be19d26d92cde0030750eeb32e9bdea9ae9e54 SHA1 57cb461967831f2d029c0179a70791c3bea198d2 SHA256 20bcf74b336f0713e25e03cd431d70bb4b5b8c5b7b3c8d9f5ee02a55cfe31678
diff --git a/dev-python/numexpr/metadata.xml b/dev-python/numexpr/metadata.xml
index ffddb994518a..a1e5d4df1333 100644
--- a/dev-python/numexpr/metadata.xml
+++ b/dev-python/numexpr/metadata.xml
@@ -10,4 +10,8 @@
<longdescription lang="en">
Fast numerical array expression evaluator for Python and NumPy.
</longdescription>
+<use>
+ <flag name="mkl">Enable support for Intel Vector Math Library, part of
+ <pkg>sci-libs/mkl</pkg>.</flag>
+</use>
</pkgmetadata>
diff --git a/dev-python/numexpr/numexpr-1.4.ebuild b/dev-python/numexpr/numexpr-1.4.ebuild
new file mode 100644
index 000000000000..587b2be29477
--- /dev/null
+++ b/dev-python/numexpr/numexpr-1.4.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/numexpr/numexpr-1.4.ebuild,v 1.1 2010/08/02 10:48:17 xarthisius Exp $
+
+EAPI=2
+
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+
+inherit distutils
+
+DESCRIPTION="Fast numerical array expression evaluator for Python and NumPy."
+HOMEPAGE="http://code.google.com/p/numexpr/ http://pypi.python.org/pypi/numexpr"
+SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="mkl"
+
+RDEPEND=">=dev-python/numpy-1.3.1
+ mkl? ( sci-libs/mkl )"
+DEPEND="${RDEPEND}
+ >=dev-python/setuptools-0.6_rc3
+ >=dev-util/scons-1.2.0-r1"
+
+RESTRICT_PYTHON_ABIS="3.*"
+
+src_prepare() {
+ # TODO: alternatively icc's mkl can be used but it fails for me
+ if use mkl; then
+ cat <<- EOF > "${S}"/site.cfg
+ [mkl]
+ library_dirs = ${MKLROOT}/lib/em64t
+ include_dirs = ${MKLROOT}/include
+ mkl_libs = mkl_solver_ilp64, mkl_intel_ilp64, \
+ mkl_intel_thread, mkl_core, iomp5
+ EOF
+ fi
+}
+
+src_test() {
+ testing() {
+ PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" ${PN}/tests/test_${PN}.py
+ }
+ python_execute_function testing
+}