* [gentoo-commits] repo/gentoo:master commit in: sci-libs/cgnslib/
@ 2016-03-18 19:18 Sebastien Fabbro
0 siblings, 0 replies; 19+ messages in thread
From: Sebastien Fabbro @ 2016-03-18 19:18 UTC (permalink / raw
To: gentoo-commits
commit: d081840724cb40c6f65d34dff20dc61ec052e9d0
Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 16 22:56:28 2016 +0000
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Fri Mar 18 20:10:19 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0818407
sci-libs/cgnslib: switch to virtual/szip
Package-Manager: portage-2.2.27
sci-libs/cgnslib/cgnslib-3.2.1.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sci-libs/cgnslib/cgnslib-3.2.1.ebuild b/sci-libs/cgnslib/cgnslib-3.2.1.ebuild
index 287aca7..8123af4 100644
--- a/sci-libs/cgnslib/cgnslib-3.2.1.ebuild
+++ b/sci-libs/cgnslib/cgnslib-3.2.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -22,7 +22,7 @@ IUSE="fortran hdf5 legacy mpi szip zlib"
DEPEND="
hdf5? ( >=sci-libs/hdf5-1.8[mpi=] )
- szip? ( sci-libs/szip )
+ szip? ( virtual/szip )
zlib? ( sys-libs/zlib )"
RDEPEND="${DEPEND}"
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/cgnslib/
@ 2016-11-25 9:02 Slawek Lis
0 siblings, 0 replies; 19+ messages in thread
From: Slawek Lis @ 2016-11-25 9:02 UTC (permalink / raw
To: gentoo-commits
commit: 5a31022fa0f2d801be5f8c1f339af92d99db8f01
Author: Slawomir Lis <slis <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 25 09:02:20 2016 +0000
Commit: Slawek Lis <slis <AT> gentoo <DOT> org>
CommitDate: Fri Nov 25 09:02:20 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a31022f
sci-libs/cgnslib: extend metadata use description
Related to bug 600752
Package-Manager: portage-2.3.2
sci-libs/cgnslib/metadata.xml | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/sci-libs/cgnslib/metadata.xml b/sci-libs/cgnslib/metadata.xml
index 2f390da..e0381ba 100644
--- a/sci-libs/cgnslib/metadata.xml
+++ b/sci-libs/cgnslib/metadata.xml
@@ -11,7 +11,10 @@
</longdescription>
<use>
<flag name="legacy">Enable or disable building legacy code (3.0 compatible)</flag>
- <flag name="tools">Build tools for </flag>
+ <flag name="tools">
+ A number of utility programs:
+ cgnscheck, cgnscompress, cgnsdiff, cgnslist, cgnsnames, cgnsupdate, cgnsconvert, adf2hdf, hdf2adf.
+ </flag>
</use>
<maintainer type="person">
<email>slis@gentoo.org</email>
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/cgnslib/
@ 2019-07-19 3:43 Slawek Lis
0 siblings, 0 replies; 19+ messages in thread
From: Slawek Lis @ 2019-07-19 3:43 UTC (permalink / raw
To: gentoo-commits
commit: ec00d0818a9d0e6ad47c66f35df34ca67f1c6264
Author: Slawomir Lis <slis <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 18 19:29:14 2019 +0000
Commit: Slawek Lis <slis <AT> gentoo <DOT> org>
CommitDate: Fri Jul 19 03:43:20 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec00d081
sci-libs/cgnslib: version bump to 3.4.0
This should also fix bug #662210
Package-Manager: Portage-2.3.69, Repoman-2.3.14
Signed-off-by: Slawek Lis <slis <AT> gentoo.org>
sci-libs/cgnslib/Manifest | 1 +
sci-libs/cgnslib/cgnslib-3.4.0.ebuild | 76 +++++++++++++++++++++++++++++++++++
2 files changed, 77 insertions(+)
diff --git a/sci-libs/cgnslib/Manifest b/sci-libs/cgnslib/Manifest
index 26e8c7ce76c..69e9eac02ce 100644
--- a/sci-libs/cgnslib/Manifest
+++ b/sci-libs/cgnslib/Manifest
@@ -1 +1,2 @@
DIST cgnslib-3.3.0.tar.gz 3314889 BLAKE2B 3b8af11e04c211ca60f512c7995e9b23e0dd79180f3443f238562216073740de6b845c5bb78d6fb017bbf41e5249c1f58c27130047fd50afb4b20bbc778a046b SHA512 eb5c79d3830f8ee1fa30a67fbf32133c13a276c4b18a553826e4670bd4aa7262d7751bccb74c5e208cd47703f9076bde2e2e0db70408c88fde3ac11b638e6ff3
+DIST cgnslib-3.4.0.tar.gz 3393312 BLAKE2B 279d4502ff70701df6a266495ccc7750e9c51ac14bd3d5072ae8e1448b4f1e4afaefaaf254cf0afe1cc984e4d9fc7d5c161f7696f62726aaf567990ded3c9056 SHA512 e26cfb0d9f3061242d327a6c18fe40ed51bf63b61ae0d6b5cce7e6b4aa623b00e1c3fd9fe240d993323c6f4eec043fde5296a82b1f9108027f945300eec541ec
diff --git a/sci-libs/cgnslib/cgnslib-3.4.0.ebuild b/sci-libs/cgnslib/cgnslib-3.4.0.ebuild
new file mode 100644
index 00000000000..e3d5dd381d4
--- /dev/null
+++ b/sci-libs/cgnslib/cgnslib-3.4.0.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+FORTRAN_NEEDED="fortran"
+FORTRAN_STANDARD="90 2003"
+
+inherit cmake-utils fortran-2
+
+DESCRIPTION="CFD General Notation System standard library"
+HOMEPAGE="http://www.cgns.org/"
+SRC_URI="https://github.com/CGNS/CGNS/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="ZLIB"
+SLOT="0/3"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc examples fortran hdf5 legacy mpi static-libs szip test tools"
+
+RDEPEND="hdf5? ( sci-libs/hdf5:=[mpi=,szip=] )
+ tools? (
+ dev-lang/tcl:=
+ dev-lang/tk:=
+ x11-libs/libXmu:=
+ virtual/glu
+ virtual/opengl
+ )"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/CGNS-${PV}"
+
+pkg_setup() {
+ use fortran && fortran-2_pkg_setup
+}
+
+src_prepare() {
+ # gentoo libdir
+ sed -e 's|/lib|/lib'$(get_libdir)'|' \
+ -e '/DESTINATION/s|lib|lib'$(get_libdir)'|g' \
+ -i src/CMakeLists.txt || die
+ # dont hard code link
+ sed -e '/link_directories/d' \
+ -i src/tools/CMakeLists.txt src/cgnstools/*/CMakeLists.txt || die
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DCGNS_BUILD_SHARED=ON
+ -DCGNS_USED_SHARED=ON
+ -DCGNS_BUILD_CGNSTOOLS="$(usex tools)"
+ -DCGNS_ENABLE_FORTRAN="$(usex fortran)"
+ -DCGNS_ENABLE_HDF5="$(usex hdf5)"
+ -DCGNS_ENABLE_LEGACY="$(usex legacy)"
+ -DCGNS_ENABLE_TESTS="$(usex test)"
+ -DHDF5_NEED_MPI="$(usex mpi)"
+ -DHDF5_NEED_SZIP="$(usex szip)"
+ -DHDF5_NEED_ZLIB="$(usex szip)"
+ )
+ cmake-utils_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
+}
+
+src_install() {
+ cmake-utils_src_install
+ dodoc README.md release_docs/Release.txt
+ use static-libs || rm "${ED}"/usr/$(get_libdir)/libcgns.a
+ use doc && dodoc *pdf release_docs/*.pdf
+ insinto /usr/share/doc/${PF}
+ use examples && doins -r src/examples
+}
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/cgnslib/
@ 2019-07-19 10:21 Slawek Lis
0 siblings, 0 replies; 19+ messages in thread
From: Slawek Lis @ 2019-07-19 10:21 UTC (permalink / raw
To: gentoo-commits
commit: ec11c70cf4be1ca30ee5ac2fa6bf81af896faad3
Author: Slawomir Lis <slis <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 19 10:21:09 2019 +0000
Commit: Slawek Lis <slis <AT> gentoo <DOT> org>
CommitDate: Fri Jul 19 10:21:32 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec11c70c
sci-libs/cgnslib: Fixed wrong static lib path
Reported in bug #667050
Package-Manager: Portage-2.3.69, Repoman-2.3.14
Signed-off-by: Slawek Lis <slis <AT> gentoo.org>
sci-libs/cgnslib/cgnslib-3.4.0.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sci-libs/cgnslib/cgnslib-3.4.0.ebuild b/sci-libs/cgnslib/cgnslib-3.4.0.ebuild
index e3d5dd381d4..2358691f512 100644
--- a/sci-libs/cgnslib/cgnslib-3.4.0.ebuild
+++ b/sci-libs/cgnslib/cgnslib-3.4.0.ebuild
@@ -35,8 +35,8 @@ pkg_setup() {
src_prepare() {
# gentoo libdir
- sed -e 's|/lib|/lib'$(get_libdir)'|' \
- -e '/DESTINATION/s|lib|lib'$(get_libdir)'|g' \
+ sed -e 's|/lib|/'$(get_libdir)'|' \
+ -e '/DESTINATION/s|lib|'$(get_libdir)'|g' \
-i src/CMakeLists.txt || die
# dont hard code link
sed -e '/link_directories/d' \
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/cgnslib/
@ 2020-12-27 3:37 Sam James
0 siblings, 0 replies; 19+ messages in thread
From: Sam James @ 2020-12-27 3:37 UTC (permalink / raw
To: gentoo-commits
commit: ee7fdbf09d7a8ce5a87d6c828a21720fcb731ded
Author: Bernd Waibel <waebbl <AT> gmail <DOT> com>
AuthorDate: Sat Dec 19 09:08:35 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Dec 27 03:35:36 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee7fdbf0
sci-libs/cgnslib: fix doc installation
Also fixes a typo with CMAKE_USE_SHARED variable
Closes: https://bugs.gentoo.org/760342
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Bernd Waibel <waebbl <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-libs/cgnslib/cgnslib-3.4.0.ebuild | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/sci-libs/cgnslib/cgnslib-3.4.0.ebuild b/sci-libs/cgnslib/cgnslib-3.4.0.ebuild
index e5889cb043a..880fa6bd580 100644
--- a/sci-libs/cgnslib/cgnslib-3.4.0.ebuild
+++ b/sci-libs/cgnslib/cgnslib-3.4.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -37,8 +37,8 @@ pkg_setup() {
src_prepare() {
# gentoo libdir
sed -e 's|/lib|/'$(get_libdir)'|' \
- -e '/DESTINATION/s|lib|'$(get_libdir)'|g' \
- -i src/CMakeLists.txt || die
+ -e '/DESTINATION/s|lib|'$(get_libdir)'|g' \
+ -i src/CMakeLists.txt || die
# dont hard code link
sed -e '/link_directories/d' \
-i src/tools/CMakeLists.txt src/cgnstools/*/CMakeLists.txt || die
@@ -48,7 +48,7 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
-DCGNS_BUILD_SHARED=ON
- -DCGNS_USED_SHARED=ON
+ -DCGNS_USE_SHARED=ON
-DCGNS_BUILD_CGNSTOOLS="$(usex tools)"
-DCGNS_ENABLE_FORTRAN="$(usex fortran)"
-DCGNS_ENABLE_HDF5="$(usex hdf5)"
@@ -71,7 +71,7 @@ src_install() {
cmake-utils_src_install
dodoc README.md release_docs/Release.txt
use static-libs || rm "${ED}"/usr/$(get_libdir)/libcgns.a
- use doc && dodoc *pdf release_docs/*.pdf
+ use doc && dodoc release_docs/*.pdf
insinto /usr/share/doc/${PF}
use examples && doins -r src/examples
}
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/cgnslib/
@ 2020-12-27 3:37 Sam James
0 siblings, 0 replies; 19+ messages in thread
From: Sam James @ 2020-12-27 3:37 UTC (permalink / raw
To: gentoo-commits
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
}
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/cgnslib/
@ 2020-12-27 19:15 Sam James
0 siblings, 0 replies; 19+ messages in thread
From: Sam James @ 2020-12-27 19:15 UTC (permalink / raw
To: gentoo-commits
commit: 3dbe219bfd55947e20f39476d36d2094a7255a46
Author: Bernd Waibel <waebbl <AT> gmail <DOT> com>
AuthorDate: Sun Dec 27 18:37:56 2020 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Dec 27 19:15:46 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3dbe219b
sci-libs/cgnslib: fix cmake unused variable warnings
- fix warnings about unused variables from cmake
- restrict test when USE=fortran, the tests don't build
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/18838
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-libs/cgnslib/cgnslib-3.4.0.ebuild | 22 ++++++++++++++++++----
1 file changed, 18 insertions(+), 4 deletions(-)
diff --git a/sci-libs/cgnslib/cgnslib-3.4.0.ebuild b/sci-libs/cgnslib/cgnslib-3.4.0.ebuild
index d7da6448621..6eac6426bb8 100644
--- a/sci-libs/cgnslib/cgnslib-3.4.0.ebuild
+++ b/sci-libs/cgnslib/cgnslib-3.4.0.ebuild
@@ -19,7 +19,15 @@ LICENSE="ZLIB"
SLOT="0/3"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc examples fortran hdf5 legacy mpi static-libs szip test tools"
-RESTRICT="!test? ( test )"
+RESTRICT="
+ fortran? ( test )
+ !test? ( test )
+"
+
+REQUIRED_USE="
+ mpi? ( hdf5 )
+ szip? ( hdf5 )
+"
RDEPEND="hdf5? ( sci-libs/hdf5:=[mpi=,szip=] )
tools? (
@@ -57,10 +65,16 @@ src_configure() {
-DCGNS_ENABLE_HDF5="$(usex hdf5)"
-DCGNS_ENABLE_LEGACY="$(usex legacy)"
-DCGNS_ENABLE_TESTS="$(usex test)"
- -DHDF5_NEED_MPI="$(usex mpi)"
- -DHDF5_NEED_SZIP="$(usex szip)"
- -DHDF5_NEED_ZLIB="$(usex szip)"
)
+
+ if use hdf5; then
+ mycmakeargs+=(
+ -DHDF5_NEED_MPI="$(usex mpi)"
+ -DHDF5_NEED_SZIP="$(usex szip)"
+ -DHDF5_NEED_ZLIB="$(usex szip)"
+ )
+ fi
+
cmake_src_configure
}
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/cgnslib/
@ 2021-01-17 11:52 David Seifert
0 siblings, 0 replies; 19+ messages in thread
From: David Seifert @ 2021-01-17 11:52 UTC (permalink / raw
To: gentoo-commits
commit: b582be49ea6bd18b674929b61ddc0a0bb07085d5
Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Sun Jan 17 11:51:33 2021 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Jan 17 11:51:33 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b582be49
sci-libs/cgnslib: Remove old
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
Signed-off-by: David Seifert <soap <AT> gentoo.org>
sci-libs/cgnslib/Manifest | 1 -
sci-libs/cgnslib/cgnslib-3.3.0.ebuild | 78 -----------------------------------
2 files changed, 79 deletions(-)
diff --git a/sci-libs/cgnslib/Manifest b/sci-libs/cgnslib/Manifest
index 69e9eac02ce..2890a188617 100644
--- a/sci-libs/cgnslib/Manifest
+++ b/sci-libs/cgnslib/Manifest
@@ -1,2 +1 @@
-DIST cgnslib-3.3.0.tar.gz 3314889 BLAKE2B 3b8af11e04c211ca60f512c7995e9b23e0dd79180f3443f238562216073740de6b845c5bb78d6fb017bbf41e5249c1f58c27130047fd50afb4b20bbc778a046b SHA512 eb5c79d3830f8ee1fa30a67fbf32133c13a276c4b18a553826e4670bd4aa7262d7751bccb74c5e208cd47703f9076bde2e2e0db70408c88fde3ac11b638e6ff3
DIST cgnslib-3.4.0.tar.gz 3393312 BLAKE2B 279d4502ff70701df6a266495ccc7750e9c51ac14bd3d5072ae8e1448b4f1e4afaefaaf254cf0afe1cc984e4d9fc7d5c161f7696f62726aaf567990ded3c9056 SHA512 e26cfb0d9f3061242d327a6c18fe40ed51bf63b61ae0d6b5cce7e6b4aa623b00e1c3fd9fe240d993323c6f4eec043fde5296a82b1f9108027f945300eec541ec
diff --git a/sci-libs/cgnslib/cgnslib-3.3.0.ebuild b/sci-libs/cgnslib/cgnslib-3.3.0.ebuild
deleted file mode 100644
index 3d8fd059480..00000000000
--- a/sci-libs/cgnslib/cgnslib-3.3.0.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-FORTRAN_NEEDED="fortran"
-FORTRAN_STANDARD="90 2003"
-
-inherit cmake-utils fortran-2
-
-DESCRIPTION="CFD General Notation System standard library"
-HOMEPAGE="http://www.cgns.org/"
-SRC_URI="https://github.com/CGNS/CGNS/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="ZLIB"
-SLOT="0/3"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc examples fortran hdf5 legacy mpi static-libs szip test tools"
-RESTRICT="!test? ( test )"
-
-RDEPEND="hdf5? ( sci-libs/hdf5:=[mpi=,szip=] )
- tools? (
- dev-lang/tcl:=
- dev-lang/tk:=
- x11-libs/libXmu:=
- virtual/glu
- virtual/opengl
- )"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/CGNS-${PV}"
-
-pkg_setup() {
- use fortran && fortran-2_pkg_setup
-}
-
-src_prepare() {
- # gentoo libdir
- sed -e '/DESTINATION/s|lib)|lib${LIB_SUFFIX})|g' \
- -e 's|lib LIBDIR|lib${LIB_SUFFIX} LIBDIR|' \
- -e 's|/lib"|/lib${LIB_SUFFIX}"|'\
- -i CMakeLists.txt src/CMakeLists.txt || die
- # dont hard code link
- sed -e '/link_directories/d' \
- -i src/tools/CMakeLists.txt src/cgnstools/*/CMakeLists.txt || die
- cmake-utils_src_prepare
-}
-
-src_configure() {
- local mycmakeargs=(
- -DCGNS_BUILD_SHARED=ON
- -DCGNS_USED_SHARED=ON
- -DCGNS_BUILD_CGNSTOOLS="$(usex tools)"
- -DCGNS_ENABLE_FORTRAN="$(usex fortran)"
- -DCGNS_ENABLE_HDF5="$(usex hdf5)"
- -DCGNS_ENABLE_LEGACY="$(usex legacy)"
- -DCGNS_ENABLE_TESTS="$(usex test)"
- -DHDF5_NEED_MPI="$(usex mpi)"
- -DHDF5_NEED_SZIP="$(usex szip)"
- -DHDF5_NEED_ZLIB="$(usex szip)"
- )
- cmake-utils_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
-}
-
-src_install() {
- cmake-utils_src_install
- dodoc README.md changelog release_docs/Release.txt
- use static-libs || rm "${ED}"/usr/$(get_libdir)/libcgns.a
- use doc && dodoc *pdf release_docs/*.pdf
- insinto /usr/share/doc/${PF}
- use examples && doins -r src/examples
-}
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/cgnslib/
@ 2022-05-28 9:47 Andrew Ammerlaan
0 siblings, 0 replies; 19+ messages in thread
From: Andrew Ammerlaan @ 2022-05-28 9:47 UTC (permalink / raw
To: gentoo-commits
commit: 29da38e1e326860de26dbe32d42cd058e954719d
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat May 28 07:13:46 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sat May 28 09:46:59 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29da38e1
sci-libs/cgnslib: add 4.3.0
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/25663
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
sci-libs/cgnslib/Manifest | 1 +
sci-libs/cgnslib/cgnslib-4.3.0.ebuild | 91 +++++++++++++++++++++++++++++++++++
sci-libs/cgnslib/metadata.xml | 2 +
3 files changed, 94 insertions(+)
diff --git a/sci-libs/cgnslib/Manifest b/sci-libs/cgnslib/Manifest
index 2890a188617c..2c3490431ddf 100644
--- a/sci-libs/cgnslib/Manifest
+++ b/sci-libs/cgnslib/Manifest
@@ -1 +1,2 @@
DIST cgnslib-3.4.0.tar.gz 3393312 BLAKE2B 279d4502ff70701df6a266495ccc7750e9c51ac14bd3d5072ae8e1448b4f1e4afaefaaf254cf0afe1cc984e4d9fc7d5c161f7696f62726aaf567990ded3c9056 SHA512 e26cfb0d9f3061242d327a6c18fe40ed51bf63b61ae0d6b5cce7e6b4aa623b00e1c3fd9fe240d993323c6f4eec043fde5296a82b1f9108027f945300eec541ec
+DIST cgnslib-4.3.0.tar.gz 1472044 BLAKE2B 8fa59eb2c13b163553c03991af1886d2162295367094937c3b7bbbc687f098e736a927fb6835fabb43ecfbe59edcf0e58e8977e89eeb1ef12b26568fbdc78e2c SHA512 5db97b8df8cb5b108a65513e20774881c1dfa790dd96bec46119883d934db18e3f88450d287690cb785e0875af87a3ec32b6c4665c54edb623161122ee85aa93
diff --git a/sci-libs/cgnslib/cgnslib-4.3.0.ebuild b/sci-libs/cgnslib/cgnslib-4.3.0.ebuild
new file mode 100644
index 000000000000..dc10ae0dc1ec
--- /dev/null
+++ b/sci-libs/cgnslib/cgnslib-4.3.0.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FORTRAN_NEEDED="fortran"
+FORTRAN_STANDARD="90 2003"
+
+inherit cmake fortran-2
+
+DESCRIPTION="CFD General Notation System standard library"
+HOMEPAGE="
+ https://cgns.github.io/
+ https://github.com/CGNS/CGNS
+"
+SRC_URI="https://github.com/CGNS/CGNS/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/CGNS-${PV}"
+
+LICENSE="ZLIB"
+SLOT="0/4"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="base-scope debug examples fortran hdf5 legacy mpi scoping szip test tools"
+
+RDEPEND="
+ hdf5? ( sci-libs/hdf5:=[mpi=,szip=] )
+ tools? (
+ dev-lang/tcl:=
+ dev-lang/tk:=
+ x11-libs/libXmu:=
+ virtual/glu
+ virtual/opengl
+ )
+"
+DEPEND="${RDEPEND}"
+
+RESTRICT="
+ fortran? ( test )
+ !test? ( test )
+"
+REQUIRED_USE="
+ mpi? ( hdf5 )
+ szip? ( hdf5 )
+"
+
+pkg_setup() {
+ use fortran && fortran-2_pkg_setup
+}
+
+src_prepare() {
+ # gentoo libdir
+ sed \
+ -e 's|/lib|/'$(get_libdir)'|' \
+ -e '/DESTINATION/s|lib|'$(get_libdir)'|g' \
+ -i src/CMakeLists.txt || die
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DCGNS_BUILD_SHARED=ON
+ -DCGNS_USE_SHARED=ON
+
+ -DCGNS_BUILD_CGNSTOOLS="$(usex tools)"
+ -DCGNS_ENABLE_BASE_SCOPE="$(usex base-scope)"
+ -DCGNS_ENABLE_FORTRAN="$(usex fortran)"
+ -DCGNS_ENABLE_HDF5="$(usex hdf5)"
+ -DCGNS_ENABLE_LEGACY="$(usex legacy)"
+ -DCGNS_ENABLE_SCOPING="$(usex scoping)"
+ -DCGNS_ENABLE_MEM_DEBUG="$(usex debug)"
+ -DCGNS_ENABLE_TESTS="$(usex test)"
+ )
+
+ if use mpi; then
+ mycmakeargs+=(
+ -DHDF5_NEED_MPI="$(usex mpi)"
+ -DHDF5_NEED_SZIP="$(usex szip)"
+ -DHDF5_NEED_ZLIB="$(usex szip)"
+ )
+ fi
+
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+ dodoc README.md release_docs/{HISTORY,RELEASE,changes_from_2.5}.txt
+ rm "${ED}/usr/$(get_libdir)/libcgns.a" || die
+ dodoc release_docs/*.pdf
+ docompress -x /usr/share/doc/${PF}/examples
+ use examples && dodoc -r src/examples
+}
diff --git a/sci-libs/cgnslib/metadata.xml b/sci-libs/cgnslib/metadata.xml
index c797f2727eb4..978347af49e6 100644
--- a/sci-libs/cgnslib/metadata.xml
+++ b/sci-libs/cgnslib/metadata.xml
@@ -10,7 +10,9 @@
an international steering committee.
</longdescription>
<use>
+ <flag name="base-scope">Enable base scoped families or connectivities</flag>
<flag name="legacy">Enable or disable building legacy code (3.0 compatible)</flag>
+ <flag name="scoping">Enable scoping of enumeration values</flag>
<flag name="tools">
A number of utility programs:
cgnscheck, cgnscompress, cgnsdiff, cgnslist, cgnsnames, cgnsupdate, cgnsconvert, adf2hdf, hdf2adf.
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/cgnslib/
@ 2022-10-02 19:40 Arthur Zamarin
0 siblings, 0 replies; 19+ messages in thread
From: Arthur Zamarin @ 2022-10-02 19:40 UTC (permalink / raw
To: gentoo-commits
commit: 6c2e18cb6cd1a6e5ac972c8634a8d96d809473bd
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 2 19:40:03 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Oct 2 19:40:03 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c2e18cb
sci-libs/cgnslib: Keyword 4.3.0 arm, #864791
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
sci-libs/cgnslib/cgnslib-4.3.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/cgnslib/cgnslib-4.3.0.ebuild b/sci-libs/cgnslib/cgnslib-4.3.0.ebuild
index dc10ae0dc1ec..a451784e31f3 100644
--- a/sci-libs/cgnslib/cgnslib-4.3.0.ebuild
+++ b/sci-libs/cgnslib/cgnslib-4.3.0.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}/CGNS-${PV}"
LICENSE="ZLIB"
SLOT="0/4"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
IUSE="base-scope debug examples fortran hdf5 legacy mpi scoping szip test tools"
RDEPEND="
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/cgnslib/
@ 2022-10-04 18:37 Arthur Zamarin
0 siblings, 0 replies; 19+ messages in thread
From: Arthur Zamarin @ 2022-10-04 18:37 UTC (permalink / raw
To: gentoo-commits
commit: dfe3c6e840a57a94a7694c987093b7fa7b2533b1
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 4 18:37:25 2022 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Oct 4 18:37:25 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfe3c6e8
sci-libs/cgnslib: Keyword 4.3.0 arm64, #864791
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
sci-libs/cgnslib/cgnslib-4.3.0.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/cgnslib/cgnslib-4.3.0.ebuild b/sci-libs/cgnslib/cgnslib-4.3.0.ebuild
index a451784e31f3..37dff62ffd7c 100644
--- a/sci-libs/cgnslib/cgnslib-4.3.0.ebuild
+++ b/sci-libs/cgnslib/cgnslib-4.3.0.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}/CGNS-${PV}"
LICENSE="ZLIB"
SLOT="0/4"
-KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="base-scope debug examples fortran hdf5 legacy mpi scoping szip test tools"
RDEPEND="
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/cgnslib/
@ 2023-03-04 13:51 Arthur Zamarin
0 siblings, 0 replies; 19+ messages in thread
From: Arthur Zamarin @ 2023-03-04 13:51 UTC (permalink / raw
To: gentoo-commits
commit: e2fc6d7d8d335c975711f6193175778810fc8141
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 4 13:49:50 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 4 13:49:50 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2fc6d7d
sci-libs/cgnslib: Stabilize 4.3.0 amd64, #899578
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
sci-libs/cgnslib/cgnslib-4.3.0.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sci-libs/cgnslib/cgnslib-4.3.0.ebuild b/sci-libs/cgnslib/cgnslib-4.3.0.ebuild
index 37dff62ffd7c..039b318c01be 100644
--- a/sci-libs/cgnslib/cgnslib-4.3.0.ebuild
+++ b/sci-libs/cgnslib/cgnslib-4.3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -18,7 +18,7 @@ S="${WORKDIR}/CGNS-${PV}"
LICENSE="ZLIB"
SLOT="0/4"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="base-scope debug examples fortran hdf5 legacy mpi scoping szip test tools"
RDEPEND="
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/cgnslib/
@ 2023-04-18 15:49 Andrew Ammerlaan
0 siblings, 0 replies; 19+ messages in thread
From: Andrew Ammerlaan @ 2023-04-18 15:49 UTC (permalink / raw
To: gentoo-commits
commit: 311e3fd6822338b4313af27521bc57451b8cecc0
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 18 15:49:28 2023 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Apr 18 15:49:28 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=311e3fd6
sci-libs/cgnslib: restrict to hdf5<14
Bug: https://bugs.gentoo.org/904515
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
sci-libs/cgnslib/{cgnslib-4.3.0.ebuild => cgnslib-4.3.0-r1.ebuild} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/cgnslib/cgnslib-4.3.0.ebuild b/sci-libs/cgnslib/cgnslib-4.3.0-r1.ebuild
similarity index 97%
rename from sci-libs/cgnslib/cgnslib-4.3.0.ebuild
rename to sci-libs/cgnslib/cgnslib-4.3.0-r1.ebuild
index 039b318c01be..192837148b5b 100644
--- a/sci-libs/cgnslib/cgnslib-4.3.0.ebuild
+++ b/sci-libs/cgnslib/cgnslib-4.3.0-r1.ebuild
@@ -22,7 +22,7 @@ KEYWORDS="amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="base-scope debug examples fortran hdf5 legacy mpi scoping szip test tools"
RDEPEND="
- hdf5? ( sci-libs/hdf5:=[mpi=,szip=] )
+ hdf5? ( <sci-libs/hdf5-1.14.0:=[mpi=,szip=] )
tools? (
dev-lang/tcl:=
dev-lang/tk:=
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/cgnslib/
@ 2023-04-20 19:37 Sam James
0 siblings, 0 replies; 19+ messages in thread
From: Sam James @ 2023-04-20 19:37 UTC (permalink / raw
To: gentoo-commits
commit: 20a01868e67f513af7a45c44ec9ceb53877863d2
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 20 19:35:07 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 20 19:36:52 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20a01868
Revert "sci-libs/cgnslib: restrict to hdf5<14"
This reverts commit 311e3fd6822338b4313af27521bc57451b8cecc0.
Not needed anymore and a better solution would've been to mask newer hdf5
given it was broken, not cgnslib.
Bug: https://bugs.gentoo.org/904515
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-libs/cgnslib/{cgnslib-4.3.0-r1.ebuild => cgnslib-4.3.0-r2.ebuild} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/cgnslib/cgnslib-4.3.0-r1.ebuild b/sci-libs/cgnslib/cgnslib-4.3.0-r2.ebuild
similarity index 97%
rename from sci-libs/cgnslib/cgnslib-4.3.0-r1.ebuild
rename to sci-libs/cgnslib/cgnslib-4.3.0-r2.ebuild
index 192837148b5b..039b318c01be 100644
--- a/sci-libs/cgnslib/cgnslib-4.3.0-r1.ebuild
+++ b/sci-libs/cgnslib/cgnslib-4.3.0-r2.ebuild
@@ -22,7 +22,7 @@ KEYWORDS="amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="base-scope debug examples fortran hdf5 legacy mpi scoping szip test tools"
RDEPEND="
- hdf5? ( <sci-libs/hdf5-1.14.0:=[mpi=,szip=] )
+ hdf5? ( sci-libs/hdf5:=[mpi=,szip=] )
tools? (
dev-lang/tcl:=
dev-lang/tk:=
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/cgnslib/
@ 2024-03-08 11:09 Sam James
0 siblings, 0 replies; 19+ messages in thread
From: Sam James @ 2024-03-08 11:09 UTC (permalink / raw
To: gentoo-commits
commit: dd056658c602cf754e9b1d898eacaac73636df2b
Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Fri Mar 8 01:54:17 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 8 11:09:01 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd056658
sci-libs/cgnslib: mark as LTO-unsafe
Closes: https://bugs.gentoo.org/862684
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-libs/cgnslib/cgnslib-4.3.0-r2.ebuild | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/sci-libs/cgnslib/cgnslib-4.3.0-r2.ebuild b/sci-libs/cgnslib/cgnslib-4.3.0-r2.ebuild
index 039b318c01be..39fb7c61d4a2 100644
--- a/sci-libs/cgnslib/cgnslib-4.3.0-r2.ebuild
+++ b/sci-libs/cgnslib/cgnslib-4.3.0-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -6,7 +6,7 @@ EAPI=8
FORTRAN_NEEDED="fortran"
FORTRAN_STANDARD="90 2003"
-inherit cmake fortran-2
+inherit cmake flag-o-matic fortran-2
DESCRIPTION="CFD General Notation System standard library"
HOMEPAGE="
@@ -56,6 +56,11 @@ src_prepare() {
}
src_configure() {
+ # -Werror=lto-type-mismatch
+ # https://bugs.gentoo.org/862684
+ # https://github.com/CGNS/CGNS/issues/758
+ filter-lto
+
local mycmakeargs=(
-DCGNS_BUILD_SHARED=ON
-DCGNS_USE_SHARED=ON
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/cgnslib/
@ 2024-03-08 11:09 Sam James
0 siblings, 0 replies; 19+ messages in thread
From: Sam James @ 2024-03-08 11:09 UTC (permalink / raw
To: gentoo-commits
commit: f04ec1eefc96b232fd66f1c3700ae61b8cca1643
Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Fri Mar 8 01:56:15 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 8 11:09:02 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f04ec1ee
sci-libs/cgnslib: add 4.4.0
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-libs/cgnslib/Manifest | 1 +
sci-libs/cgnslib/cgnslib-4.4.0.ebuild | 96 +++++++++++++++++++++++++++++++++++
2 files changed, 97 insertions(+)
diff --git a/sci-libs/cgnslib/Manifest b/sci-libs/cgnslib/Manifest
index 2f912684c864..aff5aec578e2 100644
--- a/sci-libs/cgnslib/Manifest
+++ b/sci-libs/cgnslib/Manifest
@@ -1 +1,2 @@
DIST cgnslib-4.3.0.tar.gz 1472044 BLAKE2B 8fa59eb2c13b163553c03991af1886d2162295367094937c3b7bbbc687f098e736a927fb6835fabb43ecfbe59edcf0e58e8977e89eeb1ef12b26568fbdc78e2c SHA512 5db97b8df8cb5b108a65513e20774881c1dfa790dd96bec46119883d934db18e3f88450d287690cb785e0875af87a3ec32b6c4665c54edb623161122ee85aa93
+DIST cgnslib-4.4.0.tar.gz 1979828 BLAKE2B 1bf7a5eb8a69a488707da6e945228e053486cdfc64508ae6362ca84777bb5c22a7238676f24ca453cc8b5e2825482d473a2b84c1648849bb6f853fc0aa0a9100 SHA512 86c16d40b524519362645c553c91bade9bb7e4bffde7bf4de96a7f471ae3779a15781efa91efa059b2af0b127f08a560d2e903df6b45e1c79eaec6061db226e9
diff --git a/sci-libs/cgnslib/cgnslib-4.4.0.ebuild b/sci-libs/cgnslib/cgnslib-4.4.0.ebuild
new file mode 100644
index 000000000000..efb68a32697b
--- /dev/null
+++ b/sci-libs/cgnslib/cgnslib-4.4.0.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FORTRAN_NEEDED="fortran"
+FORTRAN_STANDARD="90 2003"
+
+inherit cmake flag-o-matic fortran-2
+
+DESCRIPTION="CFD General Notation System standard library"
+HOMEPAGE="
+ https://cgns.github.io/
+ https://github.com/CGNS/CGNS
+"
+SRC_URI="https://github.com/CGNS/CGNS/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/CGNS-${PV}"
+
+LICENSE="ZLIB"
+SLOT="0/4"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="base-scope debug examples fortran hdf5 legacy mpi scoping szip test tools"
+
+RDEPEND="
+ hdf5? ( sci-libs/hdf5:=[mpi=,szip=] )
+ tools? (
+ dev-lang/tcl:=
+ dev-lang/tk:=
+ x11-libs/libXmu:=
+ virtual/glu
+ virtual/opengl
+ )
+"
+DEPEND="${RDEPEND}"
+
+RESTRICT="
+ fortran? ( test )
+ !test? ( test )
+"
+REQUIRED_USE="
+ mpi? ( hdf5 )
+ szip? ( hdf5 )
+"
+
+pkg_setup() {
+ use fortran && fortran-2_pkg_setup
+}
+
+src_prepare() {
+ # gentoo libdir
+ sed \
+ -e 's|/lib|/'$(get_libdir)'|' \
+ -e '/DESTINATION/s|lib|'$(get_libdir)'|g' \
+ -i src/CMakeLists.txt || die
+ cmake_src_prepare
+}
+
+src_configure() {
+ # -Werror=lto-type-mismatch
+ # https://bugs.gentoo.org/862684
+ # https://github.com/CGNS/CGNS/issues/758
+ filter-lto
+
+ local mycmakeargs=(
+ -DCGNS_BUILD_SHARED=ON
+ -DCGNS_USE_SHARED=ON
+
+ -DCGNS_BUILD_CGNSTOOLS="$(usex tools)"
+ -DCGNS_ENABLE_BASE_SCOPE="$(usex base-scope)"
+ -DCGNS_ENABLE_FORTRAN="$(usex fortran)"
+ -DCGNS_ENABLE_HDF5="$(usex hdf5)"
+ -DCGNS_ENABLE_LEGACY="$(usex legacy)"
+ -DCGNS_ENABLE_SCOPING="$(usex scoping)"
+ -DCGNS_ENABLE_MEM_DEBUG="$(usex debug)"
+ -DCGNS_ENABLE_TESTS="$(usex test)"
+ )
+
+ if use mpi; then
+ mycmakeargs+=(
+ -DHDF5_NEED_MPI="$(usex mpi)"
+ -DHDF5_NEED_SZIP="$(usex szip)"
+ -DHDF5_NEED_ZLIB="$(usex szip)"
+ )
+ fi
+
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+ dodoc README.md release_docs/{HISTORY,RELEASE,changes_from_2.5}.txt
+ rm "${ED}/usr/$(get_libdir)/libcgns.a" || die
+ dodoc release_docs/*.pdf
+ docompress -x /usr/share/doc/${PF}/examples
+ use examples && dodoc -r src/examples
+}
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/cgnslib/
@ 2024-03-22 18:28 Sam James
0 siblings, 0 replies; 19+ messages in thread
From: Sam James @ 2024-03-22 18:28 UTC (permalink / raw
To: gentoo-commits
commit: 9741b9896a1607de1fa22368125235a99a96105b
Author: Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Fri Mar 22 18:16:21 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 22 18:27:46 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9741b989
sci-libs/cgnslib: fix SLOT to correctly describe soname
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-libs/cgnslib/{cgnslib-4.4.0.ebuild => cgnslib-4.4.0-r1.ebuild} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/cgnslib/cgnslib-4.4.0.ebuild b/sci-libs/cgnslib/cgnslib-4.4.0-r1.ebuild
similarity index 98%
rename from sci-libs/cgnslib/cgnslib-4.4.0.ebuild
rename to sci-libs/cgnslib/cgnslib-4.4.0-r1.ebuild
index efb68a32697b..e3836dc84986 100644
--- a/sci-libs/cgnslib/cgnslib-4.4.0.ebuild
+++ b/sci-libs/cgnslib/cgnslib-4.4.0-r1.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://github.com/CGNS/CGNS/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/CGNS-${PV}"
LICENSE="ZLIB"
-SLOT="0/4"
+SLOT="0/$(ver_cut 1-2)"
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="base-scope debug examples fortran hdf5 legacy mpi scoping szip test tools"
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/cgnslib/
@ 2024-10-05 11:47 Jakov Smolić
0 siblings, 0 replies; 19+ messages in thread
From: Jakov Smolić @ 2024-10-05 11:47 UTC (permalink / raw
To: gentoo-commits
commit: d45bd0647deb5b3363bb69b1da4f9176d53c8bf9
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 5 11:46:59 2024 +0000
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Sat Oct 5 11:46:59 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d45bd064
sci-libs/cgnslib: Stabilize 4.4.0-r1 amd64, #940843
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
sci-libs/cgnslib/cgnslib-4.4.0-r1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/cgnslib/cgnslib-4.4.0-r1.ebuild b/sci-libs/cgnslib/cgnslib-4.4.0-r1.ebuild
index e3836dc84986..005290743d5d 100644
--- a/sci-libs/cgnslib/cgnslib-4.4.0-r1.ebuild
+++ b/sci-libs/cgnslib/cgnslib-4.4.0-r1.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}/CGNS-${PV}"
LICENSE="ZLIB"
SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="base-scope debug examples fortran hdf5 legacy mpi scoping szip test tools"
RDEPEND="
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/cgnslib/
@ 2024-11-23 18:45 Sam James
0 siblings, 0 replies; 19+ messages in thread
From: Sam James @ 2024-11-23 18:45 UTC (permalink / raw
To: gentoo-commits
commit: 63f92de9427ea7b91526bdacd31bff0b287f19ac
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 23 18:45:23 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Nov 23 18:45:23 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63f92de9
sci-libs/cgnslib: Stabilize 4.4.0-r2 amd64, #942658
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-libs/cgnslib/cgnslib-4.4.0-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/cgnslib/cgnslib-4.4.0-r2.ebuild b/sci-libs/cgnslib/cgnslib-4.4.0-r2.ebuild
index 53eb0c7c01ac..c72425b12744 100644
--- a/sci-libs/cgnslib/cgnslib-4.4.0-r2.ebuild
+++ b/sci-libs/cgnslib/cgnslib-4.4.0-r2.ebuild
@@ -18,7 +18,7 @@ S="${WORKDIR}/CGNS-${PV}"
LICENSE="ZLIB"
SLOT="0/$(ver_cut 1-2)"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
IUSE="base-scope debug examples fortran hdf5 legacy mpi scoping szip test tools"
RDEPEND="
^ permalink raw reply related [flat|nested] 19+ messages in thread
end of thread, other threads:[~2024-11-23 18:45 UTC | newest]
Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-19 10:21 [gentoo-commits] repo/gentoo:master commit in: sci-libs/cgnslib/ Slawek Lis
-- strict thread matches above, loose matches on Subject: below --
2024-11-23 18:45 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
2020-12-27 3:37 Sam James
2019-07-19 3:43 Slawek Lis
2016-11-25 9:02 Slawek Lis
2016-03-18 19:18 Sebastien Fabbro
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox