public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/parallel-netcdf/
@ 2021-09-29 14:25 Alessandro Barbieri
  0 siblings, 0 replies; 5+ messages in thread
From: Alessandro Barbieri @ 2021-09-29 14:25 UTC (permalink / raw
  To: gentoo-commits

commit:     0b5d0f6dc01ee66b5ec4f4e22a971c055948558d
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed Sep 29 14:25:27 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Wed Sep 29 14:25:27 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0b5d0f6d

sys-cluster/parallel-netcdf: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-cluster/parallel-netcdf/Manifest               |  1 +
 sys-cluster/parallel-netcdf/metadata.xml           | 25 +++++++
 .../parallel-netcdf/parallel-netcdf-1.12.2.ebuild  | 80 ++++++++++++++++++++++
 3 files changed, 106 insertions(+)

diff --git a/sys-cluster/parallel-netcdf/Manifest b/sys-cluster/parallel-netcdf/Manifest
new file mode 100644
index 000000000..eba2d268b
--- /dev/null
+++ b/sys-cluster/parallel-netcdf/Manifest
@@ -0,0 +1 @@
+DIST pnetcdf-1.12.2.tar.gz 2355892 BLAKE2B ea94d63caa8d42b727084be0580c43e0ac03325acafb046a057092b41880a875a1ca04d1b0183062aed3d7182103217c02165c0f65e722b50129931fb7c93e82 SHA512 b482eadb4955a312fab885aa89c08817c010ed6ff69dff3cfa9c530f1b645b788973029909a8f6fd428170103cfa0784e1bfe085a48d9bcd2446dbd0d40ed67d

diff --git a/sys-cluster/parallel-netcdf/metadata.xml b/sys-cluster/parallel-netcdf/metadata.xml
new file mode 100644
index 000000000..de4248a59
--- /dev/null
+++ b/sys-cluster/parallel-netcdf/metadata.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<description>comaintainers welcome</description>
+		<email>lssndrbarbieri@gmail.com</email>
+		<name>Alessandro Barbieri</name>
+	</maintainer>
+	<upstream>
+		<bugs-to>https://github.com/Parallel-NetCDF/PnetCDF/issues</bugs-to>
+		<remote-id type="github">Parallel-NetCDF/PnetCDF</remote-id>
+	</upstream>
+	<use>
+		<flag name="burst-buffering">Enable burst buffer driver support</flag>
+		<flag name="cxx">Turn on support for the C++ interface</flag>
+		<flag name="erange-fill">Disable use of fill value when out-of-range type conversion causes NC_ERANGE error</flag>
+		<flag name="fortran">Turn on support for the Fortran interface</flag>
+		<flag name="file-sync"> Disable MPI file sync if you know your file system can provide data consistency</flag>
+		<flag name="netcdf">Enable NetCDF-4 feature</flag>
+		<flag name="null-byte-header-padding">Enable check for null-byte header padding when reading files in classic formats</flag>
+		<flag name="relax-coord-bound">Use stricter rule for error NC_EINVALCOORDS to disallow coordinate start argument equal to dimension size when argument count is zero</flag>
+		<flag name="subfiling">Enable subfiling support</flag>
+		<flag name="threadsafe">Enable thread-safe capability</flag>
+	</use>
+</pkgmetadata>

diff --git a/sys-cluster/parallel-netcdf/parallel-netcdf-1.12.2.ebuild b/sys-cluster/parallel-netcdf/parallel-netcdf-1.12.2.ebuild
new file mode 100644
index 000000000..456e0f5f8
--- /dev/null
+++ b/sys-cluster/parallel-netcdf/parallel-netcdf-1.12.2.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FORTRAN_NEEDED=fortran
+MYP="pnetcdf-${PV}"
+
+inherit fortran-2
+
+DESCRIPTION="Parallel extension to netCDF"
+HOMEPAGE="
+	https://parallel-netcdf.github.io
+	http://cucis.ece.northwestern.edu/projects/PnetCDF
+	http://www-unix.mcs.anl.gov/parallel-netcdf
+"
+SRC_URI="http://cucis.ece.northwestern.edu/projects/PnetCDF/Release/${MYP}.tar.gz"
+S="${WORKDIR}/${MYP}"
+
+LICENSE="UCAR-Unidata"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="burst-buffering +cxx debug doc +erange-fill +file-sync +fortran netcdf
+null-byte-header-padding +relax-coord-bound subfiling threadsafe"
+
+RDEPEND="
+	netcdf? ( sci-libs/netcdf[mpi] )
+	virtual/mpi
+"
+#	adios? ( sys-cluster/adios )
+DEPEND="${RDEPEND}"
+BDEPEND="doc? ( app-doc/doxygen )"
+
+pkg_setup() {
+	fortran-2_pkg_setup
+}
+
+src_configure() {
+	export MPIF77=/usr/bin/mpif77
+	export MPIF90=/usr/bin/mpif90
+
+	local myconf=(
+		--enable-shared
+		--with-mpi="${EPREFIX}/usr"
+
+		$(use_enable burst-buffering)
+		$(use_enable cxx)
+		$(use_enable debug)
+		$(use_enable doc doxygen)
+		$(use_enable erange-fill)
+		$(use_enable file-sync)
+		$(use_enable fortran)
+		$(use_enable netcdf netcdf4)
+		$(use_enable null-byte-header-padding)
+		$(use_enable relax-coord-bound)
+		$(use_enable subfiling)
+		$(use_enable threadsafe thread-safe)
+	)
+#		$(use_enable adios)
+#	if use adios; then
+#		myconf+=( "--with-adios=${EPREFIX}/usr" )
+#	else
+#		myconf+=( "--without-adios" )
+#	fi
+	if use netcdf; then
+		myconf+=( "--with-netcdf4=${EPREFIX}/usr" )
+	else
+		myconf+=( "--without-netcdf4" )
+	fi
+
+	econf "${myconf[@]}"
+}
+
+src_compile() {
+	emake
+}
+
+src_install() {
+	emake DESTDIR="${D}" install
+}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/parallel-netcdf/
@ 2021-09-29 14:27 Alessandro Barbieri
  0 siblings, 0 replies; 5+ messages in thread
From: Alessandro Barbieri @ 2021-09-29 14:27 UTC (permalink / raw
  To: gentoo-commits

commit:     1acc8bd8d1a590ca8ea71e36cb8f0b405bb1abf7
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed Sep 29 14:27:40 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Wed Sep 29 14:27:40 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1acc8bd8

sys-cluster/parallel-netcdf: fix header

Package-Manager: Portage-3.0.24, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-cluster/parallel-netcdf/parallel-netcdf-1.12.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-cluster/parallel-netcdf/parallel-netcdf-1.12.2.ebuild b/sys-cluster/parallel-netcdf/parallel-netcdf-1.12.2.ebuild
index 456e0f5f8..527b63c48 100644
--- a/sys-cluster/parallel-netcdf/parallel-netcdf-1.12.2.ebuild
+++ b/sys-cluster/parallel-netcdf/parallel-netcdf-1.12.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/parallel-netcdf/
@ 2021-09-29 15:36 Alessandro Barbieri
  0 siblings, 0 replies; 5+ messages in thread
From: Alessandro Barbieri @ 2021-09-29 15:36 UTC (permalink / raw
  To: gentoo-commits

commit:     33b46eadffb2486f187a187ef471b087fa22b12c
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed Sep 29 15:34:22 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Wed Sep 29 15:34:22 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=33b46ead

sys-cluster/parallel-netcdf: build doc, autoreconf

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 .../parallel-netcdf/parallel-netcdf-1.12.2.ebuild  | 24 +++++++++++++++-------
 1 file changed, 17 insertions(+), 7 deletions(-)

diff --git a/sys-cluster/parallel-netcdf/parallel-netcdf-1.12.2.ebuild b/sys-cluster/parallel-netcdf/parallel-netcdf-1.12.2.ebuild
index 527b63c48..09c7c966f 100644
--- a/sys-cluster/parallel-netcdf/parallel-netcdf-1.12.2.ebuild
+++ b/sys-cluster/parallel-netcdf/parallel-netcdf-1.12.2.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 FORTRAN_NEEDED=fortran
 MYP="pnetcdf-${PV}"
 
-inherit fortran-2
+inherit autotools fortran-2
 
 DESCRIPTION="Parallel extension to netCDF"
 HOMEPAGE="
@@ -29,15 +29,26 @@ RDEPEND="
 "
 #	adios? ( sys-cluster/adios )
 DEPEND="${RDEPEND}"
-BDEPEND="doc? ( app-doc/doxygen )"
+BDEPEND="
+	doc? (
+		app-doc/doxygen
+		dev-texlive/texlive-latex
+	)
+"
 
 pkg_setup() {
 	fortran-2_pkg_setup
 }
 
+src_prepare() {
+	default
+	eautoreconf
+}
+
 src_configure() {
 	export MPIF77=/usr/bin/mpif77
 	export MPIF90=/usr/bin/mpif90
+	export VARTEXFONTS="${T}/fonts"
 
 	local myconf=(
 		--enable-shared
@@ -71,10 +82,9 @@ src_configure() {
 	econf "${myconf[@]}"
 }
 
-src_compile() {
-	emake
-}
-
 src_install() {
-	emake DESTDIR="${D}" install
+	default
+	dodoc doc/README.{ADIOS.md,NetCDF4.md,burst_buffering,consistency,large_files} doc/pbs.script
+	use doc && dodoc doc/pnetcdf-api/pnetcdf-api.pdf
+	find "${ED}" -name '*.la' -delete || die
 }


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/parallel-netcdf/
@ 2022-03-12  4:01 Alessandro Barbieri
  0 siblings, 0 replies; 5+ messages in thread
From: Alessandro Barbieri @ 2022-03-12  4:01 UTC (permalink / raw
  To: gentoo-commits

commit:     4179cb449e93182f3cdd71430cc95e73ad4aedf0
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat Mar 12 03:51:25 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sat Mar 12 03:51:25 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4179cb44

sys-cluster/parallel-netcdf: update homepage

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-cluster/parallel-netcdf/parallel-netcdf-1.12.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-cluster/parallel-netcdf/parallel-netcdf-1.12.2.ebuild b/sys-cluster/parallel-netcdf/parallel-netcdf-1.12.2.ebuild
index 09c7c966f..34a074397 100644
--- a/sys-cluster/parallel-netcdf/parallel-netcdf-1.12.2.ebuild
+++ b/sys-cluster/parallel-netcdf/parallel-netcdf-1.12.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -12,7 +12,7 @@ DESCRIPTION="Parallel extension to netCDF"
 HOMEPAGE="
 	https://parallel-netcdf.github.io
 	http://cucis.ece.northwestern.edu/projects/PnetCDF
-	http://www-unix.mcs.anl.gov/parallel-netcdf
+	https://trac.mcs.anl.gov/projects/parallel-netcdf
 "
 SRC_URI="http://cucis.ece.northwestern.edu/projects/PnetCDF/Release/${MYP}.tar.gz"
 S="${WORKDIR}/${MYP}"


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/parallel-netcdf/
@ 2022-05-25 20:21 Alessandro Barbieri
  0 siblings, 0 replies; 5+ messages in thread
From: Alessandro Barbieri @ 2022-05-25 20:21 UTC (permalink / raw
  To: gentoo-commits

commit:     b8333d96cef3c95f70c1888a0187c31e7e427c4e
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Wed May 25 20:12:44 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Wed May 25 20:12:44 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b8333d96

sys-cluster/parallel-netcdf: update SRC_URI

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-cluster/parallel-netcdf/parallel-netcdf-1.12.2.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sys-cluster/parallel-netcdf/parallel-netcdf-1.12.2.ebuild b/sys-cluster/parallel-netcdf/parallel-netcdf-1.12.2.ebuild
index 1444984fe..4b30704a3 100644
--- a/sys-cluster/parallel-netcdf/parallel-netcdf-1.12.2.ebuild
+++ b/sys-cluster/parallel-netcdf/parallel-netcdf-1.12.2.ebuild
@@ -11,10 +11,9 @@ inherit autotools fortran-2
 DESCRIPTION="Parallel extension to netCDF"
 HOMEPAGE="
 	https://parallel-netcdf.github.io
-	http://cucis.ece.northwestern.edu/projects/PnetCDF/
 	https://trac.mcs.anl.gov/projects/parallel-netcdf
 "
-SRC_URI="http://cucis.ece.northwestern.edu/projects/PnetCDF/Release/${MYP}.tar.gz"
+SRC_URI="https://parallel-netcdf.github.io/Release/${MYP}.tar.gz"
 S="${WORKDIR}/${MYP}"
 
 LICENSE="UCAR-Unidata"


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-05-25 20:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-29 14:27 [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/parallel-netcdf/ Alessandro Barbieri
  -- strict thread matches above, loose matches on Subject: below --
2022-05-25 20:21 Alessandro Barbieri
2022-03-12  4:01 Alessandro Barbieri
2021-09-29 15:36 Alessandro Barbieri
2021-09-29 14:25 Alessandro Barbieri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox