Diff netcdf-cxx-4.2-r301 with a netcdf-cxx-4.3.1
/usr/portage/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1.ebuild 2023-10-09 14:52:35.088368491 +0300 | ||
---|---|---|
3 | 3 | |
4 | 4 |
EAPI=7 |
5 | 5 | |
6 |
MYP=${PN}4-${PV} |
|
6 | 7 |
DESCRIPTION="C++ library for netCDF" |
7 | 8 |
HOMEPAGE="https://www.unidata.ucar.edu/software/netcdf/" |
8 |
SRC_URI="https://www.unidata.ucar.edu/downloads/netcdf/ftp/${P}.tar.gz" |
|
9 |
SRC_URI="https://github.com/Unidata/netcdf-cxx4/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
|
9 | 10 | |
10 | 11 |
LICENSE="UCAR-Unidata" |
11 |
SLOT="3" |
|
12 |
SLOT="0/1" |
|
12 | 13 |
KEYWORDS="amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" |
13 | 14 |
IUSE="examples" |
15 |
# 6 out of 9 fail, reported upstream |
|
16 |
RESTRICT="test" |
|
14 | 17 | |
15 |
RDEPEND=">=sci-libs/netcdf-4.2:0=" |
|
18 |
RDEPEND=">=sci-libs/netcdf-4.2:=[hdf5]" |
|
16 | 19 |
DEPEND="${RDEPEND}" |
17 | 20 | |
21 |
S="${WORKDIR}/${MYP}" |
|
22 | ||
23 |
PATCHES=( |
|
24 |
"${FILESDIR}"/${P}-slibtool.patch |
|
25 |
) |
|
26 | ||
18 | 27 |
src_configure() { |
19 | 28 |
econf --disable-static |
20 | 29 |
} |
21 | 30 | |
22 | 31 |
src_install() { |
23 | 32 |
default |
24 | ||
25 |
if use examples ; then |
|
26 |
docinto examples |
|
27 |
dodoc -r examples |
|
28 |
fi |
|
33 |
use examples && dodoc -r examples |
|
34 |
find "${ED}" -name '*.la' -delete || die |
|
29 | 35 |
} |