diff options
author | Ian Delaney <idella4@gentoo.org> | 2015-05-18 10:21:28 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2015-05-18 10:21:28 +0000 |
commit | 0b2323c9f84e9430db7ad2082805adf3d3678c8d (patch) | |
tree | d2c66c99be1ce51e7a9698cdb4ed6188303f779d /dev-python/numexpr | |
parent | Stable for amd64, wrt bug #549356 (diff) | |
download | historical-0b2323c9f84e9430db7ad2082805adf3d3678c8d.tar.gz historical-0b2323c9f84e9430db7ad2082805adf3d3678c8d.tar.bz2 historical-0b2323c9f84e9430db7ad2082805adf3d3678c8d.zip |
bump; fix build issue under py2
Package-Manager: portage-2.2.18/cvs/Linux x86_64
Manifest-Sign-Key: 0xB8072B0D
Diffstat (limited to 'dev-python/numexpr')
-rw-r--r-- | dev-python/numexpr/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/numexpr/Manifest | 14 | ||||
-rw-r--r-- | dev-python/numexpr/numexpr-2.4.3.ebuild | 54 |
3 files changed, 69 insertions, 6 deletions
diff --git a/dev-python/numexpr/ChangeLog b/dev-python/numexpr/ChangeLog index 2e11682101a6..64f8ac13cd2d 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.29 2015/04/20 04:21:19 idella4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/numexpr/ChangeLog,v 1.30 2015/05/18 10:21:05 idella4 Exp $ + +*numexpr-2.4.3 (18 May 2015) + + 18 May 2015; Ian Delaney <idella4@gentoo.org> +numexpr-2.4.3.ebuild: + bump; fix build issue under py2 *numexpr-2.4.1 (20 Apr 2015) diff --git a/dev-python/numexpr/Manifest b/dev-python/numexpr/Manifest index 351ac6c0f45c..4c460492123a 100644 --- a/dev-python/numexpr/Manifest +++ b/dev-python/numexpr/Manifest @@ -2,15 +2,19 @@ Hash: SHA256 DIST numexpr-2.4.1.tar.gz 84990 SHA256 5b53a9e9e50f33e2e562b4ae9f88066c9e54a3bd7c144d29d0067b87856815b4 SHA512 d5aa34532dd1a504b3c78cff07def4114201560c04ce30d033a4701eb95961c53582b71291569cd10f22d50b00edc5dbb4e1b6454d8597c68f231c9c576471b7 WHIRLPOOL 9bfde967bc772111e1cc4a8e5931dc31896b7da4b43c33b8ae7bb3701f782e895b434ee4cddabe2a90abfe90cc240322b92dc224b7917123d90f2d9f9044cea4 +DIST numexpr-2.4.3.tar.gz 85171 SHA256 3ae7191c89df40db6b0a8637a4dace7c5956bc910793a53225f985f3b443c722 SHA512 b33984072fddd4303980be8533e1348b48ff27de5e150029147e3666ce6bb9e1147dbc45eb0ef22506aebaea6fb366d65ff01221235f9b9935d78ea70ba9aa53 WHIRLPOOL ac5981bac643b825d6ab2fbd6c46b6d73ad62374490e5f05a71fc0b9c4269ab401617da98079e1604b11f454863e64e009a2acc00b7b30499b20eff73efe033f DIST numexpr-2.4.tar.gz 84770 SHA256 1b63a5ce11c10d36433e2a74e2e4c360a4e004618507778881659e80a912fc58 SHA512 bebc3e81505f4c2e7d3c6f7cf2c02fe1ce07186c81de743db43399f2f81a135125a675dbd7a631fea55aaea1d092ab9a84539676027ce31f6fb7b1fca23cf253 WHIRLPOOL 1cf2e98f8e092505c1098f0c55a1b05488146164afa3bfec351cbe8ed44fa401edab503884ffa2b599a5a8db86e4bda94229a6d147aba60f554141ec85f37273 EBUILD numexpr-2.4.1.ebuild 1280 SHA256 d8234d02506779c44b49fefac786882ca7b7943ba5a2cd9c9170ca3eace9d310 SHA512 b098a6f62d3290beb32510c9e218edbd3cad027914e9eade71b7f644b50898fbc59c1a632cf489c309b9aa2c5000ceb932878a583b1e540e81c2d235f86a81a6 WHIRLPOOL e916a099c6c95cf7b4287ccbfd8f7c267df3375221eb0cb749cbab33804fa9f15273d473f7153b9d6dee8fae0537f95c00bc8528bc2ddb2f4f9610992c03be39 +EBUILD numexpr-2.4.3.ebuild 1468 SHA256 9a878193e046e37f24435b7645a363e26286c7994935255b3ea51341c6fae13f SHA512 e5aacf6af130591106c2f673dd9cc69e3b16bd8d7d96c26c05fc328fb01fe42833c3247d757dd02f13c1567acf6aa36864b8794b630d843d899c4654608c323f WHIRLPOOL d0bdcefcfeef1035167e59089a3ec80d4ac55b73d83327367e53c0ca846039a947402cb7a9ea57229766ad6eef41afd468f5160129b6cfc33d51a85a84662462 EBUILD numexpr-2.4.ebuild 1275 SHA256 5a70b8d2a79dae3766045ecdd471a2c7065c2b370029e145e4c6cc3c04cf795f SHA512 a7b35f3a986d110a7d529bb96a1e28819a2dbe8eece3e1087fb0db32a4598364dfd50703f00bdc1be98b7a78b6ad17dedb3cf189aa1666b333c8168097dea8ba WHIRLPOOL 8a2f0bd47c9ebe2eda11e18659c5b1fb6871c4cf89c9b04b3dd35dd6fdf5c7d64f0117576b28d6b9dd7687dd7c544f4d4be8312231a5d34b126be6c25c0fee1e -MISC ChangeLog 3884 SHA256 8fd425f06603f9089f3d2d6de9d4c4d629764596688de4bc55d114d7ffc89acb SHA512 2d2853db32b7015a8036f1b9caa52c5fa793d381627156ab0dc6f47aa4eb8d2d08495ed47a66b2cf026ef59e8e333afc76271388879a73712e467b951a74fcb7 WHIRLPOOL 54c6081f317292165c68ae7c6a158611fe02cccfad65d66f4bec8841a31175a6e1759b12357511308b08187ec5621b291adfee6a7e6c4bc345f99c2a68f5c8a7 +MISC ChangeLog 4020 SHA256 50a30eeeb7b72ac865935e05a1666529b38173e599b78f99f1b374bcf9655c29 SHA512 2029a1e896419f8504068238c1936c7aed3440678cffdba81e24bd92ab06b83a5fe37a5a35f8edadc5920a5644b1ce32bd199891a13d808d209fec68c54c8cff WHIRLPOOL 82d2b0eaa0185ac06a1cc7e866d7bc07fa964540ff021e11d7cf44ed1eb733780f3220f04022c07dff50d4d4077dda047d47e95681c3051e12eb2dd7d8d66264 MISC metadata.xml 844 SHA256 779c972c7aefc2b8e742a6f50e7f4b922d3df9fb853962bd1b9c3f25b9549d1f SHA512 8ff185a9f14f5d8f6dd06c66890c32e928800957780ac5c15e2066ffe773205dcead0f76264e1fa03bc5d53e6cfd864cd0486d060ff07cdb6415b7a8a145e209 WHIRLPOOL 69825d35732355e86067c8c5c6d219a9de9238b303069868c836b107735046eb078e86179692aa07a62ca0b302e8455e9aaacdb34ddc9f5b1d15f8fa6a62dcd9 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2 +Version: GnuPG v2.0 -iEYEAREIAAYFAlU0fs4ACgkQso7CE7gHKw3vUgCfQmvfpFZREyFzSCxsxSj6S/Wx -NEUAoK2VA+chdBGelwonAI3WuvGbU67z -=w0ow +iKYEAREIAGYFAlVZvSBfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl +bnBncC5maWZ0aGhvcnNlbWFuLm5ldDdDQUM1OUY0ODkzMERBREU1NUQ1RjJBRkIy +OEVDMjEzQjgwNzJCMEQACgkQso7CE7gHKw3KbACgnilgcOWcduRheix0oibqk/kS +vjoAn2GOZVMIRhulUxTcF+sZzqcqjJcJ +=ehpV -----END PGP SIGNATURE----- diff --git a/dev-python/numexpr/numexpr-2.4.3.ebuild b/dev-python/numexpr/numexpr-2.4.3.ebuild new file mode 100644 index 000000000000..cc560a140dbf --- /dev/null +++ b/dev-python/numexpr/numexpr-2.4.3.ebuild @@ -0,0 +1,54 @@ +# 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.3.ebuild,v 1.1 2015/05/18 10:21:05 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-1.6[${PYTHON_USEDEP}] + mkl? ( sci-libs/mkl )" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" + +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_compile() { + python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing" + distutils-r1_python_compile +} + +python_test() { + # https://github.com/pydata/numexpr/issues/177 + # there are 2 known test failures under py3 only + pushd "${BUILD_DIR}"/lib > /dev/null + "${PYTHON}" -c "import numexpr; numexpr.test()" || die + pushd > /dev/null +} |