summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-11-28 14:18:06 +0000
committerJustin Lecher <jlec@gentoo.org>2013-11-28 14:18:06 +0000
commit8bff29222a56e5dc8d9236642fbf84fe419ac5f8 (patch)
treef162b5df68a70fbe79d8c8c9644bf771b76c6371 /sci-libs
parentStable for HPPA (bug #491298). (diff)
downloadhistorical-8bff29222a56e5dc8d9236642fbf84fe419ac5f8.tar.gz
historical-8bff29222a56e5dc8d9236642fbf84fe419ac5f8.tar.bz2
historical-8bff29222a56e5dc8d9236642fbf84fe419ac5f8.zip
sci-libs/scipy: Version Bump
Package-Manager: portage-2.2.7/cvs/Linux x86_64 Manifest-Sign-Key: 0xB9D4F231BD1558AB!
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/scipy/ChangeLog7
-rw-r--r--sci-libs/scipy/Manifest30
-rw-r--r--sci-libs/scipy/scipy-0.13.1.ebuild132
3 files changed, 154 insertions, 15 deletions
diff --git a/sci-libs/scipy/ChangeLog b/sci-libs/scipy/ChangeLog
index ef0aded56697..c8f8592255c5 100644
--- a/sci-libs/scipy/ChangeLog
+++ b/sci-libs/scipy/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-libs/scipy
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/scipy/ChangeLog,v 1.104 2013/11/02 11:26:20 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/scipy/ChangeLog,v 1.105 2013/11/28 14:18:05 jlec Exp $
+
+*scipy-0.13.1 (28 Nov 2013)
+
+ 28 Nov 2013; Justin Lecher <jlec@gentoo.org> +scipy-0.13.1.ebuild:
+ Version Bump
02 Nov 2013; Justin Lecher <jlec@gentoo.org> -scipy-0.9.0-r1.ebuild,
-scipy-0.12.0.ebuild:
diff --git a/sci-libs/scipy/Manifest b/sci-libs/scipy/Manifest
index 6d68ab1be22f..442232333b92 100644
--- a/sci-libs/scipy/Manifest
+++ b/sci-libs/scipy/Manifest
@@ -13,24 +13,26 @@ DIST scipy-0.12.1.tar.gz 9012911 SHA256 15122afe6cb377b010982f9bc46cf41b12af703f
DIST scipy-0.13.0-html.zip 18283054 SHA256 3010783ebdc18988440cd0047f061bbfcac98677782cd10e8b4f09e20bbbc23d SHA512 082cb1e0915f6095f80522a76fed4e106ed82889df613c1bcada9a4faded8917fd7e686448f585a5bee5478280ae21f6adf9bd4add125b9082f93eb93e61feef WHIRLPOOL 48b5e2ee9274f324969c413986110a87422b5f3667b617884dd01c660cdabeb05c5e17ca33e861b2fa2cc5caf89e1233aba9f2855386fe211255c5ceee437ac7
DIST scipy-0.13.0-ref.pdf 14748179 SHA256 52caa5fd7e74f2e5a78f26296d2150808eee9e153ca3cee62d05892bbd1bac8c SHA512 9e2d40b154c73e9ad3405038e2c71e01650b9a05781355d499b09d647ae6a73d65d542c36b60a87ac530f9b7509bf1c023624952c2f4f2b2f9fb56394456ec91 WHIRLPOOL 5071c593b999db1a57057731e995153fead4155f04b69b770fd1b2203cc5eb13f6f9395a179c4a06e1d8fc5dfa559f51c494f52a27d524b2794d9683e487e273
DIST scipy-0.13.0.tar.gz 10093476 SHA256 e7fe93ffc4b55d8357238406b1b9e47a4f932474238e2bfdb552423bcd45dc5e SHA512 5bd8f032560dba4796942c8cbbd341c449aae10c3de6023c62bf754bb48d84ba821dbbc24bfe371781e8a06958c104baf670bf167597ec5d4fd5fd2eeadc54b5 WHIRLPOOL 39df9a0c03962f0b5c16efe38d8900c523e45426e228951a5d84fbf7b742cd37c8775f628e6973da572b3b7e088aecba1f7277dbf1fd6e3b72f78a8ad6599a06
+DIST scipy-0.13.1.tar.gz 10092739 SHA256 409f429a85592c8a99afa2fc047b80efdbd7ab0c9aa1f1effdd4692958aef228 SHA512 a5522a368a51f7a746852e61ac60f2b46f4b18a323ebaac9e554788d31fbd270757aab1edea3899970c6d753540120dd52a7248d46142c14da1938fc48a40a12 WHIRLPOOL f02265cbf8918f1b2da708dc8f21b2ac67fbc14e816cae69bc97c31b7736c32a8bc5cd710832f0ae0d459ff0732d4ab40ab1ef6604d12e6cc998cbee0608d005
EBUILD scipy-0.12.1.ebuild 3794 SHA256 aa1a59f045d86e2cb7016682ea841913bb8429b87a3095a7a00ce3f75b2c48d8 SHA512 856b8b23e6a8ab3efb6526e7cc94b8eb742d04cfa1e460ee9364265743d655cfed4cbb296d41c07ccae3dc4d3945f41a53e0307b87a740b4b7f3fbae6d161f1f WHIRLPOOL d837a98eabb2e5feb143d94790f79c622ab8eba6f4d868bfa2bb0f010af29460389d7d46d6d2be5d11b679624540f87fb8f93a9f69982824397703d0dec4e9e0
EBUILD scipy-0.13.0.ebuild 3619 SHA256 f934647eceef2c326878d31bdf9289ca86726ed1ced5f29568df1935ba6a37f1 SHA512 370aa07dba0e61fe23dc57a33cb460058cfa1708a5d2e21dc7bb41cdfa7bb987e71281ab16dca0e056e1192cf6e69653e689eb5aa87231bbe105544ff69c2f93 WHIRLPOOL 300028a9c33c9010650dfd12437ec9b5e0ccb44b5404b20b2ec897ea4d15dceabf4d2ff89678c90ba567847581d4c03ea12524193ccbff63bc1c3a83421a77ce
-MISC ChangeLog 19223 SHA256 3981ca90f36d0a7e87324e380b2653d6f7ce307f88e4d6804b0ddb56f6852e9e SHA512 291d4871042dc12c59500c8ac671a6405d30b56bb586fc0fac64c289365ad4c34e671884bc025d1ab1f0a01ae6f2be34e7a004903f05501c667d00d2eef17aed WHIRLPOOL 33f515226d5c65b9a423286b31cfa30618cf639a33025abafbb3daa7441d017b93836709f8e4eba93a4cd6636be346666bbc4507d55c4baa73d915d3383bc777
+EBUILD scipy-0.13.1.ebuild 3647 SHA256 dab1aa388c184a9c6de2359a68712113af8e6868a0a0dc016a280641f637074c SHA512 181d2bcbfbac978074e87525743e9fcc0da6b6449d9fa880fb1d51fcbd7bd50e3ba45079cba512412719d9eb86fc0f71b520c4bb74988c0958373ad682844e87 WHIRLPOOL f706b8182d2a31c7acc381e7322e41c9b1c9544e19a34d8ff9b4c0d19a5b66b37aea8a9b4008ad9c42a4018dc713a46103ef139c31b693c8332703d0c710baf6
+MISC ChangeLog 19337 SHA256 bbfa35097bd6d8aaf4790621f9b296959e04b5a97bfaeec8dd52f0e6a768d7a7 SHA512 fa7f0f777767b8c512957161d2e02163731d651b0826216a7d9f605a7878a214aaaa00e025f700568ac4c2c193edeea1fd0dea2fd5a28fbf4b8154c23d61c100 WHIRLPOOL 7013d65802c233fbd0e0eaa3288e1a7615bc025fbd98c778116b97396801aa569969daf7b2fe7371ccda979f470815a1aebb922b30b2946f86058a92dce44ef5
MISC metadata.xml 778 SHA256 c585563656be41d539826dbd6ac5f633a0704b73a39b3603b50ce6092d767e73 SHA512 da239d303a88f7bc4356a27965aed91befd379ee142c529ab5177276eb86ac7976b527a2b1397584754f1cec1c6743c98b9af4a540e6cc503607ac3cf529de06 WHIRLPOOL e04375da88108229b3386ae79ba452705a4d4fcdbff9f38c491a4436846c9037d8c68bd8d5524d5435e351a557bd604211477a28da5661c9cce804fe27a34b2a
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iQIcBAEBCgAGBQJSdOFeAAoJELnU8jG9FViracoP/3guXuMmkRzUdxQHveKSSWes
-frFXK/40w+yCfe5afi1z73inEtapNaKE50Zkq/atGYWEDjEQaKcQcb7V7v38tjro
-XwwNh61UVg843yA7Eg2O8DqT7PJ2NuL+OKrcB+r+RNmFrcLYZi5TEwRh/ogaDivQ
-z200DepCGpRVnqzpD9Gcf4p/u4C4bA3PRNHQi15VhX1p9f1yY4uGiHhKTXwQXYyQ
-we6nrpWmUMTpNgB5BXVvjead5Fx0yo+XMzi848pK8S6eNLo4wZgl5p5O2x+DroSC
-nRibl90TJCyyiOwcpws7L8Oh2sWQeE2WjEhOrmaSehSm6ZKUNYX01eclO05pL9xz
-KO/696VfgojY+UV+J1U+zwddO1OqZCUU3DErvja9+B92MnMczpphxHoHwPiRyFkt
-yDUknH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ipy/scipy-0.13.1.ebuild b/sci-libs/scipy/scipy-0.13.1.ebuild
new file mode 100644
index 000000000000..4615280e676d
--- /dev/null
+++ b/sci-libs/scipy/scipy-0.13.1.ebuild
@@ -0,0 +1,132 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/scipy/scipy-0.13.1.ebuild,v 1.1 2013/11/28 14:18:05 jlec Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
+
+inherit eutils fortran-2 distutils-r1 flag-o-matic multilib toolchain-funcs
+
+DESCRIPTION="Scientific algorithms library for Python"
+HOMEPAGE="http://www.scipy.org/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
+ doc? (
+ http://docs.scipy.org/doc/${PN}-0.13.0/${PN}-html.zip -> ${PN}-0.13.0-html.zip
+ http://docs.scipy.org/doc/${PN}-0.13.0/${PN}-ref.pdf -> ${PN}-0.13.0-ref.pdf
+ )"
+
+LICENSE="BSD LGPL-2"
+SLOT="0"
+IUSE="doc sparse test"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+
+CDEPEND="
+ dev-python/numpy[lapack,${PYTHON_USEDEP}]
+ sci-libs/arpack
+ virtual/cblas
+ virtual/lapack
+ sparse? ( sci-libs/umfpack )"
+DEPEND="${CDEPEND}
+ dev-lang/swig
+ dev-python/cython[${PYTHON_USEDEP}]
+ virtual/pkgconfig
+ doc? ( app-arch/unzip )
+ test? ( dev-python/nose[${PYTHON_USEDEP}] )"
+
+RDEPEND="${CDEPEND}
+ virtual/python-imaging[${PYTHON_USEDEP}]"
+
+DOCS=( HACKING.rst.txt THANKS.txt )
+
+DISTUTILS_IN_SOURCE_BUILD=1
+
+src_unpack() {
+ unpack ${P}.tar.gz
+ if use doc; then
+ unzip -qo "${DISTDIR}"/${P}-html.zip -d html || die
+ fi
+}
+
+pc_incdir() {
+ $(tc-getPKG_CONFIG) --cflags-only-I $@ | \
+ sed -e 's/^-I//' -e 's/[ ]*-I/:/g' -e 's/[ ]*$//'
+}
+
+pc_libdir() {
+ $(tc-getPKG_CONFIG) --libs-only-L $@ | \
+ sed -e 's/^-L//' -e 's/[ ]*-L/:/g' -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/[ ]*$//'
+}
+
+python_prepare_all() {
+ # scipy automatically detects libraries by default
+ export {FFTW,FFTW3,UMFPACK}=None
+ use sparse && 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
+
+ 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
+
+ local PATCHES=(
+ "${FILESDIR}"/${PN}-0.12.0-blitz.patch
+ "${FILESDIR}"/${PN}-0.12.0-restore-sys-argv.patch
+ "${FILESDIR}"/${PN}-0.12.0-cephes-missing-include.patch
+ )
+ distutils-r1_python_prepare_all
+}
+
+python_compile() {
+ distutils-r1_python_compile ${SCIPY_FCONFIG}
+}
+
+python_test() {
+ # fails with bdist_egg. should it be fixed in distutils-r1 eclass?
+ distutils_install_for_testing ${SCIPY_FCONFIG}
+ cd "${TEST_DIR}" || die "no ${TEST_DIR} available"
+ "${EPYTHON}" -c "
+import scipy, sys
+r = scipy.test('fast',verbose=2)
+sys.exit(0 if r.wasSuccessful() else 1)" || die "Tests fail with ${EPYTHON}"
+}
+
+python_install_all() {
+ if use doc; then
+ dohtml -r "${WORKDIR}"/html/.
+ dodoc "${DISTDIR}"/${P}*pdf
+ fi
+ distutils-r1_python_install_all
+}
+
+python_install() {
+ distutils-r1_python_install ${SCIPY_FCONFIG}
+}
+
+pkg_postinst() {
+ elog "You might want to set the variable SCIPY_PIL_IMAGE_VIEWER"
+ elog "to your prefered image viewer. Example:"
+ elog "\t echo \"export SCIPY_PIL_IMAGE_VIEWER=display\" >> ~/.bashrc"
+}