Gentoo Archives: gentoo-commits

From: "Jakov Smolić" <jsmolic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/metis/
Date: Wed, 06 Oct 2021 06:22:32
Message-Id: 1633501207.14a95e399889e2cdcd47f0586a13bb426b685748.jsmolic@gentoo
1 commit: 14a95e399889e2cdcd47f0586a13bb426b685748
2 Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 6 06:20:07 2021 +0000
4 Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 6 06:20:07 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14a95e39
7
8 sci-libs/metis: drop 5.1.0-r4
9
10 Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
11
12 sci-libs/metis/metis-5.1.0-r4.ebuild | 64 ------------------------------------
13 1 file changed, 64 deletions(-)
14
15 diff --git a/sci-libs/metis/metis-5.1.0-r4.ebuild b/sci-libs/metis/metis-5.1.0-r4.ebuild
16 deleted file mode 100644
17 index 692b7617144..00000000000
18 --- a/sci-libs/metis/metis-5.1.0-r4.ebuild
19 +++ /dev/null
20 @@ -1,64 +0,0 @@
21 -# Copyright 1999-2021 Gentoo Authors
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=7
25 -
26 -inherit cmake
27 -
28 -DESCRIPTION="A package for unstructured serial graph partitioning"
29 -HOMEPAGE="http://glaros.dtc.umn.edu/gkhome/metis/metis/overview"
30 -SRC_URI="http://glaros.dtc.umn.edu/gkhome/fetch/sw/${PN}/${P}.tar.gz"
31 -
32 -LICENSE="Apache-2.0"
33 -SLOT="0"
34 -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux"
35 -IUSE="doc openmp"
36 -
37 -RDEPEND="!sci-libs/parmetis"
38 -
39 -PATCHES=(
40 - "${FILESDIR}"/${P}-datatype.patch
41 - "${FILESDIR}"/${P}-shared-GKlib.patch
42 - "${FILESDIR}"/${P}-multilib.patch
43 - "${FILESDIR}"/${P}-remove-GKlib-O3.patch
44 -)
45 -
46 -src_configure() {
47 - local mycmakeargs=(
48 - -DGKLIB_PATH="${S}"/GKlib
49 - -DSHARED=yes
50 - -DOPENMP=$(usex openmp)
51 - )
52 - cmake_src_configure
53 -}
54 -
55 -src_test() {
56 - cd graphs || die
57 - local PATH="${BUILD_DIR}"/programs/:${PATH}
58 -
59 - ndmetis mdual.graph || die
60 - mpmetis metis.mesh 2 || die
61 - gpmetis test.mgraph 4 || die
62 - gpmetis copter2.graph 4 || die
63 - graphchk 4elt.graph || die
64 -}
65 -
66 -src_install() {
67 - cmake_src_install
68 - dodoc manual/manual.pdf
69 -
70 - cat >> "${T}"/metis.pc <<- EOF || die
71 - prefix=${EPREFIX}/usr
72 - exec_prefix=\${prefix}
73 - libdir=\${exec_prefix}/$(get_libdir)
74 - includedir=\${prefix}/include
75 -
76 - Name: METIS
77 - Description: Software for partioning unstructured graphes and meshes
78 - Version: ${PV}
79 - Cflags: -I\${includedir}/metis
80 - Libs: -L\${libdir} -lmetis
81 - EOF
82 - insinto /usr/$(get_libdir)/pkgconfig
83 - doins "${T}"/metis.pc
84 -}