mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user