diff options
author | Donnie Berkholz <dberkholz@gentoo.org> | 2008-05-12 14:34:47 -0700 |
---|---|---|
committer | Donnie Berkholz <dberkholz@gentoo.org> | 2008-05-12 14:34:47 -0700 |
commit | 0c5932212bc332e567416dda974469b0e19b485f (patch) | |
tree | d587acaabf361c2003037cd2f1848c0cd02149b2 /dev-python | |
parent | cclib: new package, parses results of computational chemistry packages. (diff) | |
download | dberkholz-0c5932212bc332e567416dda974469b0e19b485f.tar.gz dberkholz-0c5932212bc332e567416dda974469b0e19b485f.tar.bz2 dberkholz-0c5932212bc332e567416dda974469b0e19b485f.zip |
scientificpython: bump to dev release, numpy compatible.
Changes include PDB work, better math support (transformations and
such), and distributed computing.
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/scientificpython/ChangeLog | 133 | ||||
-rw-r--r-- | dev-python/scientificpython/Manifest | 5 | ||||
-rw-r--r-- | dev-python/scientificpython/files/scientificpython-mpi.patch | 11 | ||||
-rw-r--r-- | dev-python/scientificpython/metadata.xml | 16 | ||||
-rw-r--r-- | dev-python/scientificpython/scientificpython-2.7.8.ebuild | 59 |
5 files changed, 224 insertions, 0 deletions
diff --git a/dev-python/scientificpython/ChangeLog b/dev-python/scientificpython/ChangeLog new file mode 100644 index 0000000..e1ce6a0 --- /dev/null +++ b/dev-python/scientificpython/ChangeLog @@ -0,0 +1,133 @@ +# ChangeLog for dev-python/scientificpython +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/scientificpython/ChangeLog,v 1.16 2008/01/04 14:36:29 bicatali Exp $ + + 04 Jan 2008; Sébastien Fabbro <bicatali@gentoo.org> + -scientificpython-2.6.ebuild: + Removed obsolete version + +*scientificpython-2.6.1 (17 Oct 2007) + + 17 Oct 2007; Sébastien Fabbro <bicatali@gentoo.org> + +scientificpython-2.6.1.ebuild: + Version bump. + + 15 Sep 2007; Sébastien Fabbro <bicatali@gentoo.org> + +files/scientificpython-mpi.patch, metadata.xml, + scientificpython-2.6.ebuild: + Add a src_test, fix mpi (bug #192443, thanks JTRiley + <justin.t.riley@gmail.com>), adde longdescription, updated numeric + dependency, and cleanup. + + 22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog: + Transition to Manifest2. + + 17 Oct 2006; Donnie Berkholz <dberkholz@gentoo.org>; + scientificpython-2.6.ebuild: + Restore ~ia64 to keywords now that mpi is a new-style virtual. + + 17 Oct 2006; Donnie Berkholz <dberkholz@gentoo.org>; + -scientificpython-2.2-r1.ebuild, -scientificpython-2.4.3.ebuild, + -scientificpython-2.4.5.ebuild, -scientificpython-2.4.6.ebuild: + Drop old versions. + +*scientificpython-2.6 (17 Oct 2006) + + 17 Oct 2006; Donnie Berkholz <dberkholz@gentoo.org>; + +scientificpython-2.6.ebuild: + (#117792) Bump, thanks to Jaroslaw Kalinowski and Sebastien Fabbro for the + initial ebuilds. + + 26 Jun 2006; Donnie Berkholz <spyderous@gentoo.org>; metadata.xml: + Add sci herd to metadata, as this is decidedly a scientific package. + + 30 Oct 2005; Jason Wever <weeve@gentoo.org> scientificpython-2.4.9.ebuild: + Stable on SPARC. + + 16 Oct 2005; Bryan Østergaard <kloeri@gentoo.org> + scientificpython-2.4.9.ebuild: + Stable on alpha, ia64 and x86, fixes bug 109122. + + 26 Aug 2005; Aron Griffis <agriffis@gentoo.org> + scientificpython-2.4.9.ebuild: + add ~ia64 + +*scientificpython-2.4.9 (09 May 2005) + + 09 May 2005; Alastair Tse <liquidx@gentoo.org> + scientificpython-2.4.6.ebuild, +scientificpython-2.4.9.ebuild: + version bump + + 31 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> : + Change encoding to UTF-8 for GLEP 31 compliance + + 15 Sep 2004; <blubb@gentoo.org> scientificpython-2.4.6.ebuild: + added ~amd64 + + 05 Sep 2004; Sven Wegener <swegener@gentoo.org> : + Fixed ChangeLog header. + +*scientificpython-2.4.3 (20 Jul 2004) + + 20 Jul 2004; Bryan Østergaard <kloeri@gentoo.org> +metadata.xml, + +scientificpython-2.2-r1.ebuild, +scientificpython-2.4.3.ebuild, + +scientificpython-2.4.5.ebuild, +scientificpython-2.4.6.ebuild: + Rename dev-python/ScientificPython to dev-python/scientificpython. + + 31 May 2004; Bryan Østergaard <kloeri@gentoo.org> + ScientificPython-2.4.5.ebuild: + Stable on alpha. + +*ScientificPython-2.4.6 (24 May 2004) + + 24 May 2004; Rob Cakebread <pythonhead@gentoo.org> + +ScientificPython-2.4.6.ebuild: + Version bump (bug# 51834) + + 18 Apr 2004; David Holm <dholm@gentoo.org> ScientificPython-2.4.5.ebuild: + Added to ~ppc. + +*ScientificPython-2.4.5 (17 Apr 2004) + + 17 Apr 2004; Bryan Østergaard <kloeri@gentoo.org> + +ScientificPython-2.4.5.ebuild: + Version bump. + + 16 Dec 2003; Jason Wever <weeve@gentoo.org> ScientificPython-2.2-r1.ebuild: + Changed sparc keyword to ~sparc since it's dependencies were broken and + probably had little to no testing. + + 02 Sep 2003; Alastair Tse <liquidx@gentoo.org> + ScientificPython-2.2-r1.ebuild, ScientificPython-2.4.3.ebuild: + moved dev-python/Numeric to dev-python/numeric + +*ScientificPython-2.4.3 (05 May 2003) + + 05 May 2003; George Shapovalov <george@gentoo.org> ScientificPython-2.4.3.ebuild : + new version (#21399) + update submitted by Castel?o <castelao@oceanologia.net> + + 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords + +*ScientificPython-2.2-r1 (04 Apr 2002) + + 04 Apr 2003; Alastair Tse <liquidx@gentoo.org> + ScientificPython-2.2-r1.ebuild: + distutil-ize ebuild + + 15 July 2002; George Shapovalov <george@gentoo.org> ScientificPython-2.2-r1.ebuild : + + cleaned up and added necessary vars/headers. + this revision will install docs (unlike previous one). + missing docs are reported by Stephen Boulet <stephen@theboulets.net>, + prototype update proposed by Ben Cornett <acornet@emory.edu> + +*ScientificPython-2.2 (1 Feb 2002) + + 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog : + + Added initial ChangeLog which should be updated whenever the package is + updated in any way. This changelog is targetted to users. This means that the + comments should well explained and written in clean English. The details about + writing correct changelogs are explained in the skel.ChangeLog file which you + can find in the root directory of the portage repository. diff --git a/dev-python/scientificpython/Manifest b/dev-python/scientificpython/Manifest new file mode 100644 index 0000000..0c09090 --- /dev/null +++ b/dev-python/scientificpython/Manifest @@ -0,0 +1,5 @@ +AUX scientificpython-mpi.patch 403 RMD160 fcb18d760d73bd5d250c597b344ec33c665aab90 SHA1 93b9b6ac9588c7c332f422a8a520ced116f94881 SHA256 a36550c0c01ecb3c7eced75be15c343ef65bf3fefc9cada1d2cbb3521ede50af +DIST ScientificPython-2.7.8.tar.gz 568636 RMD160 ae437acd81ebbc06f439dd7a86d73450fcc8c785 SHA1 498a42b595a613c6b83bb95129e1986c8c11cf6c SHA256 0e8cc53b3dfe185add11bc5d794069e501ad46fc72b217c3fb3c0516bc2243e2 +EBUILD scientificpython-2.7.8.ebuild 1554 RMD160 678069d4ff2c43f3ed35be01ad43ac10274b210a SHA1 240b87b00f0e54159ead65649d5e1e73cd522a6b SHA256 16582af60e7d173547ef286bf541498f78239c9e2fefe8286e0b69917ca476ab +MISC ChangeLog 4751 RMD160 822db382443a8e71ed3afe579554052f9ea535ae SHA1 a250408e7f55dbe29c8be17faf7d8323f64b2813 SHA256 71cd394f1fe212a384733e6f57204d368cc1d418f55139ee2c6dc7ee6ce46b7e +MISC metadata.xml 718 RMD160 94b835d89f4db13e4f46f31569c6ed681bf36a8b SHA1 7ee5cdd9b9cfec5f6e4b87e80e80ae66c9bb3bbf SHA256 4a897b19224d4777793df3ef707377a7d1deb46e632b850c327424219687d47c diff --git a/dev-python/scientificpython/files/scientificpython-mpi.patch b/dev-python/scientificpython/files/scientificpython-mpi.patch new file mode 100644 index 0000000..ee2e972 --- /dev/null +++ b/dev-python/scientificpython/files/scientificpython-mpi.patch @@ -0,0 +1,11 @@ +--- Src/MPI/compile.py.orig 2007-09-15 11:11:53.739580548 +0100 ++++ Src/MPI/compile.py 2007-09-15 11:12:49.798775179 +0100 +@@ -13,7 +13,7 @@ + sources='mpipython.c Scientific_mpi.c' + + +-cmd = '%s %s -o mpipython -I%s %s -L%s -lpython%s %s %s' % \ ++cmd = '%s %s -o mpipython -I%s -I../../Include %s -L%s -lpython%s %s %s' % \ + (mpicompiler, + cfgDict['LINKFORSHARED'], + cfgDict['INCLUDEPY'], diff --git a/dev-python/scientificpython/metadata.xml b/dev-python/scientificpython/metadata.xml new file mode 100644 index 0000000..a531d91 --- /dev/null +++ b/dev-python/scientificpython/metadata.xml @@ -0,0 +1,16 @@ +<?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 lang="en"> +ScientificPython is a collection of Python modules that are useful for +scientific computing. In this collection you will find modules that +cover basic geometry (vectors, tensors, transformations, vector and +tensor fields), quaternions, automatic derivatives, linear +interpolation, polynomials, elementary statistics, nonlinear +least-squares fits, unit calculations, Fortran-compatible text +formatting, 3D visualization via VRML, and two Tk widgets for simple +line plots and 3D wireframe models. +</longdescription> +</pkgmetadata> diff --git a/dev-python/scientificpython/scientificpython-2.7.8.ebuild b/dev-python/scientificpython/scientificpython-2.7.8.ebuild new file mode 100644 index 0000000..14bad5c --- /dev/null +++ b/dev-python/scientificpython/scientificpython-2.7.8.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/scientificpython/scientificpython-2.6.1.ebuild,v 1.1 2007/10/17 11:27:51 bicatali Exp $ + +MY_PN=ScientificPython +DV=1835 # hardcoded download version + +inherit eutils distutils + +DESCRIPTION="Scientific Module for Python" +SRC_URI="http://sourcesup.cru.fr/frs/download.php/${DV}/${MY_PN}-${PV}.tar.gz" +HOMEPAGE="http://dirac.cnrs-orleans.fr/ScientificPython/" +SLOT="0" +LICENSE="CeCILL-2" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86" + +IUSE="mpi doc" + +DEPEND="dev-python/numpy + >=sci-libs/netcdf-3.0 + mpi? ( virtual/mpi )" + +S="${WORKDIR}/${MY_PN}-${PV}" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PN}-mpi.patch +} + +src_compile() { + distutils_src_compile + if use mpi; then + cd Src/MPI + "${python}" compile.py || die "compile mpi failed" + fi +} + +src_test() { + cd "${S}"/build/lib* + for t in "${S}"/Tests/*tests.py; do + PYTHONPATH=. "${python}" ${t} || die "test $(basename ${t}) failed" + done +} + +src_install() { + distutils_src_install + # do not install bsp related stuff, since we don't compile the interface + dodoc README README.MPI Doc/CHANGELOG || die "dodoc failed" + insinto /usr/share/doc/${PF} + doins Examples/{demomodule.c,netcdf_demo.py} || die "doins examples failed" + if use mpi; then + dobin Src/MPI/mpipython || die "dobin failed" + doins Examples/mpi.py || die "doins mpi example failed failed" + fi + if use doc; then + dohtml Doc/Reference/* || die "dohtml failed" + fi +} |