summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/scientificpython/Manifest12
-rw-r--r--dev-python/scientificpython/scientificpython-2.9.ebuild20
2 files changed, 12 insertions, 20 deletions
diff --git a/dev-python/scientificpython/Manifest b/dev-python/scientificpython/Manifest
index 8b1441720dc3..7ad54970fea1 100644
--- a/dev-python/scientificpython/Manifest
+++ b/dev-python/scientificpython/Manifest
@@ -1,18 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX scientificpython-2.8-mpi.patch 530 RMD160 9ce4b864391bae5ec5365af17b8199899191625d SHA1 f1f40e2f354ea2210d6070abba5fd38168712be3 SHA256 fc327506ebdfd5e3a7e5e1351b6575039748ff9d1650b0e64a9efa57b799dacc
AUX scientificpython-2.9-mpi.patch 1176 RMD160 cad462654d528591ce8dbf185cf21c14a58c31e0 SHA1 1f327805854e76ac8123f2b4f9ac0ce4cf05375b SHA256 de665a5fbf474253a1fff8b5a929cd68165e5d6dd0d9e0fe52b4ecd39bedc43f
DIST ScientificPython-2.8.tar.gz 559613 RMD160 0501829586253fe3986458529c436b6d93e6667f SHA1 c0847eac6359d70b0e4687c5c65af49b3986e55b SHA256 4de6c8d1b28526d0f2db02f30e99a28a8340ee4cc06fa0a5c0d4b20096806908
DIST ScientificPython-2.9.tar.gz 593720 RMD160 2533879b64fcb17027b11784fc0cff4351284c98 SHA1 60fb1ec7c31c86b7e7a068ccda780197e1e95ad8 SHA256 4ffc33f211b9dc811af0aa82b74453f73c7f415c04352ac1cef92b95b12b74be
EBUILD scientificpython-2.8.ebuild 1581 RMD160 a454b528c0e2413ab6dd481d3e42feb7c8401691 SHA1 da39555ea610a51b8e7cceabe8187f5d0dbf2d04 SHA256 070c7f0c30a8c4d6f766b8610d924581aa3bd10651dc9b938d3ef55470d5a211
-EBUILD scientificpython-2.9.ebuild 2129 RMD160 b50cce2dac68e7e6b0f9f1d6c39baa08c3170764 SHA1 3e4f98ec7b13cfe558d5a3145fed51cb1a3876b6 SHA256 ae59f90c024614b676caccc215bdb3c41dd11b9ceaa1fd069cc9e35f4b4cc863
+EBUILD scientificpython-2.9.ebuild 2134 RMD160 f99335c1f401d1d481fab3bea6e5341ec3f9c6c9 SHA1 0fd6612b170a1b2df7705f17dbb2b5dda52fd78f SHA256 fdcc88be218af10585d0b14cf5d06bed5852a312f8801654fc7d173d16fdca11
MISC ChangeLog 5964 RMD160 0cca840671ba10aab2f1998cfc1d8bdf07ccfa82 SHA1 32ce21fc48db39cfb8130471a1e9ae27aec7fde5 SHA256 285973489bbb3045e1b47f576d170e546d947106d9493ace9af5265f6907b436
MISC metadata.xml 734 RMD160 47baa4ca9756eff5e19c8f7b18f18054d5c3e1aa SHA1 aa3adb4221bc8997d68d01afa2ca8528ab579baf SHA256 6749ecfd7ae3f2ed8e9da27ad372d9f35023cdf3ea7ab0976b829460b1d03b2f
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.11 (GNU/Linux)
-
-iEYEARECAAYFAksOvF0ACgkQkKaRLQcq0GKxLQCcCTak3T+w7/MszjWAAk9tmAUo
-fu0AnibFZZWpOyFIjwiv98abX6Fkwp3d
-=c6iR
------END PGP SIGNATURE-----
diff --git a/dev-python/scientificpython/scientificpython-2.9.ebuild b/dev-python/scientificpython/scientificpython-2.9.ebuild
index 35bc3ca60af6..68a12664df08 100644
--- a/dev-python/scientificpython/scientificpython-2.9.ebuild
+++ b/dev-python/scientificpython/scientificpython-2.9.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/scientificpython/scientificpython-2.9.ebuild,v 1.2 2009/09/05 01:33:12 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/scientificpython/scientificpython-2.9.ebuild,v 1.3 2009/12/24 22:44:51 arfrever Exp $
EAPI="2"
SUPPORT_PYTHON_ABIS="1"
@@ -13,16 +13,17 @@ DV="2372" # hardcoded download version
DESCRIPTION="Scientific Module for Python"
SRC_URI="http://sourcesup.cru.fr/frs/download.php/${DV}/${MY_PN}-${PV}.tar.gz"
HOMEPAGE="http://sourcesup.cru.fr/projects/scientific-py/"
-SLOT="0"
+
LICENSE="CeCILL-2"
+SLOT="0"
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
+IUSE="doc mpi test"
-IUSE="doc mpi"
-
-DEPEND="dev-python/numpy
+RDEPEND="dev-python/numpy
sci-libs/netcdf
mpi? ( virtual/mpi )"
-RDEPEND="${DEPEND}"
+DEPEND="${RDEPEND}
+ test? ( dev-python/nose )"
RESTRICT_PYTHON_ABIS="3.*"
S="${WORKDIR}/${MY_PN}-${PV}.0"
@@ -49,9 +50,7 @@ src_compile() {
src_test() {
cd Tests
testing() {
- for test in *tests.py; do
- PYTHONPATH="$(ls -d ../build-${PYTHON_ABI}/lib*)" "$(PYTHON)" "${test}" || die "test ${test} failed with Python ${PYTHON_ABI}"
- done
+ PYTHONPATH="$(ls -d ../build-${PYTHON_ABI}/lib.*)" nosetests-${PYTHON_ABI}
}
python_execute_function testing
}
@@ -62,13 +61,16 @@ src_install() {
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
installation_of_mpipython() {
dobin Src/MPI/mpipython-${PYTHON_ABI}
}
python_execute_function -q installation_of_mpipython
+ python_generate_wrapper_scripts "${D}usr/bin/mpipython"
doins Examples/mpi.py || die "doins mpi example failed failed"
fi
+
if use doc; then
dohtml Doc/Reference/* || die "dohtml failed"
fi