diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2009-01-15 10:29:32 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2009-01-15 10:29:32 +0000 |
commit | d816a00b4a0af46fc50c80c5f9756f4b19063fb3 (patch) | |
tree | 01527d7adb3fb31045c6b9888cd8e4addd62c3c9 /dev-python/scimath | |
parent | Initial import (diff) | |
download | gentoo-2-d816a00b4a0af46fc50c80c5f9756f4b19063fb3.tar.gz gentoo-2-d816a00b4a0af46fc50c80c5f9756f4b19063fb3.tar.bz2 gentoo-2-d816a00b4a0af46fc50c80c5f9756f4b19063fb3.zip |
Initial import
(Portage version: 2.2_rc20/cvs/Linux 2.6.25-gentoo-r7 x86_64)
Diffstat (limited to 'dev-python/scimath')
-rw-r--r-- | dev-python/scimath/ChangeLog | 10 | ||||
-rw-r--r-- | dev-python/scimath/metadata.xml | 14 | ||||
-rw-r--r-- | dev-python/scimath/scimath-3.0.2.ebuild | 37 |
3 files changed, 61 insertions, 0 deletions
diff --git a/dev-python/scimath/ChangeLog b/dev-python/scimath/ChangeLog new file mode 100644 index 000000000000..e58c6909d454 --- /dev/null +++ b/dev-python/scimath/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-python/scimath +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/scimath/ChangeLog,v 1.1 2009/01/15 10:29:32 bicatali Exp $ + +*scimath-3.0.2 (15 Jan 2009) + + 15 Jan 2009; Sébastien Fabbro <bicatali@gentoo.org> +metadata.xml, + +scimath-3.0.2.ebuild: + Initial import + diff --git a/dev-python/scimath/metadata.xml b/dev-python/scimath/metadata.xml new file mode 100644 index 000000000000..67f15cfd0d03 --- /dev/null +++ b/dev-python/scimath/metadata.xml @@ -0,0 +1,14 @@ +<?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"> + The SciMath project from the Enthought Tool Suite includes + packages to support scientific and mathematical calculations, + beyond the capabilities offered by SciPy: + * enthought.interpolate + * enthought.mathematics + * enthought.units + </longdescription> +</pkgmetadata> diff --git a/dev-python/scimath/scimath-3.0.2.ebuild b/dev-python/scimath/scimath-3.0.2.ebuild new file mode 100644 index 000000000000..a0d884ecaa5a --- /dev/null +++ b/dev-python/scimath/scimath-3.0.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/scimath/scimath-3.0.2.ebuild,v 1.1 2009/01/15 10:29:32 bicatali Exp $ + +EAPI=2 +inherit distutils + +MY_PN="SciMath" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="Enthought Tool Suite scientific and mathematical tools" +HOMEPAGE="http://code.enthought.com/projects/sci_math.php" +SRC_URI="http://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +IUSE="test" +SLOT="0" +KEYWORDS="~amd64 ~x86" +LICENSE="BSD" + +RDEPEND=">=dev-python/numpy-1.1 + sci-libs/scipy + dev-python/traits" + +DEPEND="dev-python/setuptools + >=dev-python/numpy-1.1 + test? ( >=dev-python/nose-0.10.3 dev-python/enthoughtbase sci-libs/scipy )" + +S="${WORKDIR}/${MY_P}" + +PYTHON_MODNAME="enthought" + +src_prepare() { + sed -i -e "/self.run_command('build_docs')/d" setup.py || die +} + +src_test() { + PYTHONPATH=$(dir -d build/lib*) ${python} setup.py test || die "tests failed" +} |