summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@gentoo.org>2019-09-03 17:25:24 -0500
committerMatthias Maier <tamiko@gentoo.org>2019-09-03 17:34:47 -0500
commit20381aa6cced7d0025c1be96fc46532a1a820ce0 (patch)
tree060cb51ae5f2a24ada43039a97cef629cf203f3a
parentsci-libs/med: immediately switch to new variant (diff)
downloadgentoo-20381aa6cced7d0025c1be96fc46532a1a820ce0.tar.gz
gentoo-20381aa6cced7d0025c1be96fc46532a1a820ce0.tar.bz2
gentoo-20381aa6cced7d0025c1be96fc46532a1a820ce0.zip
sci-libs/libmed: remove all but latest version
Package-Manager: Portage-2.3.75, Repoman-2.3.17 Signed-off-by: Matthias Maier <tamiko@gentoo.org>
-rw-r--r--sci-libs/libmed/Manifest2
-rw-r--r--sci-libs/libmed/libmed-3.3.1-r1.ebuild100
2 files changed, 0 insertions, 102 deletions
diff --git a/sci-libs/libmed/Manifest b/sci-libs/libmed/Manifest
index 796dff296118..cec3ed3d3f8a 100644
--- a/sci-libs/libmed/Manifest
+++ b/sci-libs/libmed/Manifest
@@ -1,3 +1 @@
-DIST libmed-3.3.1-r1-gentoo.tar.bz2 36127 BLAKE2B c112215932ac5c84cc75911c20712fcf428a8fc6e8adfd497066315fbc99a70816e0276196ff6366f34eeb3bf6d40586a735dd35cc13579640d7128f563fbf2b SHA512 e55dc96b8282dfba0dc9746dba7ef2ea8616d5617deabd3164d0134ca680e27c2a121432ae22f38fc53a52ffb0ac66a9a17c131488a9d01a757601afbcdc0bff
-DIST med-3.3.1.tar.gz 43379218 BLAKE2B 101033a766b3b8f184de8b18437a020129da3a11fd947742c30d8b9d274542e7445f1ee1d5827194a1ebc02c701ea6911105102f7b61c24d9d07bb15dbfe45f7 SHA512 f1eba3bc69520b862bdab89ce76694f91ed0e6be42c037df8ec655b6314e8ae776083d5ead61fb34097eb8440302969229d1859b6d8fcce51e7551b75d8ebf5f
DIST med-4.0.0.tar.gz 47849098 BLAKE2B 0bc6710f7b5156e09962e3125349573989429e614a203f649843f00dea06217040ebee70e481eed9c0dd304cb7d167efcd216c3600f6954a74f262cc845fff63 SHA512 2840437010481fc5f12a56e3282f8ca5e94df541899e2b511756702f86d0f87dbf2f6e086d8e591e2bd370d8f4bab8089e7f7f939fea16354a23e2b5a4d96cd7
diff --git a/sci-libs/libmed/libmed-3.3.1-r1.ebuild b/sci-libs/libmed/libmed-3.3.1-r1.ebuild
deleted file mode 100644
index 0a63fccfcc87..000000000000
--- a/sci-libs/libmed/libmed-3.3.1-r1.ebuild
+++ /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
- https://dev.gentoo.org/~fordfrog/distfiles/${P}-r1-gentoo.tar.bz2"
-
-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}_SRC
-
-PATCHES=(
- "${WORKDIR}/${P}-cmake-fortran.patch"
- "${WORKDIR}/${P}-disable-python-compile.patch" # managed by function of python eclass
- "${WORKDIR}/${P}-mpi.patch"
- "${WORKDIR}/${P}-hdf5-1.10-support.patch" # taken from Debian
- "${WORKDIR}/${P}-cmakelist.patch"
- "${WORKDIR}/${P}-tests.patch" # disable a few tests not running
- "${WORKDIR}/${P}-tests-python3.patch"
- "${WORKDIR}/${P}-installdoc.patch"
- "${WORKDIR}/${P}-python-imports.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
- )
- 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
-}