From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/cgnslib/
Date: Sun, 27 Dec 2020 03:37:03 +0000 (UTC) [thread overview]
Message-ID: <1609040137.1debce5a43abf2d63a60f23e4b2b18d2ade4c35d.sam@gentoo> (raw)
commit: 1debce5a43abf2d63a60f23e4b2b18d2ade4c35d
Author: Bernd Waibel <waebbl <AT> gmail <DOT> com>
AuthorDate: Mon Dec 21 17:22:44 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Dec 27 03:35:37 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1debce5a
sci-libs/cgnslib: bump to EAPI 7
Switch to cmake.eclass
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Bernd Waibel <waebbl <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/18749
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-libs/cgnslib/cgnslib-3.4.0.ebuild | 19 +++++++++++--------
1 file changed, 11 insertions(+), 8 deletions(-)
diff --git a/sci-libs/cgnslib/cgnslib-3.4.0.ebuild b/sci-libs/cgnslib/cgnslib-3.4.0.ebuild
index 880fa6bd580..d7da6448621 100644
--- a/sci-libs/cgnslib/cgnslib-3.4.0.ebuild
+++ b/sci-libs/cgnslib/cgnslib-3.4.0.ebuild
@@ -1,12 +1,15 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
FORTRAN_NEEDED="fortran"
FORTRAN_STANDARD="90 2003"
-inherit cmake-utils fortran-2
+# fails to build with ninja
+CMAKE_MAKEFILE_GENERATOR="emake"
+
+inherit cmake fortran-2
DESCRIPTION="CFD General Notation System standard library"
HOMEPAGE="http://www.cgns.org/"
@@ -42,7 +45,7 @@ src_prepare() {
# dont hard code link
sed -e '/link_directories/d' \
-i src/tools/CMakeLists.txt src/cgnstools/*/CMakeLists.txt || die
- cmake-utils_src_prepare
+ cmake_src_prepare
}
src_configure() {
@@ -58,20 +61,20 @@ src_configure() {
-DHDF5_NEED_SZIP="$(usex szip)"
-DHDF5_NEED_ZLIB="$(usex szip)"
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_compile() {
# hack to allow parallel building by first producing fortran module
use fortran && cd "${BUILD_DIR}"/src && emake cgns_f.o
- cmake-utils_src_compile
+ cmake_src_compile
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
dodoc README.md release_docs/Release.txt
use static-libs || rm "${ED}"/usr/$(get_libdir)/libcgns.a
use doc && dodoc release_docs/*.pdf
- insinto /usr/share/doc/${PF}
- use examples && doins -r src/examples
+ docompress -x /usr/share/doc/${PF}/examples
+ use examples && dodoc -r src/examples
}
next reply other threads:[~2020-12-27 3:37 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-27 3:37 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-23 18:45 [gentoo-commits] repo/gentoo:master commit in: sci-libs/cgnslib/ Sam James
2024-10-05 11:47 Jakov Smolić
2024-03-22 18:28 Sam James
2024-03-08 11:09 Sam James
2024-03-08 11:09 Sam James
2023-04-20 19:37 Sam James
2023-04-18 15:49 Andrew Ammerlaan
2023-03-04 13:51 Arthur Zamarin
2022-10-04 18:37 Arthur Zamarin
2022-10-02 19:40 Arthur Zamarin
2022-05-28 9:47 Andrew Ammerlaan
2021-01-17 11:52 David Seifert
2020-12-27 19:15 Sam James
2020-12-27 3:37 Sam James
2019-07-19 10:21 Slawek Lis
2019-07-19 3:43 Slawek Lis
2016-11-25 9:02 Slawek Lis
2016-03-18 19:18 Sebastien Fabbro
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1609040137.1debce5a43abf2d63a60f23e4b2b18d2ade4c35d.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox