diff options
author | Ian Delaney <idella4@gentoo.org> | 2015-04-20 04:21:19 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2015-04-20 04:21:19 +0000 |
commit | 509500a26527acdf27189eefd8613fe906f05fe3 (patch) | |
tree | 0b2768ca46c5c0685f83450df4bc1ac814ef828a /dev-python/numexpr | |
parent | improve desktop entry name (diff) | |
download | gentoo-2-509500a26527acdf27189eefd8613fe906f05fe3.tar.gz gentoo-2-509500a26527acdf27189eefd8613fe906f05fe3.tar.bz2 gentoo-2-509500a26527acdf27189eefd8613fe906f05fe3.zip |
bump
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'dev-python/numexpr')
-rw-r--r-- | dev-python/numexpr/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/numexpr/numexpr-2.4.1.ebuild | 48 |
2 files changed, 54 insertions, 1 deletions
diff --git a/dev-python/numexpr/ChangeLog b/dev-python/numexpr/ChangeLog index 7258c39a354a..2e11682101a6 100644 --- a/dev-python/numexpr/ChangeLog +++ b/dev-python/numexpr/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/numexpr # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/numexpr/ChangeLog,v 1.28 2015/04/08 08:05:22 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/numexpr/ChangeLog,v 1.29 2015/04/20 04:21:19 idella4 Exp $ + +*numexpr-2.4.1 (20 Apr 2015) + + 20 Apr 2015; Ian Delaney <idella4@gentoo.org> +numexpr-2.4.1.ebuild: + bump 08 Apr 2015; Michał Górny <mgorny@gentoo.org> numexpr-2.4.ebuild: Drop old Python implementations diff --git a/dev-python/numexpr/numexpr-2.4.1.ebuild b/dev-python/numexpr/numexpr-2.4.1.ebuild new file mode 100644 index 000000000000..17cc441bf851 --- /dev/null +++ b/dev-python/numexpr/numexpr-2.4.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/numexpr/numexpr-2.4.1.ebuild,v 1.1 2015/04/20 04:21:19 idella4 Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) + +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 +} |