the new version requires less patches which could then be integrated into portage due to reduced size upstream states support for hdf5 >= 1.10.2 which is not in portage yet, I have made a libmed-4.0.0-hdf5-1.8-support.patch which relaxes the requirements. With that I am able to compile and run successfully all the tests. In case you decide to not support hdf5-1.8 for libmed-4.0.0 than this bug should depend on #674998.
Created attachment 566520 [details] libmed-4.0.0.ebuild
Created attachment 566522 [details, diff] libmed-4.0.0-cmakelist.patch
Created attachment 566524 [details, diff] libmed-4.0.0-hdf5-1.8-support.patch
Created attachment 566526 [details, diff] libmed-4.0.0-installdoc.patch
Created attachment 566528 [details, diff] libmed-4.0.0-tests.patch
thank you for the ebuild and patches :-) will put that in the main tree shortly :-)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19d8a60bca95451a1f424d6ef313ff14f6ea9d34 commit 19d8a60bca95451a1f424d6ef313ff14f6ea9d34 Author: Miroslav Šulc <fordfrog@gentoo.org> AuthorDate: 2019-03-02 09:48:51 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2019-03-02 09:49:27 +0000 sci-libs/libmed-4.0.0: bump (bug #678824) Signed-off-By: Fabio Rossi <rossi.f@inwind.it> Closes: https://bugs.gentoo.org/678824 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> sci-libs/libmed/Manifest | 1 + .../libmed/files/libmed-3.3.1-cmake-fortran.patch | 21 +++++ .../libmed-3.3.1-disable-python-compile.patch | 17 ++++ sci-libs/libmed/files/libmed-3.3.1-mpi.patch | 23 +++++ sci-libs/libmed/files/libmed-4.0.0-cmakelist.patch | 59 ++++++++++++ .../files/libmed-4.0.0-hdf5-1.8-support.patch | 15 ++++ .../libmed/files/libmed-4.0.0-installdoc.patch | 15 ++++ sci-libs/libmed/files/libmed-4.0.0-tests.patch | 17 ++++ sci-libs/libmed/libmed-4.0.0.ebuild | 100 +++++++++++++++++++++ 9 files changed, 268 insertions(+)