diff options
-rw-r--r-- | dev-python/numpy/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/numpy/Manifest | 26 | ||||
-rw-r--r-- | dev-python/numpy/numpy-1.9.1.ebuild | 146 |
3 files changed, 155 insertions, 24 deletions
diff --git a/dev-python/numpy/ChangeLog b/dev-python/numpy/ChangeLog index 1eaafc60cde2..3bb669c9d3bb 100644 --- a/dev-python/numpy/ChangeLog +++ b/dev-python/numpy/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/numpy # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/numpy/ChangeLog,v 1.242 2014/10/21 08:03:21 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/numpy/ChangeLog,v 1.243 2014/11/05 05:23:13 patrick Exp $ + +*numpy-1.9.1 (05 Nov 2014) + + 05 Nov 2014; Patrick Lauer <patrick@gentoo.org> +numpy-1.9.1.ebuild: + Bump *numpy-1.9.0-r1 (21 Oct 2014) diff --git a/dev-python/numpy/Manifest b/dev-python/numpy/Manifest index a0924fdf2427..86b8227c6ffa 100644 --- a/dev-python/numpy/Manifest +++ b/dev-python/numpy/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA512 - AUX numpy-1.8.0-f2py-insecure-temporary.patch 7232 SHA256 3e10992bcb67bedb61d07c6679e66b02de4e0cde5cb7c60034a5aafdaab9f337 SHA512 509e75d3c0a0c0afcbd57545078fb3cbc3ec611429560b9f70529a9dfb36ec13a942e3cf8ae39463be36fc5bcd6aee68445559e03801cc11ccca3a69ccf556f0 WHIRLPOOL 3653cf024f8f2c67704e3ca2501553437a41103bf2b87a1c0f43e1bd4a8364ae90a6322fa59971b26dd488a62de4fccad1109ea5059fd8ac1226c7319dfa9011 AUX numpy-1.8.0-no-hardcode-blas.patch 1153 SHA256 ad79d788189db97178b73f019a47c502bb9297ae7a1b248da878f3f91ab8af3b SHA512 baa29a0c981ede608d890e776026961fb71156eb7804f702623bce775e3b6ce3bb28ced252d9c6fe991429b690b3eef8468d703f79247820527648d6484d23f3 WHIRLPOOL 38db4618b8fe505b711270b9050c56c1541c2fc3094b02ef6a45e776d56f54fd82b79ddc1b65721e0ac08949c6b9354da8c6ae0437b77e3b474ca941d44de9bb AUX numpy-1.9.0-OO.patch 2982 SHA256 4e286ed06bcf3958738a58da16a6b88b7ca461ff51f6df3cd55b6149e1016e53 SHA512 b6cea5d12807e063939863368533695148d93f6cf504dac621900ca92a19d817cfc3333381de310f1248575a7b8e1967c92dae9a43cd5344d26b46525b7bea0a WHIRLPOOL 50cd53ef5b478e2c93323569bb818ecc95519ca7f876cf67f947498d69c6da56eb029cafc4251267e1d65013d4ddf959f8d0f1f9075418f18252f91cc423434e @@ -9,6 +6,7 @@ DIST numpy-1.8.0.tar.gz 3779617 SHA256 2764d0819acc77e9ff81b060fe7f69530b0d85c26 DIST numpy-1.8.1.tar.gz 3794076 SHA256 3d722fc3ac922a34c50183683e828052cd9bb7e9134a95098441297d7ea1c7a9 SHA512 39ef9e13f8681a2c2ba3d74ab96fd28c5669e653308fd1549f262921814fa7c276ce6d9fb65ef135006584c608bdf3db198d43f66c9286fc7b3c79803dbc1f57 WHIRLPOOL 10615c0c70c153156034447e9c3f2b70b0259173a44af3b5cc641dd31c0af71ef1053a9cc7938deff5edb899ae2666b2b3109491d7394f03d1a81cb19722d398 DIST numpy-1.8.2.tar.gz 3792998 SHA256 6d487fc724780d66746bde264ea71f5cd77d3a39e52ee2b073dcaed63bc669db SHA512 996e6b8e2d42f223e44660f56bf73eb8ab124f400d89218f8f5e4d7c9860ada44a4d7c54526137b0695c7a10f36e8834fbf0d42b7cb20bcdb5d5c245d673385c WHIRLPOOL 0d3a05b1e3c0a1ceb0a7b4818406dbb45506e5f25bc2727d4ff44cc0a0520e6556b3c68ae24dbca37ba9d67ae2defbb3ff9c906d4c2635b29ed44452d70e8311 DIST numpy-1.9.0.tar.gz 3962108 SHA256 2745b1d64445da3c29a34450320025c11897ae4af77475f861966e98b2cb1a0f SHA512 dc9fb453367bd429336ed7391c0923d0d3af5f8ab26ef8681bc1a9e934ac28e2c9bc30e11f1026c2ea5710a3c4e27188007ee14b194bfca6a03228fad8f3d2fd WHIRLPOOL 5111f5cbb43bd279587f858196fbe86103abde7e8d6536337af51fe4a8371d39057d9ea75ac73ab501ff5c07c5c6e7e4e62f660ca263181e2fee3e6e61718ba9 +DIST numpy-1.9.1.tar.gz 3978007 SHA256 0075bbe07e30b659ae4415446f45812dc1b96121a493a4a1f8b1ba77b75b1e1c SHA512 8286a55f4bd5f9c16b1252ee64a644fe4a03758d31ef2e16714c2f5c61d96f766fb6ffc98986c58e1db1c2b812a2d10e89eae3442263615e46472418c2d4edd4 WHIRLPOOL 9025fee798b2e0b23af4c5870fd12606de65c91a176e2900ca93ed853767165dfbe7344125aba19a58d031f82880d6347095070ed3585deb8866819c32422751 DIST numpy-html-1.8.0.zip 9779825 SHA256 39e853c1aaa711976333782f465f2579ca66e6698393f6ba79f5cc78317b1203 SHA512 33333c48a3f4d27ccddf6696dce4e346f8729d1f398128b3bfebb8a9d53ded7bb62b63a766319f6e49ba7cf8ca4e1ce252996acd263976ad2990bf9650d71043 WHIRLPOOL 7eea0ad3418c55d6104a4a115fcdcd5eeb291b9fc1237724e10dcbbf95bc7a4a23b519c64976ac405fb4c5abbaae87a6c747f9ad695d08b6326b459ba1fb8a15 DIST numpy-html-1.8.1.zip 9703711 SHA256 f7fc3af4dba7b40deabd1828a86ea2e2eb5b9fa17c7ebddd73ee4cb8625105b1 SHA512 1d52c657931f4eebb5325159444aedd969b201f5098855058f1ef632dc8677372d632291154ebc3db9869cdb8abf7eb820eade1a9edba2d6be1ae918cb38c071 WHIRLPOOL e502b1416bad4b189773ba98035dfbeed0dc251d8f9b76e336450f14e8425caf92d55d2b1c2cc5ef9eb2d33eb2bf7cd55e720c1b265e45539b195fea1d7f046c DIST numpy-ref-1.8.0.pdf 5324229 SHA256 49ecb1d768eb48598439cc63058f830ca3522fe1cfeba1a321086e9820ae8911 SHA512 d89314215c4adefa487b3e46b2babeda7739ee193fef821846d4df0089fabf2167b47dd2990b6bd423432f75238547548924622c6f3b9a90a36d578450001eb2 WHIRLPOOL 3bb12c719cbe4734014774f1bfc3f98af544ee2c407adb2e3ee988e2b1035ad0ef711eaa68168656be7b034df2db76c8789daa2940a048b4a6cb3af0bb0eca68 @@ -20,24 +18,6 @@ EBUILD numpy-1.8.1.ebuild 3987 SHA256 4a5ba6155429bc3d9a0fef97c565d504d02ea500e0 EBUILD numpy-1.8.2.ebuild 4075 SHA256 0dc561d89bc1f8fc57566dfbacb97427c5461699d77a3df6dc8fa1e49723de56 SHA512 d063ce8d8e0935b66da9fb509ef7ab2273c37bd314fb3f7a93e7de3b64b5f9d8551483eb827978c0283a2866380610a4fd60cf99dac888c9065f239846c8ddd0 WHIRLPOOL 5d501b3fc985fb2d5dbfc610c6e3c45332fcb500974eb766e0c7cf69a288e50a1cc7654e0a32bd24e2732e223e506010f2665536c671fd0e4d1813d635e32945 EBUILD numpy-1.9.0-r1.ebuild 4219 SHA256 46422537f329f32ce0896f3cc6846068aae0623a0404fe634e56cbbb7891d785 SHA512 cc0cb2f159adf8526eed95c6ebeaa26e4330da0249f6b727403f0ff41efed093a2a55c25bffa1530b879b0d53cbf1d0d6ed99ee0b79f559c77838f8e335655ae WHIRLPOOL cea348043dafc2155b6bee8536475b828831ec11b5f727be05ff125f1a136733fe2c76cab0b9ad22b3768b00cba7efcf9f8e9995d762b892d72a1314864aa0c6 EBUILD numpy-1.9.0.ebuild 4095 SHA256 861cd76de3bcb4f6d0b57e33a70c86141015e760f8aa515ef84b62b883cb1947 SHA512 e554428287c726b1470081ce6d12f770141dc97469b1a40cfd972f4454d2683d9a4ee92a7ef98bc4dac2e2369820a33b50a513074728faac46f309620f109b52 WHIRLPOOL 1a24e5a4a06393b969369f12dc7b797ca8b329a4499838517baae1472f7cf5b663eb4e841aaadb66d3612617fe82f3568c5e369c5b51485737bb85c196f1464d -MISC ChangeLog 33724 SHA256 25583e05fe1f700e91a475e301542b58c385d8344a9bbd4dbd91bdebe8657f3e SHA512 0c2f706a4c9cd9a6f0a45c3e95b61a92aa9a971cc66c93684f3b4e2264d2edde1b4fc2f96d34a1af1cdc1cf40de1db5fe75ef3b7fbd18af08a3e5f8e5bdd2a29 WHIRLPOOL 554815a4cb3a3f2401b7ec305f7377c44fe83033e54892e85e3b9fd4b7d2564e03304a3bf44a515173ca971c5c28871d93e1d0f44e4b2682425bea9d7a95d1b6 +EBUILD numpy-1.9.1.ebuild 4095 SHA256 d7a16260dbfe8b246d402d7bb508ef0d0ce0c8172b236eb04ecff328ed7ebedc SHA512 144e106838b4f05a2954d674e934b61b591f6b80e19939eea269862578e913591767cd42b2b1a10e1e9228bf2985d80debbea61037aeb27a2d1559a82fde2bf7 WHIRLPOOL 1918b609053240e78a72ea44c0cae2850c6b5f4459c9e8355a64ef6658427115aef3d3d93c87fa7b2385596fdd5c8677d2cd4e366665a8ac4a3d75ce956d7c8b +MISC ChangeLog 33834 SHA256 02f04efb03c04084a7232da4722c851aecc2bf593c42b8a7578cd00aba531ae0 SHA512 6b45e2457724944225a489c4a6a2c5326ba65d8ed28650ae808c97ca52adce171097aa74909078c7262d784004a98476b27cffb5895250e379d362ce1634f06a WHIRLPOOL aac6d8114e193a9a0836791e8564c3a7e61c49a73f7809ba95152195ac4d48c7052596d0c4c744bef54c3cf577416c06c6d69ecbb04fc9d1891602fe296fa5da MISC metadata.xml 690 SHA256 9c315188497956a9b1e2a1373f7830f702cf9b588aabc33a3f5547ab75b20a84 SHA512 1adcf955fdc7f06b56a69c6345b79a4fb0ca0df17cfdcd1f3604a234389534f8f00b88ebddb3e47a39d563d7374d40349c3e4050799a31405446a1629f8c7698 WHIRLPOOL e2b34ab0b391c99a279dd11de292aafd9225f9743ec3bafafd980edb7522e772cde461705d5394569aa8dd73e72a210560eb50a23b2334ab5c12ec064099abd1 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0 - -iQJ8BAEBCgBmBQJURhNKXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w -ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQyQ0JDQjFGMzBDQ0UxMjFGNENDNDgxMDdC -OUQ0RjIzMUJEMTU1OEFCAAoJELnU8jG9FVirNeQQAJgasf+/lRxKw32HsiR7MJqi -AJGUKLiw6H8EFikyt4R7M8nMHsfFwmC5039ByJKQNe4xdDxfWMlW3P0FSre84rdK -ajccgjFEOGytUcLhYiChny7ej9sbrbftY80FGxbkphbX4czO97AH0eBqSPOjHCt9 -XPi74ylRONiyH2/XPem34XwBbwp/FZEFUY0eyiCvVDQRC6wESsJxCRoxIzeFcaR1 -y2s17J/Wmc/hPGbX9B7NM6Vt88d6ZBF4X80jExPnXS+kgl5a0SuUJ18nIvU3AZ4N -zrZd1PxoOQpXe0nO+yexl2nxQ0mWeawphswV63fBq3aJWx5Tjqd107U9Ydb7cxUR -eLIeGxyrfq9CyecT+wMU78sy+tqFfovW0u3du2gTma4aSrs/+ie50gNe5YXSCEkN -Vh3goV5Z+fdDTBCZ4cpLhqli5788ilU2iNGp7pCEc5H8uUWQb/cbGByC37I8cOhM -fPO5lN7tg7kA9c5nvGUU51A9j8IVluTnqJR3nOCs++JAsch2mjp3+MTge8zn/5eT -MrUQ09M2j3vmgNE45MdBdbQcDp/kgeJwS/Xz9Cd/U8sAmImqVjs3gSGq4kdZ1mW/ -DynnAAmB0X+Mjw0l406/Xl0Auvrub11tugJuwFx8uP7bVM5wCrQPH3xjIWZ1gJ3f -94knoXTP86iA6RpKAPOA -=hGCR ------END PGP SIGNATURE----- diff --git a/dev-python/numpy/numpy-1.9.1.ebuild b/dev-python/numpy/numpy-1.9.1.ebuild new file mode 100644 index 000000000000..1c2ef20fbb47 --- /dev/null +++ b/dev-python/numpy/numpy-1.9.1.ebuild @@ -0,0 +1,146 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/numpy/numpy-1.9.1.ebuild,v 1.1 2014/11/05 05:23:13 patrick Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} ) + +FORTRAN_NEEDED=lapack + +inherit distutils-r1 eutils flag-o-matic fortran-2 multilib toolchain-funcs versionator + +DOC_PV="1.8.1" +DOC_P="${PN}-${DOC_PV}" + +DESCRIPTION="Fast array and numerical python library" +HOMEPAGE="http://numpy.scipy.org/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz + doc? ( + http://docs.scipy.org/doc/${DOC_P}/${PN}-html-${DOC_PV}.zip + http://docs.scipy.org/doc/${DOC_P}/${PN}-ref-${DOC_PV}.pdf + http://docs.scipy.org/doc/${DOC_P}/${PN}-user-${DOC_PV}.pdf + )" +# It appears the docs haven't been upgraded, still @ 1.8.1 +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="doc lapack test" + +RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + lapack? ( virtual/cblas virtual/lapack )" +DEPEND="${RDEPEND} + doc? ( app-arch/unzip ) + lapack? ( virtual/pkgconfig ) + test? ( dev-python/nose[${PYTHON_USEDEP}] )" + +# Uses distutils.command.config. +DISTUTILS_IN_SOURCE_BUILD=1 + +PATCHES=( + "${FILESDIR}"/${PN}-1.9.0-no-hardcode-blas.patch +) + +src_unpack() { + default + if use doc; then + unzip -qo "${DISTDIR}"/${PN}-html-${DOC_PV}.zip -d html || die + fi +} + +pc_incdir() { + $(tc-getPKG_CONFIG) --cflags-only-I $@ | \ + sed -e 's/^-I//' -e 's/[ ]*-I/:/g' -e 's/[ ]*$//' -e 's|^:||' +} + +pc_libdir() { + $(tc-getPKG_CONFIG) --libs-only-L $@ | \ + sed -e 's/^-L//' -e 's/[ ]*-L/:/g' -e 's/[ ]*$//' -e 's|^:||' +} + +pc_libs() { + $(tc-getPKG_CONFIG) --libs-only-l $@ | \ + sed -e 's/[ ]-l*\(pthread\|m\)\([ ]\|$\)//g' \ + -e 's/^-l//' -e 's/[ ]*-l/,/g' -e 's/[ ]*$//' \ + | tr ',' '\n' | sort -u | tr '\n' ',' | sed -e 's|,$||' +} + +python_prepare_all() { + if use lapack; then + append-ldflags "$($(tc-getPKG_CONFIG) --libs-only-other cblas lapack)" + local libdir="${EPREFIX}"/usr/$(get_libdir) + # make sure _dotblas.so gets built + sed -i -e '/NO_ATLAS_INFO/,+1d' numpy/core/setup.py || die + cat >> site.cfg <<-EOF + [blas] + include_dirs = $(pc_incdir cblas) + library_dirs = $(pc_libdir cblas blas):${libdir} + blas_libs = $(pc_libs cblas blas) + [lapack] + library_dirs = $(pc_libdir lapack):${libdir} + lapack_libs = $(pc_libs lapack) + EOF + else + export {ATLAS,PTATLAS,BLAS,LAPACK,MKL}=None + fi + + export CC="$(tc-getCC) ${CFLAGS}" + + append-flags -fno-strict-aliasing + + # See progress in http://projects.scipy.org/scipy/numpy/ticket/573 + # with the subtle difference that we don't want to break Darwin where + # -shared is not a valid linker argument + if [[ ${CHOST} != *-darwin* ]]; then + append-ldflags -shared + fi + + # only one fortran to link with: + # linking with cblas and lapack library will force + # autodetecting and linking to all available fortran compilers + append-fflags -fPIC + if use lapack; then + NUMPY_FCONFIG="config_fc --noopt --noarch" + # workaround bug 335908 + [[ $(tc-getFC) == *gfortran* ]] && NUMPY_FCONFIG+=" --fcompiler=gnu95" + fi + + # don't version f2py, we will handle it. + sed -i -e '/f2py_exe/s:+os\.path.*$::' numpy/f2py/setup.py || die + + distutils-r1_python_prepare_all +} + +python_compile() { + distutils-r1_python_compile ${NUMPY_FCONFIG} +} + +python_test() { + distutils_install_for_testing ${NUMPY_FCONFIG} + + cd "${TMPDIR}" || die + ${EPYTHON} -c " +import numpy, sys +r = numpy.test(label='full', verbose=3) +sys.exit(0 if r.wasSuccessful() else 1)" || die "Tests fail with ${EPYTHON}" +} + +python_install() { + distutils-r1_python_install ${NUMPY_FCONFIG} +} + +python_install_all() { + distutils-r1_python_install_all + + dodoc COMPATIBILITY DEV_README.txt THANKS.txt + + if use doc; then + dohtml -r "${WORKDIR}"/html/* + dodoc "${DISTDIR}"/${PN}-{user,ref}-${DOC_PV}.pdf + fi + + # absent in 1.9 + #docinto f2py + #dodoc numpy/f2py/docs/*.txt + #doman numpy/f2py/f2py.1 +} |