summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2012-10-29 14:35:29 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2012-10-29 14:35:29 +0000
commit6164f8f8ce12aa075f30b548aeb732afc7a59bb6 (patch)
tree746806e4c8587cea4dfc68cbd663a49ca9536b12 /sci-libs
parentVersion bump from bug #437556 (diff)
downloadhistorical-6164f8f8ce12aa075f30b548aeb732afc7a59bb6.tar.gz
historical-6164f8f8ce12aa075f30b548aeb732afc7a59bb6.tar.bz2
historical-6164f8f8ce12aa075f30b548aeb732afc7a59bb6.zip
Version bump
Package-Manager: portage-2.2.0_alpha141/cvs/Linux x86_64 Manifest-Sign-Key: 0x13CB1360
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/scipy/ChangeLog7
-rw-r--r--sci-libs/scipy/Manifest13
-rw-r--r--sci-libs/scipy/scipy-0.11.0.ebuild128
3 files changed, 142 insertions, 6 deletions
diff --git a/sci-libs/scipy/ChangeLog b/sci-libs/scipy/ChangeLog
index 0d84266fec99..8a7e83484513 100644
--- a/sci-libs/scipy/ChangeLog
+++ b/sci-libs/scipy/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-libs/scipy
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/scipy/ChangeLog,v 1.80 2012/10/16 19:47:58 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/scipy/ChangeLog,v 1.81 2012/10/29 14:35:19 bicatali Exp $
+
+*scipy-0.11.0 (29 Oct 2012)
+
+ 29 Oct 2012; SĂ©bastien Fabbro <bicatali@gentoo.org> +scipy-0.11.0.ebuild:
+ Version bump
16 Oct 2012; Justin Lecher <jlec@gentoo.org> scipy-0.9.0-r1.ebuild,
scipy-0.10.1.ebuild:
diff --git a/sci-libs/scipy/Manifest b/sci-libs/scipy/Manifest
index 7cae238bf46d..3a6453565623 100644
--- a/sci-libs/scipy/Manifest
+++ b/sci-libs/scipy/Manifest
@@ -7,18 +7,21 @@ AUX scipy-0.9.0-superlu.patch 1526 SHA256 10b58353b0cdd6a8a6713ca7186cdb37c33c0a
DIST scipy-0.10.1-html.zip 14134494 SHA256 ae7b19aec1fd5039875b4f493f8ad0258e7cd710c129a126c24cf9a4a8b153b5
DIST scipy-0.10.1-ref.pdf 8255552 SHA256 910c2db682d53418ebbd83164401df7e6d8ac23ec2e1be6b82fd39f61ba96271
DIST scipy-0.10.1.tar.gz 6231117 SHA256 77cc5c48e3f0c07b8137135538cdb99d596d3cc5c498bb0031fb5ff22eae4aa7 SHA512 eec653fa3d973cf72528c474d00ab16d6b31412125cb15a59354f94959cbe86fee07381693935a40207f91242d43e03dc92942b5f637a3b278ce5ada68623220 WHIRLPOOL 7ef65050d53a84fd0cf317d09c3269b23ef68afab39e6659f1d822f767ee2f41f36f00ff4516b6aa1065571478bde2fb39c8a5ec6e3ec13d32bfc7886dfa5c5d
+DIST scipy-0.11.0-html.zip 10831664 SHA256 d7a1dba159d13781a31bf88bcca3aec802ad7d0817c585140e05221722e17689 SHA512 dba923b632a063a1e437b77fc4b034df4b9d0936c17a48136857db14719de2ca88336500b663b781b443521cb71fd6bc3e7ff51779ed80ae2b34b7e655cba7ed WHIRLPOOL b25324c06b23e32797701485491696835d1b2878e025cd5f2cc38e3a998fb6bf62980c449f8fcf035035aa899754daf2e0985e872d918a1c7cc7ae2188a9c9b8
+DIST scipy-0.11.0-ref.pdf 7382958 SHA256 04587215578188396723cea2eb7387460fd957706eec61ea1b67326822fdcb68 SHA512 520a75aed2e4b87296e864fde3387ea35978e96af86c3c3f92c0509db7ee0f8253c3c75f3e8de273e534aa400ff3dcca051fc8c83f9406af941da422f88fed70 WHIRLPOOL eae4c8b9fbffcd277b077175eaf9a1e136ec02cbec16c6d389735be5cbbc4300765bd9ce34427932dc1f9b58a0b16971235d89b60c02313d8902a82079bb9317
+DIST scipy-0.11.0.tar.gz 6776998 SHA256 b2b74d56a2d58a4f032f91e8b91b1c2272d5eb0b5010082dd1e492e452f862ee SHA512 d4fdd62f2db5285cd133649bd1bfa5175cb9da8304323abd74e0ef1207d55e6152f0f944da1da75f73e9dafb0f3bb14efba3c0526c732c348a653e0bd223ccfa WHIRLPOOL 5ccdc68f968e58c43f56d7f1b8a281ab40a6b5077267c867bc371b0280d06512d9a726259cb2af0b89bae32ca2c636e7db0594624b3c8241d2887c42c4590765
DIST scipy-0.9-html.zip 8516420 SHA256 6f3148881502ca2cd2964fef7baf9bfec6fe2329ec3f1832e1e6d864aed0f889
DIST scipy-0.9-ref.pdf 5299022 SHA256 ed2641c180eef2f842536a611982fbd91c33c95a7e7e3c279d7ae6f10071be47
DIST scipy-0.9.0.tar.gz 6084552 SHA256 913089de94721be864e0a57fdab52603f3150250a2e0ce4ed6928ca1125f6b23
EBUILD scipy-0.10.1.ebuild 3453 SHA256 5d198a8383ef3ae35f68861ef741a9166b4174452bc0a701faea96ec189939b0 SHA512 19e27f4953fc0cebb26c535dab61b1820b01aef6bfc7548f27c07a65f58e9ea40f7083a90a23094da9887118d7c9fe254ca968dcdfc11499d416734c8a88c33d WHIRLPOOL 75c76570585ad81d2c85e0ac27b3a7912cd238470a52c230486a3a00e240140e390378d5d7727584c2cc20c51ac06de8df4223841461d5affe5450afeb7fba34
+EBUILD scipy-0.11.0.ebuild 3457 SHA256 26b0ad45060af52311652d075719ab4bc15cc86a8291d100a1f7271e06458f0b SHA512 f8b70646fe0d4071157bd09e627e981bff66ff882b6ca2c0d1bca10457bf77f0563516349d7fa34a6520440aca14e5930dceb2d70d967276bc9a5bdd9a3bff24 WHIRLPOOL 6b2babce55d7117feef9c49cc398a9976082de230eef127571ac27a0fbd1b23259179c1b41985d4758f08ba892fb3900387d3b50a3af14bc8bf75e22273b710b
EBUILD scipy-0.9.0-r1.ebuild 4264 SHA256 2c138cb89cb4f2a467a5fadc1adff2f53614034af4251df048031719058b6fb2 SHA512 bda5d14b38f85ca4cf9da89e02d339139efdd159fb00ed81aa1255edc531bb142c9c1ee9fa58c14edf41e687239613f63a4b31535b3f88bb5fee720227cdd4d3 WHIRLPOOL 205b1be078cb77c5d6ae116ef145e747e24f8e811317290e734782688bcf6203bdc03ff417a11b4edc7ce3c7b68b14b53b926f9ab3f53182b0db095e84f573e0
-MISC ChangeLog 15765 SHA256 22790ae221d7b9d86c33d6a1c5297ea863927320ae8362e8194f9f94513423d2 SHA512 dc70d37ac74e08e7d90c28bcd2aaf6bee901a025f9700b76f2afd3ddca400a84501bcafec17c1db3e41d3ba2e0dedf8d3a34bb0beaf118b4410f3b3efd7f1b28 WHIRLPOOL 5e6abc618beb94bd2ed13353a8660076f49ac0d9f79730dd32590850207b10ceac96bd4bcf4eb9211a2b17790c71359314d1123ad9f0889e636e59d26e431d4f
+MISC ChangeLog 15891 SHA256 31a937b8543288876cdb9f753a71709a17f31cd8561660c9119fed9b22f68c10 SHA512 4e87e4b42558931933ec45565c532de78affdaa9ae2dae7d158d67b64e57028887c736e404dbf5aea541d6130af170b869505741c9e583b40793b814b1f5ac73 WHIRLPOOL a3bf00d06814141f85fd9e10fe345cb620a0c19208108591cc1c772730cba2028d7495dcd8717705514c86a948c4c36cf1e4dc0627115a1751e1971ac2fc40d8
MISC metadata.xml 701 SHA256 8f4674ae9fc4197903a15da51e7e4e3674edae1acf06a2db6644a3ae0ce332e6 SHA512 e598b8f7edaac2a1cfda78c109b380726394281224165b66661521e28491880a95e0baddee067bf99a9407529e7aa56f0455a7792f1c0ac08375ebe767961c51 WHIRLPOOL ca30632882d89b4fdae3429e11c239032e637a81af5fc6d7466cc01f26b57678d7bf669d3a229e788f605b81e3a2fc8a4696fd9b52035374354189fd8f5a1b51
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-Comment: GPGTools - http://gpgtools.org
-iEYEAREIAAYFAlB9ue8ACgkQgAnW8HDreRbptACeNFktTnHyBYBpf6fZAGVZrg0E
-bWcAoLVXdSt5iyWhC1DpnvV+1j437wUF
-=3tK8
+iEYEAREIAAYFAlCOlCwACgkQ1ycZbhPLE2Bi2QCeM0SUquS3j6z7RoTydOIB1gHu
++5MAniSw+OXXSyHxvgvR5un78dtDcObM
+=He/q
-----END PGP SIGNATURE-----
diff --git a/sci-libs/scipy/scipy-0.11.0.ebuild b/sci-libs/scipy/scipy-0.11.0.ebuild
new file mode 100644
index 000000000000..20308dd47459
--- /dev/null
+++ b/sci-libs/scipy/scipy-0.11.0.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/scipy/scipy-0.11.0.ebuild,v 1.1 2012/10/29 14:35:19 bicatali Exp $
+
+EAPI=4
+
+PYTHON_DEPEND="*::3.2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.3 *-jython *-pypy-*"
+
+inherit eutils fortran-2 distutils flag-o-matic toolchain-funcs
+
+DESCRIPTION="Scientific algorithms library for Python"
+HOMEPAGE="http://www.scipy.org/ http://pypi.python.org/pypi/scipy"
+SRC_URI="
+ mirror://sourceforge/${PN}/${P}.tar.gz
+ doc? (
+ http://docs.scipy.org/doc/${P}/${PN}-html.zip -> ${P}-html.zip
+ http://docs.scipy.org/doc/${P}/${PN}-ref.pdf -> ${P}-ref.pdf
+ )"
+
+LICENSE="BSD LGPL-2"
+SLOT="0"
+IUSE="doc test umfpack"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+
+CDEPEND="
+ dev-python/numpy
+ sci-libs/arpack
+ virtual/cblas
+ virtual/lapack
+ umfpack? ( sci-libs/umfpack )"
+DEPEND="${CDEPEND}
+ virtual/pkgconfig
+ doc? ( app-arch/unzip )
+ test? ( dev-python/nose )
+ umfpack? ( dev-lang/swig )"
+
+RDEPEND="${CDEPEND}
+ dev-python/imaging"
+
+DOCS="THANKS.txt LATEST.txt TOCHANGE.txt"
+
+pkg_setup() {
+ fortran-2_pkg_setup
+ # scipy automatically detects libraries by default
+ export {FFTW,FFTW3,UMFPACK}=None
+ use umfpack && unset UMFPACK
+ # the missing symbols are in -lpythonX.Y, but since the version can
+ # differ, we just introduce the same scaryness as on Linux/ELF
+ [[ ${CHOST} == *-darwin* ]] \
+ && append-ldflags -bundle "-undefined dynamic_lookup" \
+ || append-ldflags -shared
+ [[ -z ${FC} ]] && export FC="$(tc-getFC)"
+ # hack to force F77 to be FC until bug #278772 is fixed
+ [[ -z ${F77} ]] && export F77="$(tc-getFC)"
+ export F90="${FC}"
+ export SCIPY_FCONFIG="config_fc --noopt --noarch"
+ append-fflags -fPIC
+ python_pkg_setup
+}
+
+src_unpack() {
+ unpack ${P}.tar.gz
+ if use doc; then
+ unzip -qo "${DISTDIR}"/${P}-html.zip -d html || die
+ fi
+}
+
+pc_incdir() {
+ pkg-config --cflags-only-I $@ | \
+ sed -e 's/^-I//' -e 's/[ ]*-I/:/g'
+}
+
+pc_libdir() {
+ pkg-config --libs-only-L $@ | \
+ sed -e 's/^-L//' -e 's/[ ]*-L/:/g'
+}
+
+pc_libs() {
+ pkg-config --libs-only-l $@ | \
+ sed -e 's/[ ]-l*\(pthread\|m\)[ ]*//g' \
+ -e 's/^-l//' -e 's/[ ]*-l/,/g'
+}
+
+src_prepare() {
+ local libdir="${EPREFIX}"/usr/$(get_libdir)
+ 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
+}
+
+src_compile() {
+ distutils_src_compile ${SCIPY_FCONFIG}
+}
+
+src_test() {
+ testing() {
+ "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" install \
+ --home="${S}/test-${PYTHON_ABI}" --no-compile ${SCIPY_FCONFIG} \
+ || die "install test failed"
+ pushd "${S}/test-${PYTHON_ABI}/"lib*/python > /dev/null
+ PYTHONPATH=. "$(PYTHON)" -c "import scipy; scipy.test('full')" \
+ 2>&1 | tee test.log
+ grep -q ^ERROR test.log && die "test failed"
+ popd > /dev/null
+ rm -fr test-${PYTHON_ABI}
+ }
+ python_execute_function testing
+}
+
+src_install() {
+ distutils_src_install ${SCIPY_FCONFIG}
+ use doc && dohtml -r "${WORKDIR}"/html/* && dodoc "${DISTDIR}"/${P}*pdf
+}
+
+pkg_postinst() {
+ distutils_pkg_postinst
+ elog "You might want to set the variable SCIPY_PIL_IMAGE_VIEWER"
+ elog "to your prefered image viewer if you don't like the default one. Ex:"
+ elog "\t echo \"export SCIPY_PIL_IMAGE_VIEWER=display\" >> ~/.bashrc"
+}