dev-libs/fortran-stdlib: 0.2.0 version bump; -9999 update

Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
This commit is contained in:
Sergey Torokhov
2022-03-23 03:02:10 +03:00
parent e9a18130ce
commit e528ac5f7c
3 changed files with 78 additions and 3 deletions

View File

@@ -1,10 +1,10 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
FORTRAN_STANDARD="2003"
PYTHON_COMPAT=( python3_{8..9} )
PYTHON_COMPAT=( python3_{8..10} )
inherit cmake fortran-2 git-r3 python-any-r1
@@ -29,6 +29,7 @@ DEPEND="
app-doc/ford[${PYTHON_USEDEP}]
')
)
test? ( dev-util/fortran-test-drive )
"
pkg_setup() {
@@ -38,6 +39,7 @@ pkg_setup() {
src_configure() {
local mycmakeargs+=(
-DBUILD_SHARED_LIBS=on
-DBUILD_TESTING=$(usex test)
)
cmake_src_configure
}
@@ -51,6 +53,10 @@ src_compile() {
fi
}
src_test() {
LD_LIBRARY_PATH="${BUILD_DIR}/src:${BUILD_DIR}/src/tests/hash_functions" cmake_src_test
}
src_install() {
cmake_src_install