summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2013-10-21 08:07:32 +0000
committerPatrick Lauer <patrick@gentoo.org>2013-10-21 08:07:32 +0000
commitf6bb5ad4e97683f2d125fcb117a25373860746d5 (patch)
treec496ff9ba30086531c6323f02fd51fc0525a7c8b /dev-python/numexpr
parentBump (diff)
downloadgentoo-2-f6bb5ad4e97683f2d125fcb117a25373860746d5.tar.gz
gentoo-2-f6bb5ad4e97683f2d125fcb117a25373860746d5.tar.bz2
gentoo-2-f6bb5ad4e97683f2d125fcb117a25373860746d5.zip
Bump
(Portage version: 2.2.7/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-python/numexpr')
-rw-r--r--dev-python/numexpr/ChangeLog7
-rw-r--r--dev-python/numexpr/numexpr-2.2.2.ebuild46
2 files changed, 52 insertions, 1 deletions
diff --git a/dev-python/numexpr/ChangeLog b/dev-python/numexpr/ChangeLog
index 857b6c6545b7..e20af6016745 100644
--- a/dev-python/numexpr/ChangeLog
+++ b/dev-python/numexpr/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/numexpr
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/numexpr/ChangeLog,v 1.13 2013/09/01 16:15:08 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/numexpr/ChangeLog,v 1.14 2013/10/21 08:07:32 patrick Exp $
+
+*numexpr-2.2.2 (21 Oct 2013)
+
+ 21 Oct 2013; Patrick Lauer <patrick@gentoo.org> +numexpr-2.2.2.ebuild:
+ Bump
*numexpr-2.2 (01 Sep 2013)
diff --git a/dev-python/numexpr/numexpr-2.2.2.ebuild b/dev-python/numexpr/numexpr-2.2.2.ebuild
new file mode 100644
index 000000000000..dcaa3ee8e7f7
--- /dev/null
+++ b/dev-python/numexpr/numexpr-2.2.2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/numexpr/numexpr-2.2.2.ebuild,v 1.1 2013/10/21 08:07:32 patrick 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="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-1.7.1[${PYTHON_USEDEP}]
+ mkl? ( sci-libs/mkl )"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+
+DOCS=( ANNOUNCE.txt AUTHORS.txt README.txt RELEASE_NOTES.txt )
+
+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
+}
+
+python_test() {
+ cd "${BUILD_DIR}"/lib* || die
+ "${PYTHON}" -c "import numexpr; numexpr.test()" || die
+}