summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2014-04-14 17:17:01 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2014-04-14 17:17:01 +0000
commit767e7064a6b012e5ed846e64676616c36df1faeb (patch)
tree22a4fc52efc800ccbf3552c328a38eab0c3a9b10 /dev-python/numexpr
parentVersion bump (diff)
downloadgentoo-2-767e7064a6b012e5ed846e64676616c36df1faeb.tar.gz
gentoo-2-767e7064a6b012e5ed846e64676616c36df1faeb.tar.bz2
gentoo-2-767e7064a6b012e5ed846e64676616c36df1faeb.zip
Version bump
(Portage version: 2.2.8-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
Diffstat (limited to 'dev-python/numexpr')
-rw-r--r--dev-python/numexpr/ChangeLog7
-rw-r--r--dev-python/numexpr/numexpr-2.4.ebuild48
2 files changed, 54 insertions, 1 deletions
diff --git a/dev-python/numexpr/ChangeLog b/dev-python/numexpr/ChangeLog
index 1bbb5e3fed8b..facdca5a5f24 100644
--- a/dev-python/numexpr/ChangeLog
+++ b/dev-python/numexpr/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/numexpr
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/numexpr/ChangeLog,v 1.22 2014/02/21 23:08:23 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/numexpr/ChangeLog,v 1.23 2014/04/14 17:17:01 bicatali Exp $
+
+*numexpr-2.4 (14 Apr 2014)
+
+ 14 Apr 2014; Sébastien Fabbro <bicatali@gentoo.org> +numexpr-2.4.ebuild:
+ Version bump
21 Feb 2014; Sébastien Fabbro <bicatali@gentoo.org> metadata.xml,
numexpr-2.3.1.ebuild:
diff --git a/dev-python/numexpr/numexpr-2.4.ebuild b/dev-python/numexpr/numexpr-2.4.ebuild
new file mode 100644
index 000000000000..1b798c60dafb
--- /dev/null
+++ b/dev-python/numexpr/numexpr-2.4.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/numexpr/numexpr-2.4.ebuild,v 1.1 2014/04/14 17:17:01 bicatali Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
+
+inherit distutils-r1
+
+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[${PYTHON_USEDEP}]
+ mkl? ( sci-libs/mkl )"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+
+DOCS=( ANNOUNCE.rst AUTHORS.txt README.rst RELEASE_NOTES.rst )
+
+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 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
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ cd "${BUILD_DIR}"/lib* || die
+ "${PYTHON}" -c "import numexpr; numexpr.test()" || die
+}