public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/netcdf-cxx/files/, sci-libs/netcdf-cxx/
Date: Sat, 23 Jan 2016 20:05:52 +0000 (UTC)	[thread overview]
Message-ID: <1453579513.2ca5155c00e212a4ea8b6b4636b159baa5d917e3.soap@gentoo> (raw)

commit:     2ca5155c00e212a4ea8b6b4636b159baa5d917e3
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 23 19:51:15 2016 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Jan 23 20:05:13 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ca5155c

sci-libs/netcdf-cxx: Add USE=hdf5 dependency on sci-libs/netcdf

Gentoo-Bug: 566622
* EAPI=6
* Remove usage of 'autotools-utils'

Package-Manager: portage-2.2.27

 .../netcdf-cxx/files/netcdf-cxx-4.2-config.patch   |  8 ++---
 sci-libs/netcdf-cxx/netcdf-cxx-4.2.1-r1.ebuild     | 40 ++++++++++++++++++++++
 2 files changed, 44 insertions(+), 4 deletions(-)

diff --git a/sci-libs/netcdf-cxx/files/netcdf-cxx-4.2-config.patch b/sci-libs/netcdf-cxx/files/netcdf-cxx-4.2-config.patch
index 7d83b6d..50b6b47 100644
--- a/sci-libs/netcdf-cxx/files/netcdf-cxx-4.2-config.patch
+++ b/sci-libs/netcdf-cxx/files/netcdf-cxx-4.2-config.patch
@@ -1,5 +1,5 @@
---- ncxx4-config.in.orig	2013-01-10 10:47:00.595224631 -0800
-+++ ncxx4-config.in	2013-01-10 10:49:22.856926765 -0800
+--- netcdf-cxx4-4.2.1/ncxx4-config.in.orig	2013-01-10 10:47:00.595224631 -0800
++++ netcdf-cxx4-4.2.1/ncxx4-config.in	2013-01-10 10:49:22.856926765 -0800
 @@ -5,7 +5,7 @@
  
  prefix=@prefix@
@@ -18,8 +18,8 @@
  flibs="-L${libdir} @NC_FLIBS@"
  has_dap="@HAS_DAP@"
  has_nc2="@HAS_NC2@"
---- netcdf-cxx4.pc.in.orig	2013-01-10 10:46:50.995177250 -0800
-+++ netcdf-cxx4.pc.in	2013-01-10 10:49:45.030036161 -0800
+--- netcdf-cxx4-4.2.1/netcdf-cxx4.pc.in.orig	2013-01-10 10:46:50.995177250 -0800
++++ netcdf-cxx4-4.2.1/netcdf-cxx4.pc.in	2013-01-10 10:49:45.030036161 -0800
 @@ -10,4 +10,4 @@
  Version: @PACKAGE_VERSION@
  Libs: -L${libdir} @NC_LIBS@

diff --git a/sci-libs/netcdf-cxx/netcdf-cxx-4.2.1-r1.ebuild b/sci-libs/netcdf-cxx/netcdf-cxx-4.2.1-r1.ebuild
new file mode 100644
index 0000000..3926444
--- /dev/null
+++ b/sci-libs/netcdf-cxx/netcdf-cxx-4.2.1-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit eutils
+
+MYP=${PN}4-${PV}
+
+DESCRIPTION="C++ library for netCDF"
+HOMEPAGE="http://www.unidata.ucar.edu/software/netcdf/"
+SRC_URI="https://github.com/Unidata/netcdf-cxx4/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="UCAR-Unidata"
+SLOT="0/1"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+IUSE="examples static-libs"
+
+RDEPEND=">=sci-libs/netcdf-4.2:=[hdf5]"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${MYP}"
+
+PATCHES=(
+	"${FILESDIR}/${PN}-4.2-config.patch"
+)
+
+src_configure() {
+	econf $(use_enable static-libs static)
+}
+
+src_install() {
+	default
+	if use examples; then
+		insinto /usr/share/doc/${PF}
+		doins -r examples
+	fi
+	prune_libtool_files
+}


             reply	other threads:[~2016-01-23 20:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-23 20:05 David Seifert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-02-18 18:57 [gentoo-commits] repo/gentoo:master commit in: sci-libs/netcdf-cxx/files/, sci-libs/netcdf-cxx/ David Seifert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1453579513.2ca5155c00e212a4ea8b6b4636b159baa5d917e3.soap@gentoo \
    --to=soap@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox