public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sebastien Fabbro (bicatali)" <bicatali@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in sci-libs/netcdf: ChangeLog netcdf-3.6.3.ebuild
Date: Thu, 15 Jan 2009 15:04:18 +0000	[thread overview]
Message-ID: <E1LNTla-0005zQ-W2@stork.gentoo.org> (raw)

bicatali    09/01/15 15:04:18

  Modified:             ChangeLog
  Added:                netcdf-3.6.3.ebuild
  Log:
  Version bump
  (Portage version: 2.2_rc22/cvs/Linux 2.6.25-gentoo-r7 x86_64)

Revision  Changes    Path
1.52                 sci-libs/netcdf/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/netcdf/ChangeLog?rev=1.52&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/netcdf/ChangeLog?rev=1.52&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/netcdf/ChangeLog?r1=1.51&r2=1.52

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sci-libs/netcdf/ChangeLog,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -r1.51 -r1.52
--- ChangeLog	15 Jan 2009 13:15:06 -0000	1.51
+++ ChangeLog	15 Jan 2009 15:04:18 -0000	1.52
@@ -1,6 +1,12 @@
 # ChangeLog for sci-libs/netcdf
 # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/netcdf/ChangeLog,v 1.51 2009/01/15 13:15:06 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/netcdf/ChangeLog,v 1.52 2009/01/15 15:04:18 bicatali Exp $
+
+*netcdf-3.6.3 (15 Jan 2009)
+
+  15 Jan 2009; Sébastien Fabbro <bicatali@gentoo.org>
+  +files/netcdf-3.6.3-as-needed.patch, +netcdf-3.6.3.ebuild:
+  Version bump
 
   15 Jan 2009; Sébastien Fabbro <bicatali@gentoo.org>
   files/netcdf-3.6.2-gcc43.patch, -netcdf-3.6.1.ebuild,



1.1                  sci-libs/netcdf/netcdf-3.6.3.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/netcdf/netcdf-3.6.3.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/netcdf/netcdf-3.6.3.ebuild?rev=1.1&content-type=text/plain

Index: netcdf-3.6.3.ebuild
===================================================================
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-libs/netcdf/netcdf-3.6.3.ebuild,v 1.1 2009/01/15 15:04:18 bicatali Exp $

EAPI=2
inherit fortran eutils toolchain-funcs flag-o-matic autotools

DESCRIPTION="Scientific library and interface for array oriented data access"
SRC_URI="ftp://ftp.unidata.ucar.edu/pub/netcdf/${P}.tar.gz"
HOMEPAGE="http://www.unidata.ucar.edu/software/netcdf/"

LICENSE="UCAR-Unidata"
SLOT="0"
IUSE="fortran debug doc"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"

RDEPEND=""
DEPEND="${RDEPEND}
	doc? ( virtual/latex-base )"

pkg_setup() {
	if use fortran ; then
		FORTRAN="gfortran ifc g77 pgf77 pgf90"
		fortran_pkg_setup
	fi
}

src_prepare() {
	epatch "${FILESDIR}"/${PN}-3.6.2-parallel-make.patch
	epatch "${FILESDIR}"/${P}-as-needed.patch
	eautoreconf
}

src_configure() {
	use debug || append-cppflags -DNDEBUG
	local myconf
	if use fortran; then
		case "${FORTRANC}" in
			g77)
				myconf="${myconf} --enable-f77 --disable-f90"
				myconf="${myconf} F77=g77"
				;;
			pgf77)
				myconf="${myconf} --enable-f77 --disable-f90"
				myconf="${myconf} F77=pgf77"
				;;
			pgf90)
				myconf="${myconf} --enable-f77 --enable-f90"
				myconf="${myconf} FC=pgf90 F90=pgf90 F77=pgf90"
				;;
			ifc|ifort)
				myconf="${myconf} --enable-f77 --enable-f90"
				myconf="${myconf} FC=ifort F90=ifort F77=ifort"
				;;
			*)
				myconf="${myconf} --enable-f77 --enable-f90"
				myconf="${myconf} FC=gfortran F90=gfortran F77=gfortran"
				export F90FLAGS="-i4  ${F90FLAGS}"
				;;
		esac
		# fortran 90 uses FCFLAGS
		export FCFLAGS="${FFLAGS:--O2}"
	else
		myconf="${myconf} --disable-f77 --disable-f90"
	fi
	econf \
		--enable-shared \
		--docdir=/usr/share/doc/${PF} \
		$(use_enable debug flag-setting ) \
		$(use_enable doc docs-install) \
		${myconf}
}

src_install() {
	emake DESTDIR="${D}" install || die "emake install failed"

	dodoc README RELEASE_NOTES VERSION || die "dodoc failed"
	# keep only pdf,txt and html docs, info were already installed
	if use doc; then
		find "${D}usr/share/doc/${PF}" -name \*.ps -exec rm -f {} \;
		find "${D}usr/share/doc/${PF}" -name \*.info -exec rm -f {} \;
		find "${D}usr/share/doc/${PF}" -name \*.txt -exec ecompress {} \;
	fi
}






             reply	other threads:[~2009-01-15 15:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-15 15:04 Sebastien Fabbro (bicatali) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-06-22 14:30 [gentoo-commits] gentoo-x86 commit in sci-libs/netcdf: ChangeLog netcdf-3.6.3.ebuild Justin Lecher (jlec)
2010-12-01 16:55 Sebastien Fabbro (bicatali)
2012-07-06  7:50 Justin Lecher (jlec)

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=E1LNTla-0005zQ-W2@stork.gentoo.org \
    --to=bicatali@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