Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/parallel-netcdf/
Date: Thu, 30 Sep 2021 19:39:49
Message-Id: 1632929662.33b46eadffb2486f187a187ef471b087fa22b12c.arthurzam@gentoo
1 commit: 33b46eadffb2486f187a187ef471b087fa22b12c
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Wed Sep 29 15:34:22 2021 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 29 15:34:22 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=33b46ead
7
8 sys-cluster/parallel-netcdf: build doc, autoreconf
9
10 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
11
12 .../parallel-netcdf/parallel-netcdf-1.12.2.ebuild | 24 +++++++++++++++-------
13 1 file changed, 17 insertions(+), 7 deletions(-)
14
15 diff --git a/sys-cluster/parallel-netcdf/parallel-netcdf-1.12.2.ebuild b/sys-cluster/parallel-netcdf/parallel-netcdf-1.12.2.ebuild
16 index 527b63c48..09c7c966f 100644
17 --- a/sys-cluster/parallel-netcdf/parallel-netcdf-1.12.2.ebuild
18 +++ b/sys-cluster/parallel-netcdf/parallel-netcdf-1.12.2.ebuild
19 @@ -6,7 +6,7 @@ EAPI=8
20 FORTRAN_NEEDED=fortran
21 MYP="pnetcdf-${PV}"
22
23 -inherit fortran-2
24 +inherit autotools fortran-2
25
26 DESCRIPTION="Parallel extension to netCDF"
27 HOMEPAGE="
28 @@ -29,15 +29,26 @@ RDEPEND="
29 "
30 # adios? ( sys-cluster/adios )
31 DEPEND="${RDEPEND}"
32 -BDEPEND="doc? ( app-doc/doxygen )"
33 +BDEPEND="
34 + doc? (
35 + app-doc/doxygen
36 + dev-texlive/texlive-latex
37 + )
38 +"
39
40 pkg_setup() {
41 fortran-2_pkg_setup
42 }
43
44 +src_prepare() {
45 + default
46 + eautoreconf
47 +}
48 +
49 src_configure() {
50 export MPIF77=/usr/bin/mpif77
51 export MPIF90=/usr/bin/mpif90
52 + export VARTEXFONTS="${T}/fonts"
53
54 local myconf=(
55 --enable-shared
56 @@ -71,10 +82,9 @@ src_configure() {
57 econf "${myconf[@]}"
58 }
59
60 -src_compile() {
61 - emake
62 -}
63 -
64 src_install() {
65 - emake DESTDIR="${D}" install
66 + default
67 + dodoc doc/README.{ADIOS.md,NetCDF4.md,burst_buffering,consistency,large_files} doc/pbs.script
68 + use doc && dodoc doc/pnetcdf-api/pnetcdf-api.pdf
69 + find "${ED}" -name '*.la' -delete || die
70 }