aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb>2006-11-02 11:49:01 +0000
committerbicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb>2006-11-02 11:49:01 +0000
commit42229e0da799e893a8b87740b3ff8caad5b8ff94 (patch)
tree6fd88df86ca4e631eb676fd9f391373f56c0b498 /dev-python
parentcfortran: some cleanup (diff)
downloadsci-42229e0da799e893a8b87740b3ff8caad5b8ff94.tar.gz
sci-42229e0da799e893a8b87740b3ff8caad5b8ff94.tar.bz2
sci-42229e0da799e893a8b87740b3ff8caad5b8ff94.zip
added numpy-1.0
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@405 32389bae-6d03-0410-99cf-db05cde120eb
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/numpy/ChangeLog10
-rw-r--r--dev-python/numpy/Manifest16
-rw-r--r--dev-python/numpy/files/digest-numpy-1.03
-rw-r--r--dev-python/numpy/metadata.xml9
-rw-r--r--dev-python/numpy/numpy-1.0.ebuild63
5 files changed, 101 insertions, 0 deletions
diff --git a/dev-python/numpy/ChangeLog b/dev-python/numpy/ChangeLog
new file mode 100644
index 000000000..0f1b906a2
--- /dev/null
+++ b/dev-python/numpy/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-python/numpy
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+
+*numpy-1.0 (02 Nov 2006)
+
+ O2 Nov 2006; Sebastien Fabbro <seb@ist.utl.pt>; +numpy-1.0.ebuild:
+ Version bump. Trivial fixes from main tree.
+
diff --git a/dev-python/numpy/Manifest b/dev-python/numpy/Manifest
new file mode 100644
index 000000000..8907759aa
--- /dev/null
+++ b/dev-python/numpy/Manifest
@@ -0,0 +1,16 @@
+DIST numpy-1.0.tar.gz 1217867 RMD160 86f78b4f83da8f173fb4794b3853d9203311b2c6 SHA1 2ee8aab3bef62e9791ab2671193787c3855c2222 SHA256 dcd46eb5f3c09018912f590fa7fbf92f2c85421314c12b8fcd2e19d74757d5c7
+EBUILD numpy-1.0.ebuild 1494 RMD160 20d3a251ca0a34d65ade8a2d839a406da6aeb048 SHA1 a4af535d924a7f9852bd745aa9e25be6d428e29c SHA256 c457d3f0e1af05940fb5c5c16c5e609f554e6b686167884c605d1bcac8819da3
+MD5 50fd3a8cd1ab111faf5fa2a5e0db0060 numpy-1.0.ebuild 1494
+RMD160 20d3a251ca0a34d65ade8a2d839a406da6aeb048 numpy-1.0.ebuild 1494
+SHA256 c457d3f0e1af05940fb5c5c16c5e609f554e6b686167884c605d1bcac8819da3 numpy-1.0.ebuild 1494
+MISC ChangeLog 260 RMD160 fcc4095562a8bc310b3894c6954bc6346aa2b16c SHA1 dde2e57cd7135285d3fff097c2a46283e9db3f61 SHA256 d9cd4cfe2b61b35ee0f47c5f69c6447b30d609766fd7be22d8acd338a231472a
+MD5 d241ad0c9878be1a2a1ad92bf3d820fd ChangeLog 260
+RMD160 fcc4095562a8bc310b3894c6954bc6346aa2b16c ChangeLog 260
+SHA256 d9cd4cfe2b61b35ee0f47c5f69c6447b30d609766fd7be22d8acd338a231472a ChangeLog 260
+MISC metadata.xml 617 RMD160 fcb64d876af5dffc1a1cc308f6e76a3ff3525244 SHA1 5e056fcc834226a96a9a7197ba2f2c0c076634d5 SHA256 eda38840db709ec1460753d542150351bcd8eaf235fcd58252e45712d64cad6a
+MD5 9251edbaa605d72f2c04cc0a5b4f9a84 metadata.xml 617
+RMD160 fcb64d876af5dffc1a1cc308f6e76a3ff3525244 metadata.xml 617
+SHA256 eda38840db709ec1460753d542150351bcd8eaf235fcd58252e45712d64cad6a metadata.xml 617
+MD5 6b094870303997867b96f79b7df67a6b files/digest-numpy-1.0 232
+RMD160 9ca0734fb0419a717f037e961596e5ba89d5f3ae files/digest-numpy-1.0 232
+SHA256 6a72c196c3696d318a07a08eb6ad19ea909a8b76d7231b580190a354e3a4bd91 files/digest-numpy-1.0 232
diff --git a/dev-python/numpy/files/digest-numpy-1.0 b/dev-python/numpy/files/digest-numpy-1.0
new file mode 100644
index 000000000..cc6289943
--- /dev/null
+++ b/dev-python/numpy/files/digest-numpy-1.0
@@ -0,0 +1,3 @@
+MD5 47dd0daa82e7b3f0fe74b969b388d7b3 numpy-1.0.tar.gz 1217867
+RMD160 86f78b4f83da8f173fb4794b3853d9203311b2c6 numpy-1.0.tar.gz 1217867
+SHA256 dcd46eb5f3c09018912f590fa7fbf92f2c85421314c12b8fcd2e19d74757d5c7 numpy-1.0.tar.gz 1217867
diff --git a/dev-python/numpy/metadata.xml b/dev-python/numpy/metadata.xml
new file mode 100644
index 000000000..f65da7436
--- /dev/null
+++ b/dev-python/numpy/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>python</herd>
+<herd>sci</herd>
+<longdescription>
+This package contains a powerful N-dimensional array object, sophisticated (broadcasting) functions, tools for integrating C/C++ and Fortran code, and useful linear algebra, Fourier transform, and random number capabilities. It derives from the old Numeric code base and can be used as a replacement for Numeric. It also adds the features introduced by numarray and can be used to replace numarray.
+</longdescription>
+</pkgmetadata>
diff --git a/dev-python/numpy/numpy-1.0.ebuild b/dev-python/numpy/numpy-1.0.ebuild
new file mode 100644
index 000000000..489f7ab50
--- /dev/null
+++ b/dev-python/numpy/numpy-1.0.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+
+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" \
+ -e "s:ptblas:blas:g" \
+ -e "s:ptcblas:cblas:g" \
+ -e "s:lapack_atlas:lapack:g" \
+ numpy/distutils/system_info.py
+
+ 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
+ rm -f site.cfg
+ export ATLAS=None
+ fi
+}
+
+src_compile() {
+ # http://projects.scipy.org/scipy/numpy/ticket/182
+ # Can't set LDFLAGS
+ unset LDFLAGS
+
+ distutils_src_compile
+}
+
+src_install() {
+ distutils_src_install
+ dodoc numpy/doc/*
+}