From 5bc17fd766fd263eee51be362fa9d368856ab85e Mon Sep 17 00:00:00 2001 From: Sebastien Fabbro Date: Fri, 27 Apr 2007 17:01:01 +0000 Subject: [PATCH] Version bump. Added functionality through new use flags: mpi, udunits and ncap2. Proper documentation and longdescription added to metadata.xml. Closing bug #160843. Thanks snickl.freaks.de for his initial ebuild. Package-Manager: portage-2.1.2.2 --- sci-misc/nco/ChangeLog | 10 ++++- sci-misc/nco/Manifest | 32 +++++++++------ sci-misc/nco/files/digest-nco-3.2.0 | 3 ++ sci-misc/nco/metadata.xml | 9 +++++ sci-misc/nco/nco-3.2.0.ebuild | 61 +++++++++++++++++++++++++++++ 5 files changed, 102 insertions(+), 13 deletions(-) create mode 100644 sci-misc/nco/files/digest-nco-3.2.0 create mode 100644 sci-misc/nco/nco-3.2.0.ebuild diff --git a/sci-misc/nco/ChangeLog b/sci-misc/nco/ChangeLog index 0337105f2e41..1d46300f21bc 100644 --- a/sci-misc/nco/ChangeLog +++ b/sci-misc/nco/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for sci-misc/nco # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-misc/nco/ChangeLog,v 1.5 2007/02/09 05:27:22 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-misc/nco/ChangeLog,v 1.6 2007/04/27 17:01:01 bicatali Exp $ + +*nco-3.2.0 (27 Apr 2007) + + 27 Apr 2007; Sébastien Fabbro metadata.xml, + +nco-3.2.0.ebuild: + Version bump. Added functionality through new use flags: mpi, udunits and + ncap2. Proper documentation and longdescription added to metadata.xml. + Closing bug #160843. Thanks snickl.freaks.de for his initial ebuild. 09 Feb 2007; Diego Pettenò ChangeLog: Regenerate digest in Manifest2 format. diff --git a/sci-misc/nco/Manifest b/sci-misc/nco/Manifest index 6888da64a7f0..5448f73c0d27 100644 --- a/sci-misc/nco/Manifest +++ b/sci-misc/nco/Manifest @@ -2,25 +2,33 @@ Hash: SHA1 DIST nco-2.9.1.tar.bz2 650696 RMD160 ed2b540221588d1d87b7884eac00230167120f13 SHA1 8d202390403c75900920bad807c297ef14e1edf7 SHA256 259b4dc24d288773fa39fb8f5919031853e558d352704d4dcb5ed26bb0f41e4f +DIST nco-3.2.0.tar.gz 3239108 RMD160 37bf10ad387036c2d05757dea0163ebdf128a5a6 SHA1 edb0bbf1f08833f98b8949780055dc161d670ba3 SHA256 7804dfb2e40ea6fa2bdbd81cf69c1eb1e6027f60d7f1c3d62d58eb413c5d3159 EBUILD nco-2.9.1.ebuild 695 RMD160 06b5304370468449704b5f6ae1383d7fcb334852 SHA1 20a3170a41be3c410162cd8432fe6b353ef5dc1c SHA256 a488ae8161a477a6203c0ed7199f71481cc8df4867eb6adf86512a182e8bda13 MD5 62152e4cd7372da774b848ecb3034e27 nco-2.9.1.ebuild 695 RMD160 06b5304370468449704b5f6ae1383d7fcb334852 nco-2.9.1.ebuild 695 SHA256 a488ae8161a477a6203c0ed7199f71481cc8df4867eb6adf86512a182e8bda13 nco-2.9.1.ebuild 695 -MISC ChangeLog 1588 RMD160 f37f891ec5ecee952cae5245f2b98e96d3eb7c22 SHA1 8eda8a7a03107c37380cf81b30d33e503dfbe23b SHA256 46412beb437342b9db07260dbe6cb8e6b8889ec7d6ee139b4484dff72c8a4371 -MD5 d5923eb68b232a58c723925efd643992 ChangeLog 1588 -RMD160 f37f891ec5ecee952cae5245f2b98e96d3eb7c22 ChangeLog 1588 -SHA256 46412beb437342b9db07260dbe6cb8e6b8889ec7d6ee139b4484dff72c8a4371 ChangeLog 1588 -MISC metadata.xml 156 RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 SHA1 da2b240a255820145b7c83a5c48e45b96b7e9ee6 SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900 -MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 -RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 metadata.xml 156 -SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900 metadata.xml 156 +EBUILD nco-3.2.0.ebuild 1517 RMD160 d5dd2ce77e057592c80c906a732cc199c54fd70a SHA1 85b2aee812194858ee04dc8bfa2997ae69a33225 SHA256 aab27f6779ca1cdd2b382c7ae8000f3b138e65efdad690c66175d2b124d4941a +MD5 3693f0a2f75f2ed86c689fccb88f30a1 nco-3.2.0.ebuild 1517 +RMD160 d5dd2ce77e057592c80c906a732cc199c54fd70a nco-3.2.0.ebuild 1517 +SHA256 aab27f6779ca1cdd2b382c7ae8000f3b138e65efdad690c66175d2b124d4941a nco-3.2.0.ebuild 1517 +MISC ChangeLog 1924 RMD160 e1730af70b9e981aafb5a2083452e5ed7062f29c SHA1 8f21fc9da7c38c5f641e59495c8c01e80de6ea8c SHA256 d4ee0fa32c5b09852c676a36427d69b5a5a727a1394cfec69f034a16c43027d3 +MD5 2dfa9172e5e75fc3038acbd87e4640fd ChangeLog 1924 +RMD160 e1730af70b9e981aafb5a2083452e5ed7062f29c ChangeLog 1924 +SHA256 d4ee0fa32c5b09852c676a36427d69b5a5a727a1394cfec69f034a16c43027d3 ChangeLog 1924 +MISC metadata.xml 647 RMD160 88fda1369faf3a560e1e7eeea07a79f9288b14d2 SHA1 a55c8a69574e872d42a16e8ff59adbd3272e06de SHA256 013f824c37170806a778d8956dd7e49f7400ef3fb8934897b26106ee9d0f17f0 +MD5 f8d2c13216b706383e1d6a296a5a3fe1 metadata.xml 647 +RMD160 88fda1369faf3a560e1e7eeea07a79f9288b14d2 metadata.xml 647 +SHA256 013f824c37170806a778d8956dd7e49f7400ef3fb8934897b26106ee9d0f17f0 metadata.xml 647 MD5 765cde5169e6df5aab8deb75c5c4cb46 files/digest-nco-2.9.1 232 RMD160 58a1564600b59df1d463ba7c25deaa1024c8cc4b files/digest-nco-2.9.1 232 SHA256 c94aed9659456756d5d6f29c1daa3e4950eea0a14fddd45a3eab13c1821653a7 files/digest-nco-2.9.1 232 +MD5 9212abdaaccfb3ba73156d08b47711da files/digest-nco-3.2.0 232 +RMD160 1794f8a248a0746228f58c36eb6e2bcbbbfb6416 files/digest-nco-3.2.0 232 +SHA256 ac922c311bb81e10fa2d6863b73501b319abb7323b161e9f3c3b9d39321cd99c files/digest-nco-3.2.0 232 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.2 (GNU/Linux) +Version: GnuPG v1.4.6 (GNU/Linux) -iD8DBQFFzAZBAiZjviIA2XgRAnqRAJoCZvVgWW1QzMjXmq5tFB63jgMHUwCg58Ky -5eoH207UN/AtDrqXukHnX00= -=T2Fe +iD8DBQFGMixo1ycZbhPLE2ARApMLAKCHGoIaKMJQlemV84xrg6KHoAnoXQCggrqV +JtjGBF7bZxAG1xySykC2wpc= +=Z/dY -----END PGP SIGNATURE----- diff --git a/sci-misc/nco/files/digest-nco-3.2.0 b/sci-misc/nco/files/digest-nco-3.2.0 new file mode 100644 index 000000000000..ef6227c859e5 --- /dev/null +++ b/sci-misc/nco/files/digest-nco-3.2.0 @@ -0,0 +1,3 @@ +MD5 f2b17cc39a21416d44a8891851a53a37 nco-3.2.0.tar.gz 3239108 +RMD160 37bf10ad387036c2d05757dea0163ebdf128a5a6 nco-3.2.0.tar.gz 3239108 +SHA256 7804dfb2e40ea6fa2bdbd81cf69c1eb1e6027f60d7f1c3d62d58eb413c5d3159 nco-3.2.0.tar.gz 3239108 diff --git a/sci-misc/nco/metadata.xml b/sci-misc/nco/metadata.xml index b229aec85b8f..9ea6e83aa938 100644 --- a/sci-misc/nco/metadata.xml +++ b/sci-misc/nco/metadata.xml @@ -2,4 +2,13 @@ sci + +Command-line operators to analyze netCDF files +NetCDF Operator is a suite of programs known as operators. The +operators are stand-alone, command-line programs executable in a POSIX +shell. Operators take one or more netCDF files as input, perform an +operation (e.g., averaging or hyperslabbing), and produce a netCDF +output file. NCO was originally designed to manipulate and analyze +climate data, though it works on any netCDF format datasets. + diff --git a/sci-misc/nco/nco-3.2.0.ebuild b/sci-misc/nco/nco-3.2.0.ebuild new file mode 100644 index 000000000000..a131e40a2f58 --- /dev/null +++ b/sci-misc/nco/nco-3.2.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-misc/nco/nco-3.2.0.ebuild,v 1.1 2007/04/27 17:01:01 bicatali Exp $ + +DESCRIPTION="Command line utilities for operating on netCDF files" +SRC_URI="http://dust.ess.uci.edu/nco/src/${P}.tar.gz" +HOMEPAGE="http://nco.sourceforge.net/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~ppc" + +IUSE="mpi doc ncap2 udunits" + +RDEPEND="sci-libs/netcdf + mpi? ( virtual/mpi ) + udnunits? ( sci-libs/udunits )" + +DEPEND="${RDEPEND} + ncap2? ( !mpi? ( dev-java/antlr ) ) + doc? ( virtual/tetex )" + +pkg_setup() { + if use mpi && use ncap2; then + elog + elog "mpi and ncap2 are still incompatible flags" + elog "nco configure will automatically disables ncap2" + elog + fi +} + +src_compile() { + # force disabling experimental and not implemented features + econf \ + --disable-dap \ + --disable-netcdf4 \ + --disable-i18n \ + --enable-regex \ + --enable-nco_cplusplus \ + $(use_enable ncap2 ncoxx) \ + $(use_enable udunits) \ + $(use_enable mpi) \ + || die "econf failed" + emake || die "emake failed" + cd "${S}"/doc + make clean info + use doc && make html pdf || die "make doc failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + cd doc + dodoc ANNOUNCE ChangeLog MANIFEST NEWS README TAG TODO VERSION *.txt \ + || die "dodoc failed" + doinfo *.info* || die "doinfo failed" + if use doc; then + dohtml nco.html/* + insinto /usr/share/doc/${PF} + doins nco.pdf + fi +} -- 2.26.2