1 |
commit: dc8eac15691012571ae9baf3bdcc5bc729585875 |
2 |
Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 18 00:20:32 2016 +0000 |
4 |
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 18 00:21:24 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc8eac15 |
7 |
|
8 |
dev-python/netcdf4-python: version bump |
9 |
|
10 |
Package-Manager: portage-2.2.27 |
11 |
|
12 |
dev-python/netcdf4-python/Manifest | 1 + |
13 |
dev-python/netcdf4-python/metadata.xml | 9 +++++- |
14 |
.../netcdf4-python/netcdf4-python-1.2.2.ebuild | 34 ++++++++++++++++++++++ |
15 |
3 files changed, 43 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/dev-python/netcdf4-python/Manifest b/dev-python/netcdf4-python/Manifest |
18 |
index 4c6560d..e894b2c 100644 |
19 |
--- a/dev-python/netcdf4-python/Manifest |
20 |
+++ b/dev-python/netcdf4-python/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST netCDF4-1.0.4.tar.gz 521990 SHA256 99f5eaebae2fae92759d13b790dde4226b2b8c83a68f86543c41c7998cba53b7 SHA512 acebb8b721720fae8ae8347ac10b3bc213cbc6db763001292ab99db56fc20fd82abc17d5449ad8d75f40edb5bf14f24b0bece725671fcc15bf3b0cb6580c46c5 WHIRLPOOL d664d2a187b5191275bdc6fd6a456b684b4c9b1c6c0249e0299ba15ec10a6433b0859f84bf26148a7ca392e307a40f4bdfd13a7dc7ff8b059d8471f18e939b16 |
23 |
+DIST netCDF4-1.2.2.tar.gz 679107 SHA256 5e68d0a723ed327e53e90ac73d3dfa25e8da10db9ffba5f2aefd61356722ae9d SHA512 e09465d125077e71b8aad4332be844099c7fa29d0ea8f1dd0887f7a5e849ab778361026323466b1d4897bc3d8f8be1818cfa5f426773c765ee9c5f3728ff3da3 WHIRLPOOL 8fc551fbe6e1628304dd5067a22bbaffbb336c68f8315d5e929927f6ad52b0974b7a412d019b87a65e621e49d720ff1570514af66345e6c46c501ca9d862761e |
24 |
|
25 |
diff --git a/dev-python/netcdf4-python/metadata.xml b/dev-python/netcdf4-python/metadata.xml |
26 |
index 4fbf56d..b230a3c 100644 |
27 |
--- a/dev-python/netcdf4-python/metadata.xml |
28 |
+++ b/dev-python/netcdf4-python/metadata.xml |
29 |
@@ -5,7 +5,14 @@ |
30 |
<email>sci@g.o</email> |
31 |
<name>Gentoo Science Project</name> |
32 |
</maintainer> |
33 |
+ <longdescription> |
34 |
+ netcdf4-python is a Python interface to the netCDF C library. |
35 |
+ netCDF version 4 can read and write files in both the new netCDF 4 |
36 |
+ and the old netCDF 3 format, and can create files that are readable |
37 |
+ by HDF5 clients. The API modelled after Scientific.IO.NetCDF, and |
38 |
+ should be familiar to users of that module. |
39 |
+ </longdescription> |
40 |
<upstream> |
41 |
- <remote-id type="github">Unidata/netcdf4-python</remote-id> |
42 |
+ <remote-id type="pypi">netCDF4</remote-id> |
43 |
</upstream> |
44 |
</pkgmetadata> |
45 |
|
46 |
diff --git a/dev-python/netcdf4-python/netcdf4-python-1.2.2.ebuild b/dev-python/netcdf4-python/netcdf4-python-1.2.2.ebuild |
47 |
new file mode 100644 |
48 |
index 0000000..65825e4 |
49 |
--- /dev/null |
50 |
+++ b/dev-python/netcdf4-python/netcdf4-python-1.2.2.ebuild |
51 |
@@ -0,0 +1,34 @@ |
52 |
+# Copyright 1999-2016 Gentoo Foundation |
53 |
+# Distributed under the terms of the GNU General Public License v2 |
54 |
+# $Id$ |
55 |
+ |
56 |
+EAPI=6 |
57 |
+ |
58 |
+PYTHON_COMPAT=( python2_7 python3_4 python3_5 ) |
59 |
+ |
60 |
+inherit distutils-r1 |
61 |
+ |
62 |
+MY_PN="netCDF4" |
63 |
+MY_P="${MY_PN}-${PV}" |
64 |
+ |
65 |
+DESCRIPTION="Python/numpy interface to the netCDF C library" |
66 |
+HOMEPAGE="http://unidata.github.io/netcdf4-python" |
67 |
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
68 |
+ |
69 |
+SLOT="0" |
70 |
+LICENSE="MIT" |
71 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
72 |
+IUSE="test" |
73 |
+ |
74 |
+RDEPEND=" |
75 |
+ dev-python/numpy |
76 |
+ sci-libs/hdf5 |
77 |
+ sci-libs/netcdf:=[hdf,hdf5]" |
78 |
+DEPEND="${RDEPEND}" |
79 |
+ |
80 |
+S="${WORKDIR}"/${MY_P} |
81 |
+ |
82 |
+python_test() { |
83 |
+ cd test || die |
84 |
+ ${PYTHON} run_all.py || die |
85 |
+} |