1 |
commit: c2ca03744553df978ac1c80ce6cdfb99e7f2a08b |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 28 11:25:00 2016 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 28 11:25:47 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2ca0374 |
7 |
|
8 |
sci-libs/netcdf: Version bump |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
sci-libs/netcdf/Manifest | 1 + |
13 |
sci-libs/netcdf/netcdf-4.4.1.1.ebuild | 51 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 52 insertions(+) |
15 |
|
16 |
diff --git a/sci-libs/netcdf/Manifest b/sci-libs/netcdf/Manifest |
17 |
index bed947e..b56cba1 100644 |
18 |
--- a/sci-libs/netcdf/Manifest |
19 |
+++ b/sci-libs/netcdf/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST netcdf-4.3.2.tar.gz 5013938 SHA256 57086b4383ce9232f05aad70761c2a6034b1a0c040260577d369b3bbfe6d248e SHA512 9cb9c761bf1e17a37601c37000fdc0bb654afcf111e5ac2fb7dcf037c6aa827e66beb29d5c661edc50ea3f84849f3dee387aab9e85ef81a9b6ca3f36e45debdd WHIRLPOOL 7fb0dd3324c3e8864729db1409a76feb84ef35298c0f79a4258f1cd30a70e90070d9a44275d064d8a4952c32671182f1bfe97d47f26cf921a625bbe7160f3249 |
22 |
DIST netcdf-4.4.0.tar.gz 17487357 SHA256 09b78b152d3fd373bee4b5738dc05c7b2f5315fe34aa2d94ee9256661119112f SHA512 c5cae15e86d11e6434a489bdac39ea498bdca2008ae6732a16603b32d79a9227a168a0fa0174c6d55ced0c92d9b644f60db4d946f695731161572abd6b778fa1 WHIRLPOOL cdbf02533cd3ebaad563d28a853ec43f0297e4a4be2ced0aea2f44aa07768846a1dba98199c961d5674996f96f931a7b39df584836fd3451530e37a73277de2f |
23 |
+DIST netcdf-4.4.1.1.tar.gz 17670828 SHA256 7f040a0542ed3f6d27f3002b074e509614e18d6c515b2005d1537fec01b24909 SHA512 ee23f37d7b40e7b9a115d29bc038c7c654d50dedfcad62617b8dee3efa4668305e6a0656ba655770727ff46f4b6d742869c719267eca3392c94e2488eb902da7 WHIRLPOOL 9cb996847441a4f0a865890637f1a5f54ff3a914918f465edd31811c32218c78fdd27017c6bd50d5b09f95a76ccc0421c5e4801c75c8a6689b390aa9fe6b08a9 |
24 |
|
25 |
diff --git a/sci-libs/netcdf/netcdf-4.4.1.1.ebuild b/sci-libs/netcdf/netcdf-4.4.1.1.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000..a2b07fc |
28 |
--- /dev/null |
29 |
+++ b/sci-libs/netcdf/netcdf-4.4.1.1.ebuild |
30 |
@@ -0,0 +1,51 @@ |
31 |
+# Copyright 1999-2016 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+# $Id$ |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+inherit eutils |
38 |
+ |
39 |
+DESCRIPTION="Scientific library and interface for array oriented data access" |
40 |
+HOMEPAGE="http://www.unidata.ucar.edu/software/netcdf/" |
41 |
+SRC_URI="https://github.com/Unidata/netcdf-c/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="UCAR-Unidata" |
44 |
+SLOT="0/11" |
45 |
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" |
46 |
+IUSE="+dap examples hdf +hdf5 mpi static-libs szip test tools" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ dap? ( net-misc/curl:0= ) |
50 |
+ hdf? ( sci-libs/hdf:0= sci-libs/hdf5:0= ) |
51 |
+ hdf5? ( sci-libs/hdf5:0=[hl(+),mpi=,szip=,zlib] )" |
52 |
+DEPEND="${RDEPEND}" |
53 |
+# doc generation is missing many doxygen files in tar ball |
54 |
+# doc? ( app-doc/doxygen[dot] )" |
55 |
+ |
56 |
+REQUIRED_USE="test? ( tools ) szip? ( hdf5 ) mpi? ( hdf5 )" |
57 |
+ |
58 |
+S="${WORKDIR}/${PN}-c-${PV}" |
59 |
+ |
60 |
+src_configure() { |
61 |
+ local myconf |
62 |
+ if use mpi; then |
63 |
+ export CC=mpicc |
64 |
+ myconf="--enable-parallel" |
65 |
+ use test && myconf+=" --enable-parallel-tests" |
66 |
+ fi |
67 |
+ econf "${myconf}" \ |
68 |
+ --disable-examples \ |
69 |
+ --disable-dap-remote-tests \ |
70 |
+ $(use_enable dap) \ |
71 |
+ $(use_enable hdf hdf4) \ |
72 |
+ $(use_enable hdf5 netcdf-4) \ |
73 |
+ $(use_enable static-libs static) \ |
74 |
+ $(use_enable tools utilities) |
75 |
+} |
76 |
+ |
77 |
+src_install() { |
78 |
+ default |
79 |
+ use examples && dodoc -r examples |
80 |
+ prune_libtool_files |
81 |
+} |