Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-misc/nco/
Date: Mon, 01 Jan 2018 22:41:35
Message-Id: 1514846447.e72e45e4d390cbdcfd2cc67a1746ef0b3756de5a.soap@gentoo
1 commit: e72e45e4d390cbdcfd2cc67a1746ef0b3756de5a
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 1 22:40:47 2018 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 1 22:40:47 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e72e45e4
7
8 sci-misc/nco: Remove old
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 sci-misc/nco/Manifest | 1 -
13 sci-misc/nco/nco-3.9.9.ebuild | 70 -------------------------------------------
14 2 files changed, 71 deletions(-)
15
16 diff --git a/sci-misc/nco/Manifest b/sci-misc/nco/Manifest
17 index f265a13c299..5d9f8e4e9e0 100644
18 --- a/sci-misc/nco/Manifest
19 +++ b/sci-misc/nco/Manifest
20 @@ -1,2 +1 @@
21 -DIST nco-3.9.9.tar.gz 4109201 BLAKE2B 1249963c2f884326811502b01d02b2ef9c19c4bd0e6e61ddd823661a43e53a895f16f2870d00c02f732a44d7f93b0b4794efe591c95ed4fca1bc168ac13ecb9c SHA512 883d77413aed29982df3be531c458bbbc8c46201783593a71745b993287356aec4c664a080f05da1f2d550d32d2553d55eff7372807d20b4e6dba7bdff282400
22 DIST nco-4.5.1.tar.gz 4406757 BLAKE2B f2e203f1c38f5575fe4affb9122c91c61db8a2c2604cbcf9cd1eec6330e4771b8ff4325fcc19cfa292508e9b7a3107ae20e6230397f1269441e4efb883f8e4e9 SHA512 69c19cc9502272adada329dae669fc1c263a360789963253315e81ce1534647b9172b39a0fd3c0f0f453bf903c8a8a4b0e3f0eb778390e43b64eede3a0478485
23
24 diff --git a/sci-misc/nco/nco-3.9.9.ebuild b/sci-misc/nco/nco-3.9.9.ebuild
25 deleted file mode 100644
26 index 17372725724..00000000000
27 --- a/sci-misc/nco/nco-3.9.9.ebuild
28 +++ /dev/null
29 @@ -1,70 +0,0 @@
30 -# Copyright 1999-2017 Gentoo Foundation
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=2
34 -inherit eutils flag-o-matic
35 -
36 -DESCRIPTION="Command line utilities for operating on netCDF files"
37 -SRC_URI="http://dust.ess.uci.edu/nco/src/${P}.tar.gz"
38 -HOMEPAGE="http://nco.sourceforge.net/"
39 -
40 -LICENSE="GPL-3"
41 -SLOT="0"
42 -KEYWORDS="amd64 x86"
43 -
44 -IUSE="doc mpi ncap2 udunits"
45 -
46 -RDEPEND="sci-libs/netcdf
47 - mpi? ( virtual/mpi )
48 - udunits? ( >=sci-libs/udunits-2 )"
49 -
50 -DEPEND="${RDEPEND}
51 - ncap2? ( !mpi? ( dev-java/antlr:0 ) )
52 - doc? ( virtual/latex-base )"
53 -
54 -pkg_setup() {
55 - if use mpi && use ncap2; then
56 - elog
57 - elog "mpi and ncap2 are still incompatible flags"
58 - elog "nco configure will automatically disables ncap2"
59 - elog
60 - fi
61 -}
62 -
63 -src_configure() {
64 - local myconf
65 - if has_version ">=sci-libs/netcdf-4" && built_with_use sci-libs/netcdf hdf5; then
66 - append-cppflags -DHAVE_NETCDF4_H
67 - myconf="--enable-netcdf4"
68 - else
69 - myconf="--disable-netcdf4"
70 - fi
71 - econf \
72 - ${myconf} \
73 - --disable-udunits \
74 - $(use_enable ncap2) \
75 - $(use_enable udunits udunits2) \
76 - $(use_enable mpi)
77 -}
78 -
79 -src_compile() {
80 - emake || die "emake failed"
81 - cd doc
82 - emake clean info
83 - if use doc; then
84 - VARTEXFONTS="${T}/fonts" emake html pdf || die "emake doc failed"
85 - fi
86 -}
87 -
88 -src_install() {
89 - emake DESTDIR="${D}" install || die "emake install failed"
90 - cd doc
91 - dodoc ANNOUNCE ChangeLog MANIFEST NEWS README TAG TODO VERSION *.txt \
92 - || die "dodoc failed"
93 - doinfo *.info* || die "doinfo failed"
94 - if use doc; then
95 - dohtml nco.html/* || die "dohtml failed"
96 - insinto /usr/share/doc/${PF}
97 - doins nco.pdf || die "pdf install failed"
98 - fi
99 -}