* [gentoo-commits] repo/gentoo:master commit in: sci-libs/med/
@ 2019-08-05 6:52 Matthias Maier
0 siblings, 0 replies; 16+ messages in thread
From: Matthias Maier @ 2019-08-05 6:52 UTC (permalink / raw
To: gentoo-commits
commit: e61609590882ab99a4d82be73fbcce50b296aa91
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 5 05:40:59 2019 +0000
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Mon Aug 5 06:51:18 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6160959
sci-libs/med: package migration from ::science overlay
* version bump
* new upsteam website and repo
* EAPI=7
* fixup installation
Package-Manager: Portage-2.3.70, Repoman-2.3.16
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>
sci-libs/med/Manifest | 1 +
sci-libs/med/med-4.0.0.ebuild | 48 +++++++++++++++++++++++++++++++++++++++++++
sci-libs/med/metadata.xml | 12 +++++++++++
3 files changed, 61 insertions(+)
diff --git a/sci-libs/med/Manifest b/sci-libs/med/Manifest
new file mode 100644
index 00000000000..cec3ed3d3f8
--- /dev/null
+++ b/sci-libs/med/Manifest
@@ -0,0 +1 @@
+DIST med-4.0.0.tar.gz 47849098 BLAKE2B 0bc6710f7b5156e09962e3125349573989429e614a203f649843f00dea06217040ebee70e481eed9c0dd304cb7d167efcd216c3600f6954a74f262cc845fff63 SHA512 2840437010481fc5f12a56e3282f8ca5e94df541899e2b511756702f86d0f87dbf2f6e086d8e591e2bd370d8f4bab8089e7f7f939fea16354a23e2b5a4d96cd7
diff --git a/sci-libs/med/med-4.0.0.ebuild b/sci-libs/med/med-4.0.0.ebuild
new file mode 100644
index 00000000000..721d2173d35
--- /dev/null
+++ b/sci-libs/med/med-4.0.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit eutils flag-o-matic
+
+DESCRIPTION="Modeling and Exchange of Data library"
+HOMEPAGE="https://www.salome-platform.org/user-section/about/med"
+SRC_URI="https://files.salome-platform.org/Salome/other/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="mpi"
+
+RDEPEND="
+ ${PYTHON_DEPS}
+ >=sci-libs/hdf5-1.10.5[mpi=]
+ mpi? ( virtual/mpi )
+"
+
+DEPEND="
+ ${DEPEND}
+"
+
+src_prepare() {
+ default
+ append-cppflags -DH5_USE_16_API
+}
+
+src_configure() {
+ local myconf=(
+ --docdir="/usr/share/doc/${PF}"
+ --disable-python
+ )
+
+ econf "${myconf[@]}"
+}
+
+src_install() {
+ default
+
+ mv "${ED}"/usr/$(get_libdir)/libmed3.settings \
+ "${ED}"/usr/share/doc/${PF}/ || die "mv failed"
+
+ rm -rf "${ED}"/usr/include/2.3.6 || die "rm failed"
+}
diff --git a/sci-libs/med/metadata.xml b/sci-libs/med/metadata.xml
new file mode 100644
index 00000000000..dd66d18ef4f
--- /dev/null
+++ b/sci-libs/med/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>tamiko@gentoo.org</email>
+ <name>Matthias Maier</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/med/
@ 2019-09-03 22:35 Matthias Maier
0 siblings, 0 replies; 16+ messages in thread
From: Matthias Maier @ 2019-09-03 22:35 UTC (permalink / raw
To: gentoo-commits
commit: 45fb15026a6de8ce989a9189ccc5f251165bf436
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 3 22:24:24 2019 +0000
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Tue Sep 3 22:34:44 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45fb1502
sci-libs/med: immediately switch to new variant
Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>
sci-libs/med/med-4.0.0.ebuild | 48 -------------------------------------------
1 file changed, 48 deletions(-)
diff --git a/sci-libs/med/med-4.0.0.ebuild b/sci-libs/med/med-4.0.0.ebuild
deleted file mode 100644
index 721d2173d35..00000000000
--- a/sci-libs/med/med-4.0.0.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit eutils flag-o-matic
-
-DESCRIPTION="Modeling and Exchange of Data library"
-HOMEPAGE="https://www.salome-platform.org/user-section/about/med"
-SRC_URI="https://files.salome-platform.org/Salome/other/${P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="mpi"
-
-RDEPEND="
- ${PYTHON_DEPS}
- >=sci-libs/hdf5-1.10.5[mpi=]
- mpi? ( virtual/mpi )
-"
-
-DEPEND="
- ${DEPEND}
-"
-
-src_prepare() {
- default
- append-cppflags -DH5_USE_16_API
-}
-
-src_configure() {
- local myconf=(
- --docdir="/usr/share/doc/${PF}"
- --disable-python
- )
-
- econf "${myconf[@]}"
-}
-
-src_install() {
- default
-
- mv "${ED}"/usr/$(get_libdir)/libmed3.settings \
- "${ED}"/usr/share/doc/${PF}/ || die "mv failed"
-
- rm -rf "${ED}"/usr/include/2.3.6 || die "rm failed"
-}
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/med/
@ 2019-09-05 3:03 Matthias Maier
0 siblings, 0 replies; 16+ messages in thread
From: Matthias Maier @ 2019-09-05 3:03 UTC (permalink / raw
To: gentoo-commits
commit: 693fc7ceeb5bb928011abf93460c537fbd8004fe
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 5 02:57:50 2019 +0000
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Thu Sep 5 03:03:36 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=693fc7ce
sci-libs/med: rename use flag
Bug: https://bugs.gentoo.org/693146
Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>
sci-libs/med/med-4.0.0-r1.ebuild | 4 ++--
sci-libs/med/metadata.xml | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/sci-libs/med/med-4.0.0-r1.ebuild b/sci-libs/med/med-4.0.0-r1.ebuild
index 703179668a8..3eaa9806e84 100644
--- a/sci-libs/med/med-4.0.0-r1.ebuild
+++ b/sci-libs/med/med-4.0.0-r1.ebuild
@@ -15,7 +15,7 @@ SRC_URI="https://files.salome-platform.org/Salome/other/${P}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="doc fortran hdf5_16_api python test"
+IUSE="doc fortran hdf5-16-api python test"
# fails to run parallel tests
RESTRICT="test"
@@ -44,7 +44,7 @@ pkg_setup() {
}
src_prepare() {
- if use hdf5_16_api; then
+ if use hdf5-16-api; then
append-cppflags -DH5_USE_16_API
fi
diff --git a/sci-libs/med/metadata.xml b/sci-libs/med/metadata.xml
index 66143a59248..508afc5ef9c 100644
--- a/sci-libs/med/metadata.xml
+++ b/sci-libs/med/metadata.xml
@@ -18,7 +18,7 @@
<description>Gentoo Proxy Maintainers</description>
</maintainer>
<use>
- <flag name="hdf5_16_api">
+ <flag name="hdf5-16-api">
Use -DH5_USE_16_API to build the package against old 1.6 API of HDF5
</flag>
</use>
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/med/
@ 2019-12-12 16:46 Michał Górny
0 siblings, 0 replies; 16+ messages in thread
From: Michał Górny @ 2019-12-12 16:46 UTC (permalink / raw
To: gentoo-commits
commit: 7184435a8f263431edd41a418e1b3f5ad39c5fca
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 12 15:33:29 2019 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Dec 12 16:35:02 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7184435a
sci-libs/med: [QA] Fix MissingTestRestrict
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
sci-libs/med/med-4.0.0-r2.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/med/med-4.0.0-r2.ebuild b/sci-libs/med/med-4.0.0-r2.ebuild
index 837437559bd..7f05bac5c3a 100644
--- a/sci-libs/med/med-4.0.0-r2.ebuild
+++ b/sci-libs/med/med-4.0.0-r2.ebuild
@@ -26,7 +26,7 @@ IUSE="doc fortran mpi python test"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-RESTRICT="python? ( test )"
+RESTRICT="!test? ( test ) python? ( test )"
# dev-lang/tk is needed for wish-based xmdump utility
RDEPEND="
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/med/
@ 2020-01-03 19:08 Andreas Sturmlechner
0 siblings, 0 replies; 16+ messages in thread
From: Andreas Sturmlechner @ 2020-01-03 19:08 UTC (permalink / raw
To: gentoo-commits
commit: d504f844f33f37825b1943bd22be4377d16222cd
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 3 18:59:51 2020 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Jan 3 18:59:51 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d504f844
sci-libs/med: Switch to cmake.eclass
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
sci-libs/med/med-4.0.0-r2.ebuild | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/sci-libs/med/med-4.0.0-r2.ebuild b/sci-libs/med/med-4.0.0-r2.ebuild
index 7f05bac5c3a..2e060a824c7 100644
--- a/sci-libs/med/med-4.0.0-r2.ebuild
+++ b/sci-libs/med/med-4.0.0-r2.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=7
@@ -13,7 +13,7 @@ FORTRAN_NEEDED=fortran
# complicated for the build system
PYTHON_COMPAT=( python3_{5,6,7} )
-inherit cmake-utils fortran-2 python-single-r1
+inherit cmake fortran-2 python-single-r1
DESCRIPTION="A library to store and exchange meshed data or computation results"
HOMEPAGE="https://www.salome-platform.org/user-section/about/med"
@@ -68,7 +68,7 @@ src_prepare() {
"${cm}" || die "sed on ${cm} failed"
done
- cmake-utils_src_prepare
+ cmake_src_prepare
}
src_configure() {
@@ -85,11 +85,11 @@ src_configure() {
-DMEDFILE_INSTALL_DOC=$(usex doc)
-DMEDFILE_USE_MPI=$(usex mpi)
)
- cmake-utils_src_configure
+ cmake_src_configure
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
# we don't need old 2.3.6 include files
rm -r "${ED}"/usr/include/2.3.6 || die "failed to delete obsolete include dir"
@@ -113,5 +113,5 @@ src_install() {
src_test() {
# override parallel mode only for tests
local myctestargs=( "-j 1" )
- cmake-utils_src_test
+ cmake_src_test
}
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/med/
@ 2020-12-28 2:23 Jonas Stein
0 siblings, 0 replies; 16+ messages in thread
From: Jonas Stein @ 2020-12-28 2:23 UTC (permalink / raw
To: gentoo-commits
commit: 02af7830794dc832598b6c5aeb699a1787eacd17
Author: Jonas Stein <jstein <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 28 02:23:12 2020 +0000
Commit: Jonas Stein <jstein <AT> gentoo <DOT> org>
CommitDate: Mon Dec 28 02:23:12 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02af7830
sci-libs/med: metadata QA Fix
Correct tag.
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Jonas Stein <jstein <AT> gentoo.org>
sci-libs/med/metadata.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/med/metadata.xml b/sci-libs/med/metadata.xml
index 9f49ce730ae..bd426681320 100644
--- a/sci-libs/med/metadata.xml
+++ b/sci-libs/med/metadata.xml
@@ -15,6 +15,6 @@
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
- <description>Gentoo Proxy Maintainers</description>
+ <name>Proxy Maintainers</name>
</maintainer>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/med/
@ 2021-02-07 17:07 Conrad Kostecki
0 siblings, 0 replies; 16+ messages in thread
From: Conrad Kostecki @ 2021-02-07 17:07 UTC (permalink / raw
To: gentoo-commits
commit: 92e09218bf6078f515baa1c200936eb4f260e74b
Author: Bernd Waibel <waebbl-gentoo <AT> posteo <DOT> net>
AuthorDate: Sun Feb 7 16:18:55 2021 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Feb 7 17:07:42 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92e09218
sci-libs/med: fix metadata email
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Bernd Waibel <waebbl-gentoo <AT> posteo.net>
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
sci-libs/med/metadata.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/med/metadata.xml b/sci-libs/med/metadata.xml
index bd426681320..8d341808081 100644
--- a/sci-libs/med/metadata.xml
+++ b/sci-libs/med/metadata.xml
@@ -6,7 +6,7 @@
<name>Matthias Maier</name>
</maintainer>
<maintainer type="person">
- <email>waebbl@gmail.com</email>
+ <email>waebbl-gentoo@posteo.net</email>
<name>Bernd Waibel</name>
</maintainer>
<maintainer type="project">
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/med/
@ 2022-04-04 6:37 Agostino Sarubbo
0 siblings, 0 replies; 16+ messages in thread
From: Agostino Sarubbo @ 2022-04-04 6:37 UTC (permalink / raw
To: gentoo-commits
commit: 24171ea2b68abe1f8180015ec71ef9542ab51944
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 4 06:37:11 2022 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Mon Apr 4 06:37:11 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24171ea2
sci-libs/med: amd64 stable wrt bug #836683
Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
sci-libs/med/med-4.1.0.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sci-libs/med/med-4.1.0.ebuild b/sci-libs/med/med-4.1.0.ebuild
index ec6eef42dc1e..28173589f16e 100644
--- a/sci-libs/med/med-4.1.0.ebuild
+++ b/sci-libs/med/med-4.1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -15,7 +15,7 @@ SRC_URI="https://files.salome-platform.org/Salome/other/${P}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
IUSE="doc fortran mpi python test"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
RESTRICT="!test? ( test ) python? ( test )"
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/med/
@ 2022-07-03 9:25 Andrew Ammerlaan
0 siblings, 0 replies; 16+ messages in thread
From: Andrew Ammerlaan @ 2022-07-03 9:25 UTC (permalink / raw
To: gentoo-commits
commit: eee60ddc06b828a650e90eb01ecd6ec5e7de1249
Author: Bernd Waibel <waebbl-gentoo <AT> posteo <DOT> net>
AuthorDate: Wed Jun 22 22:05:24 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sun Jul 3 09:18:54 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eee60ddc
sci-libs/med: add 4.1.1
Closes: https://bugs.gentoo.org/853694
Signed-off-by: Bernd Waibel <waebbl-gentoo <AT> posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/26047
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
sci-libs/med/Manifest | 1 +
sci-libs/med/med-4.1.1.ebuild | 111 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 112 insertions(+)
diff --git a/sci-libs/med/Manifest b/sci-libs/med/Manifest
index a9596fd783e7..1f5c46481418 100644
--- a/sci-libs/med/Manifest
+++ b/sci-libs/med/Manifest
@@ -1 +1,2 @@
DIST med-4.1.0.tar.gz 50375039 BLAKE2B 514ca19baf15e349ecbce870b318b37c51bfb57ac9b03c2b2c1b28836fec7fcf2dce573b9ea155f358d5e0bcee120c12a31598cd4f1e44837eca787553bb70d4 SHA512 94d07663c2f6a3cd497f54b480c3d742476d2a25172feb567980c9e75d49f4661aa2c6aaf570470938265997154e348bc1608065b86d42afda52d4e6361fedf8
+DIST med-4.1.1.tar.gz 50506725 BLAKE2B fb9bc3239c18c53fa42c5dd1101559746e8d38db2a3cb5fb47d1bf0cb578facc4ab95409af8524f5c20251848842cc1a331f6a816ce0754e9a6c95f507174ed1 SHA512 8917e7ecfe30e1259b0927c8e1c3d6efd86ed2386813f6d90217bd95589199478e587f0815031ab65cacf7901a30b77a6307414f9073caffe6e7f013e710d768
diff --git a/sci-libs/med/med-4.1.1.ebuild b/sci-libs/med/med-4.1.1.ebuild
new file mode 100644
index 000000000000..636cb55f6c71
--- /dev/null
+++ b/sci-libs/med/med-4.1.1.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FORTRAN_NEEDED=fortran
+
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit cmake fortran-2 python-single-r1
+
+DESCRIPTION="A library to store and exchange meshed data or computation results"
+HOMEPAGE="https://www.salome-platform.org/user-section/about/med"
+SRC_URI="https://files.salome-platform.org/Salome/other/${P}.tar.gz"
+LICENSE="LGPL-3"
+S="${WORKDIR}/${P}_SRC"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc fortran mpi python test"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+RESTRICT="!test? ( test ) python? ( test )"
+
+RDEPEND="
+ !sci-libs/libmed
+ dev-lang/tk:0=
+ >=sci-libs/hdf5-1.10.2:=[fortran?,mpi(+)?]
+ mpi? ( virtual/mpi[fortran?] )
+ python? ( ${PYTHON_DEPS} )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="python? ( >=dev-lang/swig-3.0.8 )"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-4.1.0-0001-Gentoo-specific-Adjust-install-path-for-build-dir.patch"
+ "${FILESDIR}/${PN}-4.1.0-0002-Re-add-option-for-building-Fortran-library.patch"
+ "${FILESDIR}/${PN}-4.1.0-0003-build-against-hdf5-1.12.patch"
+)
+
+DOCS=( AUTHORS ChangeLog NEWS README README.CMAKE TODO )
+
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+ use fortran && fortran-2_pkg_setup
+}
+
+src_prepare() {
+ if use python; then
+ # fixes for correct libdir name
+ local pysite=$(python_get_sitedir)
+ pysite="${pysite##/usr/}"
+ sed \
+ -e 's@SET(_install_dir lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages/med)@SET(_install_dir '${pysite}'/med)@' \
+ -i ./python/CMakeLists.txt || die "sed on ./python/CMakeLists.txt failed"
+ fi
+ for cm in ./src/CMakeLists.txt ./tools/medimport/CMakeLists.txt
+ do
+ sed -i -e "s@INSTALL(TARGETS \(.*\) DESTINATION lib)@INSTALL(TARGETS \1 DESTINATION $(get_libdir))@" \
+ "${cm}" || die "sed on ${cm} failed"
+ done
+ sed -e 's/med-fichier/med/' -i CMakeLists.txt || die "fix paths failed"
+ sed -e 's|doc/med-${MED_STR_VERSION}|doc/med-${MED_STR_VERSION}/html|' \
+ -i CMakeLists.txt || die "fix doc path failed"
+
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ # as indicated in the CMakeLists.txt, the shipped documentation is generated by a custom doxygen,
+ # so let's avoid rebuilding it because it will be different
+ -DMEDFILE_BUILD_DOC=OFF
+ -DMEDFILE_BUILD_FORTRAN=$(usex fortran)
+ -DMEDFILE_BUILD_PYTHON=$(usex python)
+ -DMEDFILE_BUILD_SHARED_LIBS=ON
+ -DMEDFILE_BUILD_STATIC_LIBS=OFF
+ -DMEDFILE_BUILD_TESTS=$(usex test)
+ -DMEDFILE_INSTALL_DOC=$(usex doc)
+ -DMEDFILE_USE_MPI=$(usex mpi)
+ -DMEDFILE_USE_UNICODE=ON
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+
+ # we don't need old 2.3.6 include files
+ rm -r "${ED}"/usr/include/2.3.6 || die "failed to delete obsolete include dir"
+
+ # the optimization done in CMakeLists.txt has been disabled so
+ # we need to do it manually
+ use python && python_optimize
+
+ # Prevent test executables being installed
+ if use test; then
+ rm -r "${ED}"/usr/bin/testc || die "failed to delete C test executables"
+ if use fortran; then
+ rm -r "${ED}"/usr/bin/testf || die "failed to delete fortran test executables"
+ fi
+ if use python; then
+ rm -r "${ED}"/usr/bin/testpy || die "failed to delete python test executables"
+ fi
+ fi
+}
+
+src_test() {
+ # override parallel mode only for tests
+ local myctestargs=( "-j 1" )
+ cmake_src_test
+}
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/med/
@ 2022-08-23 12:12 Andrew Ammerlaan
0 siblings, 0 replies; 16+ messages in thread
From: Andrew Ammerlaan @ 2022-08-23 12:12 UTC (permalink / raw
To: gentoo-commits
commit: c2ff013eccf3957a6a0980005fb0a3eb6745dfce
Author: Bernd Waibel <waebbl-gentoo <AT> posteo <DOT> net>
AuthorDate: Wed Aug 10 15:37:37 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Aug 23 12:09:37 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2ff013e
sci-libs/med: filter lto flags
Closes: https://bugs.gentoo.org/862900
Bug: https://discourse.salome-platform.org/t/build-issue-with-medfile-and-lto-werror-lto-type-mismatch/323/2
Signed-off-by: Bernd Waibel <waebbl-gentoo <AT> posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/26813
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
sci-libs/med/med-4.1.1.ebuild | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/sci-libs/med/med-4.1.1.ebuild b/sci-libs/med/med-4.1.1.ebuild
index 636cb55f6c71..ff91fb7b8fd2 100644
--- a/sci-libs/med/med-4.1.1.ebuild
+++ b/sci-libs/med/med-4.1.1.ebuild
@@ -7,7 +7,7 @@ FORTRAN_NEEDED=fortran
PYTHON_COMPAT=( python3_{8..11} )
-inherit cmake fortran-2 python-single-r1
+inherit cmake flag-o-matic fortran-2 python-single-r1
DESCRIPTION="A library to store and exchange meshed data or computation results"
HOMEPAGE="https://www.salome-platform.org/user-section/about/med"
@@ -62,6 +62,9 @@ src_prepare() {
sed -e 's|doc/med-${MED_STR_VERSION}|doc/med-${MED_STR_VERSION}/html|' \
-i CMakeLists.txt || die "fix doc path failed"
+ # bug #862900, already reported upstream. CHECK on updates!
+ filter-lto
+
cmake_src_prepare
}
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/med/
@ 2022-09-25 6:39 Joonas Niilola
0 siblings, 0 replies; 16+ messages in thread
From: Joonas Niilola @ 2022-09-25 6:39 UTC (permalink / raw
To: gentoo-commits
commit: c10c152db290d1ee7085e9ab440a9bda5e8feaef
Author: Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 25 06:37:39 2022 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun Sep 25 06:39:00 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c10c152d
sci-libs/med: Stabilize 4.1.1 amd64, #872638
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
sci-libs/med/med-4.1.1.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/med/med-4.1.1.ebuild b/sci-libs/med/med-4.1.1.ebuild
index ff91fb7b8fd2..cc4913e526ab 100644
--- a/sci-libs/med/med-4.1.1.ebuild
+++ b/sci-libs/med/med-4.1.1.ebuild
@@ -16,7 +16,7 @@ LICENSE="LGPL-3"
S="${WORKDIR}/${P}_SRC"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
IUSE="doc fortran mpi python test"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
RESTRICT="!test? ( test ) python? ( test )"
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/med/
@ 2022-09-26 8:07 Andrew Ammerlaan
0 siblings, 0 replies; 16+ messages in thread
From: Andrew Ammerlaan @ 2022-09-26 8:07 UTC (permalink / raw
To: gentoo-commits
commit: 4106f52c5dbf3f39751ec5e15ee267e20205bf95
Author: Bernd Waibel <waebbl-gentoo <AT> posteo <DOT> net>
AuthorDate: Sun Sep 25 07:52:23 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon Sep 26 08:06:42 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4106f52c
sci-libs/med: drop 4.1.0
Signed-off-by: Bernd Waibel <waebbl-gentoo <AT> posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/27440
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
sci-libs/med/Manifest | 1 -
sci-libs/med/med-4.1.0.ebuild | 111 ------------------------------------------
2 files changed, 112 deletions(-)
diff --git a/sci-libs/med/Manifest b/sci-libs/med/Manifest
index 1f5c46481418..fa39d9acb1a5 100644
--- a/sci-libs/med/Manifest
+++ b/sci-libs/med/Manifest
@@ -1,2 +1 @@
-DIST med-4.1.0.tar.gz 50375039 BLAKE2B 514ca19baf15e349ecbce870b318b37c51bfb57ac9b03c2b2c1b28836fec7fcf2dce573b9ea155f358d5e0bcee120c12a31598cd4f1e44837eca787553bb70d4 SHA512 94d07663c2f6a3cd497f54b480c3d742476d2a25172feb567980c9e75d49f4661aa2c6aaf570470938265997154e348bc1608065b86d42afda52d4e6361fedf8
DIST med-4.1.1.tar.gz 50506725 BLAKE2B fb9bc3239c18c53fa42c5dd1101559746e8d38db2a3cb5fb47d1bf0cb578facc4ab95409af8524f5c20251848842cc1a331f6a816ce0754e9a6c95f507174ed1 SHA512 8917e7ecfe30e1259b0927c8e1c3d6efd86ed2386813f6d90217bd95589199478e587f0815031ab65cacf7901a30b77a6307414f9073caffe6e7f013e710d768
diff --git a/sci-libs/med/med-4.1.0.ebuild b/sci-libs/med/med-4.1.0.ebuild
deleted file mode 100644
index 28173589f16e..000000000000
--- a/sci-libs/med/med-4.1.0.ebuild
+++ /dev/null
@@ -1,111 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-FORTRAN_NEEDED=fortran
-
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit cmake fortran-2 python-single-r1
-
-DESCRIPTION="A library to store and exchange meshed data or computation results"
-HOMEPAGE="https://www.salome-platform.org/user-section/about/med"
-SRC_URI="https://files.salome-platform.org/Salome/other/${P}.tar.gz"
-LICENSE="LGPL-3"
-
-SLOT="0"
-KEYWORDS="amd64 ~x86"
-IUSE="doc fortran mpi python test"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-RESTRICT="!test? ( test ) python? ( test )"
-
-RDEPEND="
- !sci-libs/libmed
- dev-lang/tk:0=
- >=sci-libs/hdf5-1.10.2:=[fortran?,mpi?]
- mpi? ( virtual/mpi[fortran?] )
- python? ( ${PYTHON_DEPS} )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="python? ( >=dev-lang/swig-3.0.8 )"
-
-# "${FILESDIR}/${P}-0003-fix-hdf5-version-check.patch"
-PATCHES=(
- "${FILESDIR}/${P}-0001-Gentoo-specific-Adjust-install-path-for-build-dir.patch"
- "${FILESDIR}/${P}-0002-Re-add-option-for-building-Fortran-library.patch"
- "${FILESDIR}/${P}-0003-build-against-hdf5-1.12.patch"
-)
-
-DOCS=( AUTHORS ChangeLog NEWS README README.CMAKE TODO )
-
-pkg_setup() {
- use python && python-single-r1_pkg_setup
- use fortran && fortran-2_pkg_setup
-}
-
-src_prepare() {
- if use python; then
- # fixes for correct libdir name
- local pysite=$(python_get_sitedir)
- pysite="${pysite##/usr/}"
- sed \
- -e 's@SET(_install_dir lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages/med)@SET(_install_dir '${pysite}'/med)@' \
- -i ./python/CMakeLists.txt || die "sed on ./python/CMakeLists.txt failed"
- fi
- for cm in ./src/CMakeLists.txt ./tools/medimport/CMakeLists.txt
- do
- sed -i -e "s@INSTALL(TARGETS \(.*\) DESTINATION lib)@INSTALL(TARGETS \1 DESTINATION $(get_libdir))@" \
- "${cm}" || die "sed on ${cm} failed"
- done
- sed -e 's/med-fichier/med/' -i CMakeLists.txt || die "fix paths failed"
- sed -e 's|doc/med-${MED_STR_VERSION}|doc/med-${MED_STR_VERSION}/html|' \
- -i CMakeLists.txt || die "fix doc path failed"
-
- cmake_src_prepare
-}
-
-src_configure() {
- local mycmakeargs=(
- # as indicated in the CMakeLists.txt, the shipped documentation is generated by a custom doxygen,
- # so let's avoid rebuilding it because it will be different
- -DMEDFILE_BUILD_DOC=OFF
- -DMEDFILE_BUILD_FORTRAN=$(usex fortran)
- -DMEDFILE_BUILD_PYTHON=$(usex python)
- -DMEDFILE_BUILD_SHARED_LIBS=ON
- -DMEDFILE_BUILD_STATIC_LIBS=OFF
- -DMEDFILE_BUILD_TESTS=$(usex test)
- -DMEDFILE_INSTALL_DOC=$(usex doc)
- -DMEDFILE_USE_MPI=$(usex mpi)
- -DMEDFILE_USE_UNICODE=ON
- )
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
-
- # we don't need old 2.3.6 include files
- rm -r "${ED}"/usr/include/2.3.6 || die "failed to delete obsolete include dir"
-
- # the optimization done in CMakeLists.txt has been disabled so
- # we need to do it manually
- use python && python_optimize
-
- # Prevent test executables being installed
- if use test; then
- rm -r "${ED}"/usr/bin/testc || die "failed to delete C test executables"
- if use fortran; then
- rm -r "${ED}"/usr/bin/testf || die "failed to delete fortran test executables"
- fi
- if use python; then
- rm -r "${ED}"/usr/bin/testpy || die "failed to delete python test executables"
- fi
- fi
-}
-
-src_test() {
- # override parallel mode only for tests
- local myctestargs=( "-j 1" )
- cmake_src_test
-}
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/med/
@ 2023-04-18 15:53 Andrew Ammerlaan
0 siblings, 0 replies; 16+ messages in thread
From: Andrew Ammerlaan @ 2023-04-18 15:53 UTC (permalink / raw
To: gentoo-commits
commit: 66079ad2ea94202ceed50c0ebbb0eb5f895fa3d4
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 18 15:53:21 2023 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Apr 18 15:53:21 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66079ad2
sci-libs/med: restrict to hdf5<14
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
sci-libs/med/{med-4.1.1.ebuild => med-4.1.1-r1.ebuild} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/med/med-4.1.1.ebuild b/sci-libs/med/med-4.1.1-r1.ebuild
similarity index 98%
rename from sci-libs/med/med-4.1.1.ebuild
rename to sci-libs/med/med-4.1.1-r1.ebuild
index b2c10421a196..9b2d35e26ef3 100644
--- a/sci-libs/med/med-4.1.1.ebuild
+++ b/sci-libs/med/med-4.1.1-r1.ebuild
@@ -24,7 +24,7 @@ RESTRICT="!test? ( test ) python? ( test )"
RDEPEND="
!sci-libs/libmed
dev-lang/tk:0=
- >=sci-libs/hdf5-1.10.2:=[fortran?,mpi(+)?]
+ <sci-libs/hdf5-1.14.0:=[fortran?,mpi(+)?]
mpi? ( virtual/mpi[fortran?] )
python? ( ${PYTHON_DEPS} )
"
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/med/
@ 2023-04-23 11:20 Andrew Ammerlaan
0 siblings, 0 replies; 16+ messages in thread
From: Andrew Ammerlaan @ 2023-04-23 11:20 UTC (permalink / raw
To: gentoo-commits
commit: d3c472a255bf04085815a1464da403e4328d38de
Author: Bernd Waibel <waebbl-gentoo <AT> posteo <DOT> net>
AuthorDate: Sun Apr 23 09:13:37 2023 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sun Apr 23 11:18:33 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3c472a2
sci-libs/med: fix doc installation path
- install documentation correctly into ${PF}
- drop a sed statement to fix library installation path, which has
become obsolete
Closes: https://bugs.gentoo.org/904522
Signed-off-by: Bernd Waibel <waebbl-gentoo <AT> posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/30716
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
sci-libs/med/{med-4.1.1-r2.ebuild => med-4.1.1-r3.ebuild} | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/sci-libs/med/med-4.1.1-r2.ebuild b/sci-libs/med/med-4.1.1-r3.ebuild
similarity index 91%
rename from sci-libs/med/med-4.1.1-r2.ebuild
rename to sci-libs/med/med-4.1.1-r3.ebuild
index 6b6346b2560b..6fa0f413d8c9 100644
--- a/sci-libs/med/med-4.1.1-r2.ebuild
+++ b/sci-libs/med/med-4.1.1-r3.ebuild
@@ -53,13 +53,8 @@ src_prepare() {
-e 's@SET(_install_dir lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages/med)@SET(_install_dir '${pysite}'/med)@' \
-i ./python/CMakeLists.txt || die "sed on ./python/CMakeLists.txt failed"
fi
- for cm in ./src/CMakeLists.txt ./tools/medimport/CMakeLists.txt
- do
- sed -i -e "s@INSTALL(TARGETS \(.*\) DESTINATION lib)@INSTALL(TARGETS \1 DESTINATION $(get_libdir))@" \
- "${cm}" || die "sed on ${cm} failed"
- done
sed -e 's/med-fichier/med/' -i CMakeLists.txt || die "fix paths failed"
- sed -e 's|doc/med-${MED_STR_VERSION}|doc/med-${MED_STR_VERSION}/html|' \
+ sed -e 's|doc/med-${MED_STR_VERSION}|doc/'${PF}'/html|' \
-i CMakeLists.txt || die "fix doc path failed"
# bug #862900, already reported upstream. CHECK on updates!
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/med/
@ 2023-05-26 14:38 Sam James
0 siblings, 0 replies; 16+ messages in thread
From: Sam James @ 2023-05-26 14:38 UTC (permalink / raw
To: gentoo-commits
commit: 896ac92d45f1e4b2c9af3b38c7ef2727530ffe49
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri May 26 14:38:22 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri May 26 14:38:22 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=896ac92d
sci-libs/med: Stabilize 4.1.1-r3 amd64, #907206
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-libs/med/med-4.1.1-r3.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-libs/med/med-4.1.1-r3.ebuild b/sci-libs/med/med-4.1.1-r3.ebuild
index 6fa0f413d8c9..c5d4f76fecce 100644
--- a/sci-libs/med/med-4.1.1-r3.ebuild
+++ b/sci-libs/med/med-4.1.1-r3.ebuild
@@ -16,7 +16,7 @@ LICENSE="LGPL-3"
S="${WORKDIR}/${P}_SRC"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
IUSE="doc fortran mpi python test"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
RESTRICT="!test? ( test ) python? ( test )"
^ permalink raw reply related [flat|nested] 16+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-libs/med/
@ 2024-06-03 15:00 Andrew Ammerlaan
0 siblings, 0 replies; 16+ messages in thread
From: Andrew Ammerlaan @ 2024-06-03 15:00 UTC (permalink / raw
To: gentoo-commits
commit: bb0447df9c6d5484edf1ac52105645dafbb651db
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 3 14:59:49 2024 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon Jun 3 14:59:49 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb0447df
sci-libs/med: enable py3.12
Closes: https://bugs.gentoo.org/929782
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
sci-libs/med/med-4.1.1-r3.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sci-libs/med/med-4.1.1-r3.ebuild b/sci-libs/med/med-4.1.1-r3.ebuild
index c5d4f76fecce..3fc844af69b3 100644
--- a/sci-libs/med/med-4.1.1-r3.ebuild
+++ b/sci-libs/med/med-4.1.1-r3.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
FORTRAN_NEEDED=fortran
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..12} )
inherit cmake flag-o-matic fortran-2 python-single-r1
^ permalink raw reply related [flat|nested] 16+ messages in thread
end of thread, other threads:[~2024-06-03 15:00 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-03 22:35 [gentoo-commits] repo/gentoo:master commit in: sci-libs/med/ Matthias Maier
-- strict thread matches above, loose matches on Subject: below --
2024-06-03 15:00 Andrew Ammerlaan
2023-05-26 14:38 Sam James
2023-04-23 11:20 Andrew Ammerlaan
2023-04-18 15:53 Andrew Ammerlaan
2022-09-26 8:07 Andrew Ammerlaan
2022-09-25 6:39 Joonas Niilola
2022-08-23 12:12 Andrew Ammerlaan
2022-07-03 9:25 Andrew Ammerlaan
2022-04-04 6:37 Agostino Sarubbo
2021-02-07 17:07 Conrad Kostecki
2020-12-28 2:23 Jonas Stein
2020-01-03 19:08 Andreas Sturmlechner
2019-12-12 16:46 Michał Górny
2019-09-05 3:03 Matthias Maier
2019-08-05 6:52 Matthias Maier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox