sci-libs/libmed: drop old
authorBernd Waibel <waebbl@gmail.com>
Wed, 15 May 2019 19:05:30 +0000 (21:05 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 19 May 2019 11:22:17 +0000 (13:22 +0200)
Drop broken 4.0.0 ebuild

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Bernd Waibel <waebbl@gmail.com>
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
sci-libs/libmed/files/libmed-4.0.0-hdf5-1.8-support.patch [deleted file]
sci-libs/libmed/libmed-4.0.0.ebuild [deleted file]

diff --git a/sci-libs/libmed/files/libmed-4.0.0-hdf5-1.8-support.patch b/sci-libs/libmed/files/libmed-4.0.0-hdf5-1.8-support.patch
deleted file mode 100644 (file)
index 72838c3..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
---- ./config/cmake_files/medMacros.cmake       2019-01-09 17:16:00.951884862 +0100
-+++ ./config/cmake_files/medMacros.cmake.new   2019-01-09 17:18:48.753888600 +0100
-@@ -396,10 +396,10 @@
-     ##
-     ## Requires 1.10.x version
-     ##
--    IF (NOT HDF_VERSION_MAJOR_REF EQUAL 1 OR NOT HDF_VERSION_MINOR_REF EQUAL 10 OR NOT HDF_VERSION_RELEASE_REF GREATER 1)
--        MESSAGE(FATAL_ERROR "HDF5 version is ${HDF_VERSION_REF}. Only versions >= 1.10.2 are supported.")
--    ENDIF()
-+    #IF (NOT HDF_VERSION_MAJOR_REF EQUAL 1 OR NOT HDF_VERSION_MINOR_REF EQUAL 10 OR NOT HDF_VERSION_RELEASE_REF GREATER 1)
-+    #    MESSAGE(FATAL_ERROR "HDF5 version is ${HDF_VERSION_REF}. Only versions >= 1.10.2 are supported.")
-+    #ENDIF()
-     ##
-     ##
diff --git a/sci-libs/libmed/libmed-4.0.0.ebuild b/sci-libs/libmed/libmed-4.0.0.ebuild
deleted file mode 100644 (file)
index 94a5e5b..0000000
+++ /dev/null
@@ -1,100 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-# EAPI=7 uses ninja generator by default but it's incompatible with USE=fortran
-# https://github.com/Kitware/ninja/tree/features-for-fortran#readme
-CMAKE_MAKEFILE_GENERATOR=emake
-
-FORTRAN_NEEDED=fortran
-# NOTE:The build for multiple python versions should be possible but complecated for the build system
-PYTHON_COMPAT=( python2_7 python3_{5,6} )
-
-inherit cmake-utils fortran-2 python-single-r1
-
-MY_P="med-${PV}"
-
-DESCRIPTION="A library to store and exchange meshed data or computation results"
-HOMEPAGE="https://www.salome-platform.org/"
-SRC_URI="http://files.salome-platform.org/Salome/other/${MY_P}.tar.gz"
-
-LICENSE="GPL-3 LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc fortran mpi python static-libs test"
-
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-RDEPEND="
-       sci-libs/hdf5[fortran=,mpi=]
-       mpi? ( virtual/mpi[fortran=] )
-       python? ( ${PYTHON_DEPS} )
-"
-DEPEND="${RDEPEND}
-       python? ( >=dev-lang/swig-2.0.9:0 )
-"
-
-S="${WORKDIR}"/${MY_P}
-
-PATCHES=(
-       "${FILESDIR}/${PN}-3.3.1-cmake-fortran.patch"
-       "${FILESDIR}/${PN}-3.3.1-disable-python-compile.patch"  # managed by function of python eclass
-       "${FILESDIR}/${PN}-3.3.1-mpi.patch"
-       "${FILESDIR}/${P}-hdf5-1.8-support.patch"
-       "${FILESDIR}/${P}-cmakelist.patch"
-       "${FILESDIR}/${P}-tests.patch"  # disable a few tests not running
-       "${FILESDIR}/${P}-installdoc.patch"
-)
-
-DOCS=( AUTHORS COPYING COPYING.LESSER ChangeLog NEWS README TODO )
-
-pkg_setup() {
-       use python && python-single-r1_pkg_setup
-       use fortran && fortran-2_pkg_setup
-}
-
-src_prepare() {
-       # fixes for correct libdir name
-       sed -i -e "s@SET(_install_dir lib/python@SET(_install_dir $(get_libdir)/python@" \
-               ./python/CMakeLists.txt || die "sed failed"
-       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
-
-       cmake-utils_src_prepare
-}
-
-src_configure() {
-       local mycmakeargs=(
-               -DMEDFILE_BUILD_FORTRAN=$(usex fortran)
-               -DMEDFILE_BUILD_STATIC_LIBS=$(usex static-libs)
-               -DMEDFILE_BUILD_PYTHON=$(usex python)
-               -DMEDFILE_BUILD_TESTS=$(usex test)
-               -DMEDFILE_INSTALL_DOC=$(usex doc)
-               -DMEDFILE_USE_MPI=$(usex mpi)
-               -DMEDFILE_DOC_DIRECTORY="${EPREFIX}"/usr/share/doc/${PF}/html   # custom var created by patches
-               # 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
-       )
-       cmake-utils_src_configure
-}
-
-src_install() {
-       cmake-utils_src_install
-
-       # 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
-       use test && rm -rf "${D}"/usr/bin/{testc,testf,testpy}
-}
-
-src_test() {
-       # override parallel mode only for tests
-       local myctestargs=( "-j 1" )
-       cmake-utils_src_test
-}