summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-07-04 16:06:07 +0000
committerJustin Lecher <jlec@gentoo.org>2013-07-04 16:06:07 +0000
commitdcee788299b06df6f4213fc2c2c651a099584bdb (patch)
tree7f042ed92494a6810ee598d0737257e2098abb87 /dev-python/netcdf4-python
parentdev-python/netcdf4-python: New addition written by me (diff)
downloadhistorical-dcee788299b06df6f4213fc2c2c651a099584bdb.tar.gz
historical-dcee788299b06df6f4213fc2c2c651a099584bdb.tar.bz2
historical-dcee788299b06df6f4213fc2c2c651a099584bdb.zip
dev-python/netcdf4-python: Add missing dep on sci-libs/hdf5; Fix USEDEP; implement tests
Package-Manager: portage-2.2.0_alpha186/cvs/Linux x86_64 Manifest-Sign-Key: 0xB9D4F231BD1558AB!
Diffstat (limited to 'dev-python/netcdf4-python')
-rw-r--r--dev-python/netcdf4-python/ChangeLog5
-rw-r--r--dev-python/netcdf4-python/Manifest30
-rw-r--r--dev-python/netcdf4-python/netcdf4-python-1.0.4.ebuild16
3 files changed, 31 insertions, 20 deletions
diff --git a/dev-python/netcdf4-python/ChangeLog b/dev-python/netcdf4-python/ChangeLog
index bcceb657d188..d3180bc2cfec 100644
--- a/dev-python/netcdf4-python/ChangeLog
+++ b/dev-python/netcdf4-python/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-python/netcdf4-python
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/netcdf4-python/ChangeLog,v 1.1 2013/07/04 15:57:45 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/netcdf4-python/ChangeLog,v 1.2 2013/07/04 16:06:06 jlec Exp $
+
+ 04 Jul 2013; Justin Lecher <jlec@gentoo.org> netcdf4-python-1.0.4.ebuild:
+ Add missing dep on sci-libs/hdf5; Fix USEDEP; implement tests
*netcdf4-python-1.0.4 (04 Jul 2013)
diff --git a/dev-python/netcdf4-python/Manifest b/dev-python/netcdf4-python/Manifest
index e234f89fbbf0..ec992c663808 100644
--- a/dev-python/netcdf4-python/Manifest
+++ b/dev-python/netcdf4-python/Manifest
@@ -2,23 +2,23 @@
Hash: SHA512
DIST netCDF4-1.0.4.tar.gz 521990 SHA256 99f5eaebae2fae92759d13b790dde4226b2b8c83a68f86543c41c7998cba53b7 SHA512 acebb8b721720fae8ae8347ac10b3bc213cbc6db763001292ab99db56fc20fd82abc17d5449ad8d75f40edb5bf14f24b0bece725671fcc15bf3b0cb6580c46c5 WHIRLPOOL d664d2a187b5191275bdc6fd6a456b684b4c9b1c6c0249e0299ba15ec10a6433b0859f84bf26148a7ca392e307a40f4bdfd13a7dc7ff8b059d8471f18e939b16
-EBUILD netcdf4-python-1.0.4.ebuild 656 SHA256 64ef4bd788fd9742cff52b05a9fd7546a47212d3b78c6d673e297339cfe02e67 SHA512 838c5dbbd967acc86bfaddb2fbcebf521e1775d37794e47357f7a437b8ef2132c6f034e84fb1764f153710922b36b8952e218656face75bfd5e531ab8ea15f96 WHIRLPOOL 4528f17cba82a40446db727739696a4ea1bff9d62b5f07e6f8dda21d8c55632730827ec3e803d804d22d74f83d11b9eac710350445c68f05b98fb1644c8753c8
-MISC ChangeLog 382 SHA256 133fd66714f9578409891c0ce909e7741f8494e25f4f2ec2bd9811ee961e22d1 SHA512 6b2eec99cfacf40d635b65f5063407354ef30590b91324ca5964e4f6712fc81db585408c57e3aa468bd117674666f78f26b6090c46a34110321f0f003e3f02da WHIRLPOOL 8b30de63627197ffb867dfee7b70c3d91d2594b775f81cd4e1cbfc4a331afd4c1b20db73c523ed99b149abd283fc99e883378938a84a91ae69e8730aa00efc8f
+EBUILD netcdf4-python-1.0.4.ebuild 782 SHA256 ae4013370c36a4efb9d6a6b872fbf7b7d74cd56984d5070283e2ec102a32c63c SHA512 7964e4a530bfc96bc5f13083bed81afba5f76750ceeeba063ef208cf8f42c2609391c152d5345e41f10d811139b7a80820881f7e824c96408df86127df4ff7b2 WHIRLPOOL 11229bca2bf214f7c3c58e3cfbd65f2f731f4ae4b80028d8d10cb5821af237bbc7d05ad72667bddae8b24826e671ffa381206c334759f8ce3064228e7d51dac9
+MISC ChangeLog 523 SHA256 2bb85b96af6232264ff28f1bc6682c5ffe75b5d10582a0dc379270894055c180 SHA512 e9b4e942704a9ad83000978bde4470aa3e6009aa2361e458364d1df9b34bd7fed27fd5a362c187ce97d3736b2040861ce9e2a1c551061d1672fcb8710c40d108 WHIRLPOOL 2a178b62b8c81d04dfe0248679dd21353fbd1c1d12e3efbdea06c53f1f1a6b50d1b8335fd83c968fba14a79dd3ec0190b6048152f67efb153943f0a1812aba15
MISC metadata.xml 224 SHA256 84b014a026c2945b1b4c6eda4a4576b09039b36c27c2f9f8920ae146a8acfa3e SHA512 3b70a09392d7a939bc59e483e63789152e8dc73351dc682548a47db282224b5d9df7eac8c51bca9847e0b647f88fe2a1e4059ffe262c89a84002a13507fb3586 WHIRLPOOL 078ad63719dd7c12015a2e69f1f00322eda7e4a85f8499b89779a9bdedc92e11bb6c8cb28d6cbdc61c144fe5f22b11264d65a06cc2e67d09a0e4ef37529df71a
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)
-iQIcBAEBCgAGBQJR1Zt6AAoJELnU8jG9FVirCYAQAInQquhUX48NS5tuGdhlhlFg
-1u22cYkPkGC/1SGvGrjV5ya+iiY5QBwzGAQCJTt8XC6QIHFmuf3+8AzK6jEFWrsv
-LModJiXDhw8zy+h+D8UpZe1xM8dQQWNr8oeUFw+PDjzSozDpvBaPc6LOoHxQbyyl
-A6N6H5gaNkakyOwSzs7MNiAXHukcjhu798S8/EZ3klwYKlqN9r6fF+saCNo9Z/G+
-pyjxmxBAcJ/e5ghpGejZ8DKtJ5TYTUXQK7+lVXcNQ6aMBJirU5tLVbl28dLOaC8I
-kxZ+tvv5GtoErb5V8TL9vQFuYC8aBUuruOeN6HQZxNDIx4hjuGoCVcs2j1VC4WDs
-jiWqkQOA/qxBxb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Qyq3e4YHIM7qdEV
+=wiF8
-----END PGP SIGNATURE-----
diff --git a/dev-python/netcdf4-python/netcdf4-python-1.0.4.ebuild b/dev-python/netcdf4-python/netcdf4-python-1.0.4.ebuild
index 4a21ad232cc5..75dcca39c0b1 100644
--- a/dev-python/netcdf4-python/netcdf4-python-1.0.4.ebuild
+++ b/dev-python/netcdf4-python/netcdf4-python-1.0.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/netcdf4-python/netcdf4-python-1.0.4.ebuild,v 1.1 2013/07/04 15:57:45 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/netcdf4-python/netcdf4-python-1.0.4.ebuild,v 1.2 2013/07/04 16:06:06 jlec Exp $
EAPI=5
@@ -18,9 +18,17 @@ SRC_URI="https://netcdf4-python.googlecode.com/files/${MY_P}.tar.gz"
SLOT="0"
LICENSE="MIT"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE=""
+IUSE="test"
-RDEPEND="sci-libs/netcdf"
-DEPEND="${RDEPEND}"
+RDEPEND="
+ sci-libs/hdf5
+ sci-libs/netcdf[hdf]"
+DEPEND="${RDEPEND}
+ test? ( virtual/python-unittest2 )"
S="${WORKDIR}"/${MY_P}
+
+python_test() {
+ cd test || die
+ ${PYTHON} run_all.py || die
+}