summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2011-11-27 12:13:16 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2011-11-27 12:13:16 +0000
commitb9a2e09dddad51876b70a88595c2a8de6070c9b5 (patch)
tree2c412fc041d8329c703a9d627067eb436d8f20ce /dev-python/numexpr
parentFix dependency, as reported in bug #391255 (diff)
downloadhistorical-b9a2e09dddad51876b70a88595c2a8de6070c9b5.tar.gz
historical-b9a2e09dddad51876b70a88595c2a8de6070c9b5.tar.bz2
historical-b9a2e09dddad51876b70a88595c2a8de6070c9b5.zip
Version bump
Package-Manager: portage-2.2.0_alpha75/cvs/Linux x86_64
Diffstat (limited to 'dev-python/numexpr')
-rw-r--r--dev-python/numexpr/ChangeLog7
-rw-r--r--dev-python/numexpr/Manifest30
-rw-r--r--dev-python/numexpr/numexpr-2.0.ebuild49
3 files changed, 71 insertions, 15 deletions
diff --git a/dev-python/numexpr/ChangeLog b/dev-python/numexpr/ChangeLog
index b1041f3cf1cb..a442395259aa 100644
--- a/dev-python/numexpr/ChangeLog
+++ b/dev-python/numexpr/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/numexpr
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/numexpr/ChangeLog,v 1.6 2011/11/25 09:31:42 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/numexpr/ChangeLog,v 1.7 2011/11/27 12:13:16 xarthisius Exp $
+
+*numexpr-2.0 (27 Nov 2011)
+
+ 27 Nov 2011; Kacper Kowalik <xarthisius@gentoo.org> +numexpr-2.0.ebuild:
+ Version bump
25 Nov 2011; Kacper Kowalik <xarthisius@gentoo.org> numexpr-1.4.2.ebuild:
Add prefix love
diff --git a/dev-python/numexpr/Manifest b/dev-python/numexpr/Manifest
index 4401bcf77b0f..4a58405c8866 100644
--- a/dev-python/numexpr/Manifest
+++ b/dev-python/numexpr/Manifest
@@ -2,23 +2,25 @@
Hash: SHA256
DIST numexpr-1.4.2.tar.gz 64172 RMD160 30528db9e097632fe4350d0eb677298317ba72fa SHA1 9874be16e404d1d8550c2fd14b61a4520a387153 SHA256 38f73f0402bca52566186dbeca586989617c02f8f23a31085cf27eb5fd654967
+DIST numexpr-2.0.tar.gz 67696 RMD160 a9cd0b593b7a6959984ed254880aeb316c835078 SHA1 a3bd3e5bd61fbf7fde1a4fc917fc6658864f6a11 SHA256 4f28224db3c308ef80f2aa4346dc920047514e461d004db68efd103e8f3e2c40
EBUILD numexpr-1.4.2.ebuild 1262 RMD160 57a67e1c03bfcca41983440d5836445fe7bb51e4 SHA1 ba822e26b810befd50176be93e1960cae78f44a3 SHA256 d181c0373ea791cfa4a140e8d7706f119afe9250ab4e12c3723c7549212e8510
-MISC ChangeLog 1171 RMD160 c444f924e593d9d403088322923a85a965322d84 SHA1 4767f9feedee915175f6664eb516a2c2d789ce63 SHA256 9e0331d317c31c6a273629a7261cf29a2528d9011cd91fb967dcb56761b493b4
+EBUILD numexpr-2.0.ebuild 1260 RMD160 52f32442fee1ab6388f831cf4f600c514b5b273e SHA1 0edfe0f508c6ade74b487cc5802f2d8d99b60914 SHA256 ef1a519c005b6f4ea1adf4aa77a43b7dae4f0ce0909bb474c7894b6030d53cca
+MISC ChangeLog 1290 RMD160 2e1dffad5fb8001c1abd670a876b5bfc47e09349 SHA1 ce3dcf1bda8ab18032b073158544f61b85010829 SHA256 f0c205c2de7354f37764e5e73856164b9d09b75aa3d68758e133ba588481bb60
MISC metadata.xml 848 RMD160 d84291f282435fe33cfa450a70428e61295615f6 SHA1 50f20f72ee160883d6a1bcc3495c96c84c79c2c6 SHA256 5728f3498740e605636316fe6dd7277aa226f6a4cd2970b7ead5992087884f5f
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iQIcBAEBCAAGBQJOz2CHAAoJEF0huFKJUZL5n/sQAKgFEsLFHIpTjYhF7a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hlXkXKEyIzfFX2lT
+WKRqurVWREANdkAUOEnogEZVh4rReiTGPlFBxnkrJlD2487pxdhpO71tEPLzY6Ax
+8fGebcTmv1C6qHxKLgRWja3Ly4ZZ2j9f2XaLE9jnvUblmUXVoltnXaWl1+eUNydv
+n2/rirHyOUppPPDqI+Mw+oRZWTp7OFbkARUieWF/LJw+qiZTxFJwWaYmB15MsQvZ
+sBTr1BiLV733bQEzZ3DQhoimSx0fUrw4wLcRMB7VTi9em3yUlSBUyQEjmDQSrzy6
+qh5XsMUCmycAXxlozOvsHpg7oXh6aSpS5F9YAlPGqJNB7RPtd12S79GYU0H3VVoS
+knbOtCBkIVUMVGuTLG+i
+=zMaR
-----END PGP SIGNATURE-----
diff --git a/dev-python/numexpr/numexpr-2.0.ebuild b/dev-python/numexpr/numexpr-2.0.ebuild
new file mode 100644
index 000000000000..e2f5f5649e48
--- /dev/null
+++ b/dev-python/numexpr/numexpr-2.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/numexpr/numexpr-2.0.ebuild,v 1.1 2011/11/27 12:13:16 xarthisius Exp $
+
+EAPI=3
+
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+
+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 ~amd64-linux ~x86-linux"
+IUSE="mkl"
+
+RDEPEND="dev-python/numpy
+ mkl? ( sci-libs/mkl )"
+DEPEND="${RDEPEND}
+ dev-python/setuptools"
+
+src_prepare() {
+ # 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 ext
+ use amd64 && ext=_lp64
+ cat <<- EOF > "${S}"/site.cfg
+ [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
+}
+
+src_test() {
+ testing() {
+ PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" \
+ "$(PYTHON)" ${PN}/tests/test_${PN}.py
+ }
+ python_execute_function testing
+}