Diff netcdf-fortran-4.5.4-r1 with a netcdf-fortran-4.6.1
/usr/portage/sci-libs/netcdf-fortran/netcdf-fortran-4.6.1.ebuild 2023-10-09 14:52:35.088368491 +0300 | ||
---|---|---|
5 | 5 | |
6 | 6 |
FORTRAN_STANDARD="77 90" |
7 | 7 | |
8 |
inherit fortran-2 |
|
8 |
inherit cmake fortran-2 |
|
9 | 9 | |
10 | 10 |
DESCRIPTION="Scientific library and interface for array oriented data access" |
11 | 11 |
HOMEPAGE="https://www.unidata.ucar.edu/software/netcdf/" |
12 |
# TODO: drop .upstream suffix on next bump |
|
13 |
SRC_URI="https://downloads.unidata.ucar.edu/netcdf-fortran/${PV}/${P}.tar.gz -> ${P}.upstream.tar.gz" |
|
12 |
SRC_URI="https://downloads.unidata.ucar.edu/netcdf-fortran/${PV}/${P}.tar.gz" |
|
14 | 13 | |
15 | 14 |
LICENSE="UCAR-Unidata" |
16 | 15 |
SLOT="0/7" |
17 | 16 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
18 |
IUSE="doc examples static-libs" |
|
17 |
IUSE="doc examples test zstd" |
|
18 |
RESTRICT="!test? ( test )" |
|
19 | 19 | |
20 | 20 |
RDEPEND="sci-libs/netcdf" |
21 | 21 |
DEPEND=" |
22 | 22 |
${RDEPEND} |
23 | 23 |
dev-lang/cfortran |
24 | 24 |
" |
25 |
BDEPEND="doc? ( app-doc/doxygen )" |
|
25 |
BDEPEND="doc? ( app-doc/doxygen[dot] )" |
|
26 | 26 | |
27 | 27 |
src_configure() { |
28 |
econf \ |
|
29 |
--disable-valgrind \ |
|
30 |
--with-temp-large="${T}" \ |
|
31 |
--disable-dot \ |
|
32 |
$(use_enable doc doxygen) \ |
|
33 |
$(use_enable static-libs static) |
|
34 |
} |
|
28 |
local mycmakeargs=( |
|
29 |
-DDISABLE_ZSTANDARD_PLUGIN=$(usex !zstd) |
|
30 |
-DBUILD_EXAMPLES=$(usex examples) |
|
31 |
-DENABLE_DOXYGEN=$(usex doc) |
|
32 |
-DENABLE_PARALLEL_TESTS=$(usex test) |
|
33 |
-DENABLE_TESTS=$(usex test) |
|
34 | ||
35 |
# "Take lots of time and disk." per CMakeLists.txt |
|
36 |
#-DLARGE_FILE_TESTS="${T}" |
|
37 | ||
38 |
-DTEST_WITH_VALGRIND=OFF |
|
39 |
) |
|
35 | 40 | |
36 |
src_install() { |
|
37 |
default |
|
38 |
use examples && dodoc -r examples |
|
39 |
find "${ED}" -name '*.la' -delete || die |
|
41 |
cmake_src_configure |
|
40 | 42 |
} |