summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-02-26 16:57:05 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-02-26 22:19:24 +0100
commit3fa669f89210e9dcdf2ddbad75d85668ed6a5f63 (patch)
tree7a9131bfc86541ec332b1fccd2eb1bb0f09c54c9 /sci-libs/exodusii
parentnet-libs/libproxy: Drop 0.4.16-r1 (diff)
downloadgentoo-3fa669f89210e9dcdf2ddbad75d85668ed6a5f63.tar.gz
gentoo-3fa669f89210e9dcdf2ddbad75d85668ed6a5f63.tar.bz2
gentoo-3fa669f89210e9dcdf2ddbad75d85668ed6a5f63.zip
sci-libs/exodusii: EAPI-7 bump, switch to cmake.eclass
I guess I was the last one to version bump, so be it. Package-Manager: Portage-3.0.15, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'sci-libs/exodusii')
-rw-r--r--sci-libs/exodusii/exodusii-6.09.ebuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/sci-libs/exodusii/exodusii-6.09.ebuild b/sci-libs/exodusii/exodusii-6.09.ebuild
index 9d519ee88dec..cfa73bffceca 100644
--- a/sci-libs/exodusii/exodusii-6.09.ebuild
+++ b/sci-libs/exodusii/exodusii-6.09.ebuild
@@ -1,22 +1,24 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
+CMAKE_MAKEFILE_GENERATOR="emake"
FORTRAN_NEEDED="test"
-inherit cmake-utils fortran-2
-
MY_PN="${PN%ii}"
MY_P="${MY_PN}-${PV}"
+inherit cmake fortran-2
DESCRIPTION="Model developed to store and retrieve transient data for finite element analyses"
HOMEPAGE="https://github.com/certik/exodus"
SRC_URI="https://dev.gentoo.org/~asturm/distfiles/${MY_P}.tar.gz"
+S="${WORKDIR}"/${MY_P}/${MY_PN}
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux"
IUSE="static-libs test"
+
RESTRICT="!test? ( test )"
RDEPEND="sci-libs/netcdf[hdf5]"
@@ -24,12 +26,10 @@ DEPEND="${RDEPEND}
test? ( app-shells/tcsh )
"
-S="${WORKDIR}"/${MY_P}/${MY_PN}
-
PATCHES=( "${FILESDIR}"/${P}-multilib.patch )
src_prepare() {
- cmake-utils_src_prepare
+ cmake_src_prepare
if ! use test; then
sed -e 's:Fortran::g' -i CMakeLists.txt || die
@@ -46,7 +46,7 @@ src_configure() {
-DBUILD_TESTING=$(usex test)
)
export NETCDF_DIR="${EPREFIX}/usr/"
- cmake-utils_src_configure
+ cmake_src_configure
}
src_test() {