summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-07-19 18:28:54 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-07-21 12:03:16 +0200
commit2ff10a7ce82920353ff01bfde050d26a909b7378 (patch)
treea2146ea82d6d6e592aa9d441db932fd3a4274e38 /sci-libs
parentsci-libs/suitesparseconfig: Drop 4.2.1-r1 (diff)
downloadgentoo-2ff10a7ce82920353ff01bfde050d26a909b7378.tar.gz
gentoo-2ff10a7ce82920353ff01bfde050d26a909b7378.tar.bz2
gentoo-2ff10a7ce82920353ff01bfde050d26a909b7378.zip
sci-libs/metis: Drop 5.1.0-r2 and 5.1.0-r3
Overshadowed by 5.1.0-r4. cmake-utils-- Package-Manager: Portage-3.0.0, Repoman-2.3.23 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/metis/metis-5.1.0-r2.ebuild72
-rw-r--r--sci-libs/metis/metis-5.1.0-r3.ebuild72
2 files changed, 0 insertions, 144 deletions
diff --git a/sci-libs/metis/metis-5.1.0-r2.ebuild b/sci-libs/metis/metis-5.1.0-r2.ebuild
deleted file mode 100644
index a006742a7f5..00000000000
--- a/sci-libs/metis/metis-5.1.0-r2.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils fortran-2
-
-DESCRIPTION="A package for unstructured serial graph partitioning"
-HOMEPAGE="http://www-users.cs.umn.edu/~karypis/metis/metis/"
-SRC_URI="http://glaros.dtc.umn.edu/gkhome/fetch/sw/${PN}/${P}.tar.gz"
-
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
-LICENSE="Apache-2.0"
-IUSE="doc openmp static-libs"
-
-DEPEND=""
-RDEPEND="${DEPEND}
- !sci-libs/parmetis"
-
-DOCS=( manual/manual.pdf )
-
-PATCHES=(
- "${FILESDIR}"/${P}-datatype.patch
- "${FILESDIR}"/${P}-shared-GKlib.patch
- "${FILESDIR}"/${P}-multilib.patch
-)
-
-src_prepare() {
- sed \
- -e 's:-O3::g' \
- -i GKlib/GKlibSystem.cmake || die
-
- cmake-utils_src_prepare
-}
-
-src_configure() {
- local mycmakeargs=(
- -DGKLIB_PATH="${S}"/GKlib
- -DSHARED=TRUE
- -DOPENMP="$(usex openmp)"
- )
- cmake-utils_src_configure
-}
-
-src_test() {
- cd graphs || die
- PATH="${BUILD_DIR}"/programs/:${PATH} LD_LIBRARY_PATH="${BUILD_DIR}"/lib ndmetis mdual.graph || die
- PATH="${BUILD_DIR}"/programs/:${PATH} LD_LIBRARY_PATH="${BUILD_DIR}"/lib mpmetis metis.mesh 2 || die
- PATH="${BUILD_DIR}"/programs/:${PATH} LD_LIBRARY_PATH="${BUILD_DIR}"/lib gpmetis test.mgraph 4 || die
- PATH="${BUILD_DIR}"/programs/:${PATH} LD_LIBRARY_PATH="${BUILD_DIR}"/lib gpmetis copter2.graph 4 || die
- PATH="${BUILD_DIR}"/programs/:${PATH} LD_LIBRARY_PATH="${BUILD_DIR}"/lib graphchk 4elt.graph || die
-}
-
-src_install() {
- cat >> "${T}"/metis.pc <<- EOF
- prefix=${EPREFIX}/usr
- exec_prefix=\${prefix}
- libdir=\${exec_prefix}/$(get_libdir)
- includedir=\${prefix}/include
-
- Name: METIS
- Description: Software for partioning unstructured graphes and meshes
- Version: ${PV}
- Cflags: -I\${includedir}/metis
- Libs: -L\${libdir} -lmetis
- EOF
-
- insinto /usr/$(get_libdir)/pkgconfig
- doins "${T}"/metis.pc
- cmake-utils_src_install
-}
diff --git a/sci-libs/metis/metis-5.1.0-r3.ebuild b/sci-libs/metis/metis-5.1.0-r3.ebuild
deleted file mode 100644
index 249aad35b80..00000000000
--- a/sci-libs/metis/metis-5.1.0-r3.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils fortran-2
-
-DESCRIPTION="A package for unstructured serial graph partitioning"
-HOMEPAGE="http://www-users.cs.umn.edu/~karypis/metis/metis/"
-SRC_URI="http://glaros.dtc.umn.edu/gkhome/fetch/sw/${PN}/${P}.tar.gz"
-
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
-LICENSE="Apache-2.0"
-IUSE="doc openmp static-libs"
-
-DEPEND=""
-RDEPEND="${DEPEND}
- !sci-libs/parmetis"
-
-DOCS=( manual/manual.pdf )
-
-PATCHES=(
- "${FILESDIR}"/${P}-datatype.patch
- "${FILESDIR}"/${P}-shared-GKlib.patch
- "${FILESDIR}"/${P}-multilib.patch
-)
-
-src_prepare() {
- sed \
- -e 's:-O3::g' \
- -i GKlib/GKlibSystem.cmake || die
-
- cmake-utils_src_prepare
-}
-
-src_configure() {
- local mycmakeargs=(
- -DGKLIB_PATH="${S}"/GKlib
- -DSHARED="$(usex static-libs no yes)"
- -DOPENMP="$(usex openmp)"
- )
- cmake-utils_src_configure
-}
-
-src_test() {
- cd graphs || die
- PATH="${BUILD_DIR}"/programs/:${PATH} LD_LIBRARY_PATH="${BUILD_DIR}"/lib ndmetis mdual.graph || die
- PATH="${BUILD_DIR}"/programs/:${PATH} LD_LIBRARY_PATH="${BUILD_DIR}"/lib mpmetis metis.mesh 2 || die
- PATH="${BUILD_DIR}"/programs/:${PATH} LD_LIBRARY_PATH="${BUILD_DIR}"/lib gpmetis test.mgraph 4 || die
- PATH="${BUILD_DIR}"/programs/:${PATH} LD_LIBRARY_PATH="${BUILD_DIR}"/lib gpmetis copter2.graph 4 || die
- PATH="${BUILD_DIR}"/programs/:${PATH} LD_LIBRARY_PATH="${BUILD_DIR}"/lib graphchk 4elt.graph || die
-}
-
-src_install() {
- cat >> "${T}"/metis.pc <<- EOF
- prefix=${EPREFIX}/usr
- exec_prefix=\${prefix}
- libdir=\${exec_prefix}/$(get_libdir)
- includedir=\${prefix}/include
-
- Name: METIS
- Description: Software for partioning unstructured graphes and meshes
- Version: ${PV}
- Cflags: -I\${includedir}/metis
- Libs: -L\${libdir} -lmetis
- EOF
-
- insinto /usr/$(get_libdir)/pkgconfig
- doins "${T}"/metis.pc
- cmake-utils_src_install
-}