diff options
author | Donnie Berkholz <dberkholz@gentoo.org> | 2006-09-21 15:08:00 +0000 |
---|---|---|
committer | Donnie Berkholz <dberkholz@gentoo.org> | 2006-09-21 15:08:00 +0000 |
commit | b424711d1c4cd5ead3f99535981394c81696fc27 (patch) | |
tree | f3894d3af8cd583e870eeb9315333ff444b9fb88 /dev-python/numpy | |
parent | Marked amd64 stable for bug #144616. (diff) | |
download | gentoo-2-b424711d1c4cd5ead3f99535981394c81696fc27.tar.gz gentoo-2-b424711d1c4cd5ead3f99535981394c81696fc27.tar.bz2 gentoo-2-b424711d1c4cd5ead3f99535981394c81696fc27.zip |
Bump.
(Portage version: 2.1.2_pre1)
Diffstat (limited to 'dev-python/numpy')
-rw-r--r-- | dev-python/numpy/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/numpy/files/digest-numpy-1.0_rc1 | 3 | ||||
-rw-r--r-- | dev-python/numpy/numpy-1.0_rc1.ebuild | 54 |
3 files changed, 64 insertions, 1 deletions
diff --git a/dev-python/numpy/ChangeLog b/dev-python/numpy/ChangeLog index 04e90148f0c1..8350ff8b657d 100644 --- a/dev-python/numpy/ChangeLog +++ b/dev-python/numpy/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/numpy # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/numpy/ChangeLog,v 1.11 2006/09/21 14:26:49 dberkholz Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/numpy/ChangeLog,v 1.12 2006/09/21 15:08:00 dberkholz Exp $ + +*numpy-1.0_rc1 (21 Sep 2006) + + 21 Sep 2006; Donnie Berkholz <dberkholz@gentoo.org>; + +numpy-1.0_rc1.ebuild: + Bump. 21 Sep 2006; Donnie Berkholz <dberkholz@gentoo.org>; numpy-0.9.8.ebuild, numpy-1.0_beta2.ebuild: diff --git a/dev-python/numpy/files/digest-numpy-1.0_rc1 b/dev-python/numpy/files/digest-numpy-1.0_rc1 new file mode 100644 index 000000000000..cfd1544248e5 --- /dev/null +++ b/dev-python/numpy/files/digest-numpy-1.0_rc1 @@ -0,0 +1,3 @@ +MD5 b8cd486ee334520047f9a35454dad94a numpy-1.0rc1.tar.gz 1120453 +RMD160 2a08da4e7f9ea9c5ff8f43d3af63bd2af1218704 numpy-1.0rc1.tar.gz 1120453 +SHA256 af994dacc3e58beb51876b6d465fe5ca7435d945475ce382388453070102bb5c numpy-1.0rc1.tar.gz 1120453 diff --git a/dev-python/numpy/numpy-1.0_rc1.ebuild b/dev-python/numpy/numpy-1.0_rc1.ebuild new file mode 100644 index 000000000000..4c248cf47bfa --- /dev/null +++ b/dev-python/numpy/numpy-1.0_rc1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/numpy/numpy-1.0_rc1.ebuild,v 1.1 2006/09/21 15:08:00 dberkholz Exp $ + +inherit distutils + +MY_P=${P/_beta/b} +MY_P=${MY_P/_} +DESCRIPTION="Multi-dimensional array object and processing for Python." +SRC_URI="mirror://sourceforge/numpy/${MY_P}.tar.gz" +HOMEPAGE="http://numeric.scipy.org/" +# numpy provides the latest version of dev-python/f2py +DEPEND=">=dev-lang/python-2.3 + !dev-python/f2py + lapack? ( virtual/blas + virtual/lapack )" +IUSE="lapack" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +LICENSE="BSD" +RESTRICT="test" +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${A} + cd "${S}" + # sed to patch ATLAS libraries names (gentoo specific) + sed -i \ + -e "s:f77blas:blas:g" \ + numpy/distutils/system_info.py + + # -Wl,-O1 breaks the compilation + filter-ldflags -O1 + filter-ldflags -Wl,-O1 + + if use lapack; then + echo "[atlas]" > site.cfg + echo "include_dirs = /usr/include/atlas" >> site.cfg + echo "atlas_libs = lapack, blas, cblas, atlas" >> site.cfg + echo -n "library_dirs = /usr/$(get_libdir)/lapack:" >> site.cfg + if [ -d "/usr/$(get_libdir)/blas/threaded-atlas" ]; then + echo "/usr/$(get_libdir)/blas/threaded-atlas" >> site.cfg + else + echo "/usr/$(get_libdir)/blas/atlas" >> site.cfg + fi + else + export ATLAS=None + fi +} + +src_install() { + distutils_src_install + dodoc numpy/doc/* +} |