1 |
commit: b52ad7937684719454c84f28fd13eacf352b35ac |
2 |
Author: Sébastien Fabbro <sebfabbro <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Dec 30 04:14:33 2011 +0000 |
4 |
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 30 04:14:33 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=b52ad793 |
7 |
|
8 |
nco in tree |
9 |
|
10 |
--- |
11 |
sci-misc/nco/metadata.xml | 19 ------------ |
12 |
sci-misc/nco/nco-4.0.7.ebuild | 65 ----------------------------------------- |
13 |
2 files changed, 0 insertions(+), 84 deletions(-) |
14 |
|
15 |
diff --git a/sci-misc/nco/metadata.xml b/sci-misc/nco/metadata.xml |
16 |
deleted file mode 100644 |
17 |
index 5dd3778..0000000 |
18 |
--- a/sci-misc/nco/metadata.xml |
19 |
+++ /dev/null |
20 |
@@ -1,19 +0,0 @@ |
21 |
-<?xml version="1.0" encoding="UTF-8"?> |
22 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
23 |
-<pkgmetadata> |
24 |
-<herd>sci</herd> |
25 |
-<longdescription lang="en"> |
26 |
- Command-line operators to analyze netCDF files |
27 |
- NetCDF Operator is a suite of programs known as operators. The |
28 |
- operators are stand-alone, command-line programs executable in a POSIX |
29 |
- shell. Operators take one or more netCDF files as input, perform an |
30 |
- operation (e.g., averaging or hyperslabbing), and produce a netCDF |
31 |
- output file. NCO was originally designed to manipulate and analyze |
32 |
- climate data, though it works on any netCDF format datasets. |
33 |
-</longdescription> |
34 |
-<use> |
35 |
- <flag name='ncap2'>Build next generation netcdf arithmetic processor |
36 |
- (needs <pkg>dev-java/antlr</pkg>)</flag> |
37 |
- <flag name='udunits'>Add <pkg>sci-libs/udunits</pkg> files support</flag> |
38 |
-</use> |
39 |
-</pkgmetadata> |
40 |
|
41 |
diff --git a/sci-misc/nco/nco-4.0.7.ebuild b/sci-misc/nco/nco-4.0.7.ebuild |
42 |
deleted file mode 100644 |
43 |
index 6da2897..0000000 |
44 |
--- a/sci-misc/nco/nco-4.0.7.ebuild |
45 |
+++ /dev/null |
46 |
@@ -1,65 +0,0 @@ |
47 |
-# Copyright 1999-2011 Gentoo Foundation |
48 |
-# Distributed under the terms of the GNU General Public License v2 |
49 |
-# $Header: $ |
50 |
- |
51 |
-EAPI=4 |
52 |
- |
53 |
-inherit eutils |
54 |
- |
55 |
-DESCRIPTION="Command line utilities for operating on netCDF files" |
56 |
-HOMEPAGE="http://nco.sourceforge.net/" |
57 |
-SRC_URI="http://dust.ess.uci.edu/nco/src/${P}.tar.gz" |
58 |
- |
59 |
-LICENSE="GPL-3" |
60 |
-SLOT="0" |
61 |
-KEYWORDS="~amd64 ~ppc ~x86" |
62 |
-IUSE="doc gsl mpi ncap2 static-libs udunits" |
63 |
- |
64 |
-RDEPEND=" |
65 |
- >=sci-libs/netcdf-4 |
66 |
- gsl? ( sci-libs/gsl ) |
67 |
- mpi? ( virtual/mpi ) |
68 |
- udunits? ( >=sci-libs/udunits-2 )" |
69 |
-DEPEND="${RDEPEND} |
70 |
- ncap2? ( !mpi? ( dev-java/antlr:0 ) ) |
71 |
- doc? ( virtual/latex-base )" |
72 |
- |
73 |
-pkg_setup() { |
74 |
- if use mpi && use ncap2; then |
75 |
- elog "mpi and ncap2 are still incompatible flags" |
76 |
- elog "nco configure will automatically disables ncap2" |
77 |
- fi |
78 |
-} |
79 |
- |
80 |
-src_configure() { |
81 |
- local myconf |
82 |
- if has_version '>=sci-libs/netcdf-4[hdf5]'; then |
83 |
- myconf="--enable-netcdf4" |
84 |
- else |
85 |
- myconf="--disable-netcdf4" |
86 |
- fi |
87 |
- econf \ |
88 |
- ${myconf} \ |
89 |
- --disable-udunits \ |
90 |
- $(use_enable gsl) \ |
91 |
- $(use_enable mpi) \ |
92 |
- $(use_enable ncap2) \ |
93 |
- $(use_enable static-libs static) \ |
94 |
- $(use_enable udunits udunits2) |
95 |
-} |
96 |
- |
97 |
-src_compile() { |
98 |
- # TODO: workout -j1 (probably lex crap race condition) |
99 |
- emake -j1 |
100 |
- cd doc |
101 |
- emake clean info |
102 |
- use doc && VARTEXFONTS="${T}/fonts" emake html pdf |
103 |
-} |
104 |
- |
105 |
-src_install() { |
106 |
- emake DESTDIR="${D}" install |
107 |
- cd doc |
108 |
- dodoc ANNOUNCE ChangeLog MANIFEST NEWS README TAG TODO VERSION *.txt |
109 |
- doinfo *.info* |
110 |
- use doc && dohtml nco.html/* && dodoc nco.pdf |
111 |
-} |