public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/parmetis/
Date: Mon,  7 Mar 2022 04:51:34 +0000 (UTC)	[thread overview]
Message-ID: <1646628660.3b245950a6e7a2da26ee2bf6ac321d6ec6ad9c61.sam@gentoo> (raw)

commit:     3b245950a6e7a2da26ee2bf6ac321d6ec6ad9c61
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Mar  7 04:29:29 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar  7 04:51:00 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b245950

sci-libs/parmetis: drop 4.0.3-r1

Closes: https://bugs.gentoo.org/816579
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sci-libs/parmetis/Manifest                 |   1 -
 sci-libs/parmetis/metadata.xml             |   4 -
 sci-libs/parmetis/parmetis-4.0.3-r1.ebuild | 155 -----------------------------
 3 files changed, 160 deletions(-)

diff --git a/sci-libs/parmetis/Manifest b/sci-libs/parmetis/Manifest
index bab1f34b3d8a..f51deaae9a5a 100644
--- a/sci-libs/parmetis/Manifest
+++ b/sci-libs/parmetis/Manifest
@@ -1,2 +1 @@
-DIST metis-5.1.0.tar.gz 4984968 BLAKE2B c5f8ff552fce7e7cc02740e6197c9deb5e05e8bc2e2e56cad0cba85705eec6990b511182930c8758fd16a18015f54c8a4827038039bc3c58ee41df468ea175bc SHA512 deea47749d13bd06fbeaf98a53c6c0b61603ddc17a43dae81d72c8015576f6495fd83c11b0ef68d024879ed5415c14ebdbd87ce49c181bdac680573bea8bdb25
 DIST parmetis-4.0.3.tar.gz 5567670 BLAKE2B 69a44ea8e50d8fd78046a342807b994220d03da3ab1695533d92772b1840302917a7d5d6f9eb020d9ff8ab7e5372bff0386d6354b662f58495b74f8f596c45f9 SHA512 454a91921ca35c981df11c9846a11963ff8fd8407a25179453af33f8fe69493f6dd7f2a0b8feed9a7d3f121e45b715749dd7a94873eaac2bae4cad1e535ca132

diff --git a/sci-libs/parmetis/metadata.xml b/sci-libs/parmetis/metadata.xml
index 62de4c03afb6..67e8ddda1e5f 100644
--- a/sci-libs/parmetis/metadata.xml
+++ b/sci-libs/parmetis/metadata.xml
@@ -13,8 +13,4 @@ functionality provided by METIS and includes routines that are
 especially suited for parallel AMR computations and large scale
 numerical simulations.
 </longdescription>
-	<use>
-		<flag name="int64">Build the 64 bits integer library (needed for &gt; 2^31 vertices)</flag>
-		<flag name="double-precision">Floating-point operation done as double precision</flag>
-	</use>
 </pkgmetadata>

diff --git a/sci-libs/parmetis/parmetis-4.0.3-r1.ebuild b/sci-libs/parmetis/parmetis-4.0.3-r1.ebuild
deleted file mode 100644
index 991ac87315bf..000000000000
--- a/sci-libs/parmetis/parmetis-4.0.3-r1.ebuild
+++ /dev/null
@@ -1,155 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-# Check metis version bundled in parmetis tar ball
-# by diff of metis and parmetis tar ball
-METISPV=5.1.0
-METISP=metis-${METISPV}
-inherit cmake-utils toolchain-funcs
-
-DESCRIPTION="Parallel (MPI) unstructured graph partitioning library"
-HOMEPAGE="http://glaros.dtc.umn.edu/gkhome/metis/parmetis/overview"
-SRC_URI="
-	http://glaros.dtc.umn.edu/gkhome/fetch/sw/${PN}/${P}.tar.gz
-	doc? ( http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/${METISP}.tar.gz )
-	examples? ( http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/${METISP}.tar.gz )"
-
-LICENSE="all-rights-reserved"
-SLOT="0"
-KEYWORDS="amd64 arm64 x86 ~amd64-linux ~x86-linux"
-IUSE="doc double-precision examples int64 mpi openmp pcre static-libs"
-RESTRICT="mirror bindist"
-
-DEPEND="mpi? ( virtual/mpi )
-	pcre? ( dev-libs/libpcre:= )"
-RDEPEND="${DEPEND}
-	!<sci-libs/metis-5"
-
-pkg_setup() {
-	[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
-}
-
-src_prepare() {
-	cmake-utils_src_prepare
-
-	# libdir love
-	sed -i \
-		-e '/DESTINATION/s/lib/lib${LIB_SUFFIX}/g' \
-		libparmetis/CMakeLists.txt metis/libmetis/CMakeLists.txt || die
-	# set metis as separate shared lib
-	sed -i \
-		-e 's/METIS_LIB/ParMETIS_LIB/g' \
-		metis/libmetis/CMakeLists.txt || die
-	sed -i \
-		-e '/programs/d' \
-		CMakeLists.txt metis/CMakeLists.txt || die
-	if use static-libs; then
-		mkdir "${WORKDIR}/${PN}_static" || die
-	fi
-
-	if use mpi; then
-		export CC=mpicc CXX=mpicxx
-	else
-		sed -i \
-			-e '/add_subdirectory(include/d' \
-			-e '/add_subdirectory(libparmetis/d' \
-			CMakeLists.txt || die
-	fi
-
-	if use int64; then
-		sed -i -e '/IDXTYPEWIDTH/s/32/64/' metis/include/metis.h || die
-	fi
-
-	if use double-precision; then
-		sed -i -e '/REALTYPEWIDTH/s/32/64/' metis/include/metis.h || die
-	fi
-}
-
-src_configure() {
-	parmetis_configure() {
-		local mycmakeargs=(
-			-DGKLIB_PATH="${S}/metis/GKlib"
-			-DMETIS_PATH="${S}/metis"
-			-DGKRAND=ON
-			-DMETIS_INSTALL=ON
-			-DOPENMP=$(usex openmp)
-			-DPCRE=$(usex pcre)
-			$@
-		)
-		cmake-utils_src_configure
-	}
-	parmetis_configure -DSHARED=ON
-	if use static-libs; then
-		sed -i -e '/fPIC/d' metis/GKlib/GKlibSystem.cmake || die
-		BUILD_DIR="${WORKDIR}/${PN}_static" parmetis_configure
-	fi
-}
-
-src_compile() {
-	cmake-utils_src_compile
-	use static-libs && \
-		BUILD_DIR="${WORKDIR}/${PN}_static" cmake-utils_src_compile
-}
-
-src_install() {
-	cmake-utils_src_install
-	use static-libs && \
-		BUILD_DIR="${WORKDIR}/${PN}_static" cmake-utils_src_install
-	insinto /usr/include
-	doins metis/include/metis.h
-
-	newdoc metis/Changelog Changelog.metis}
-	use doc && dodoc "${WORKDIR}/${METISP}"/manual/manual.pdf
-	if use examples; then
-		docinto examples/metis
-		dodoc -r "${WORKDIR}/${METISP}"/{programs,graphs}/.
-		docompress -x /usr/share/doc/${PF}/examples/metis
-	fi
-	# alternative stuff
-	cat > metis.pc <<-EOF
-		prefix=${EPREFIX}/usr
-		libdir=\${prefix}/$(get_libdir)
-		includedir=\${prefix}/include
-		Name: metis
-		Description: Unstructured graph partitioning library
-		Version: ${METISPV}
-		URL: ${HOMEPAGE/parmetis/metis}
-		Libs: -L\${libdir} -lmetis
-		Cflags: -I\${includedir}/metis
-	EOF
-	insinto /usr/$(get_libdir)/pkgconfig
-	doins metis.pc
-	# change if scotch is actually an alternative to metis
-	#alternatives_for metis metis 0 \
-	#	/usr/$(get_libdir)/pkgconfig/metis.pc refmetis.pc
-
-	if use mpi; then
-		dodoc Changelog
-		use doc && dodoc manual/manual.pdf
-		if use examples; then
-			docinto examples/${PN}
-			dodoc -r {programs,Graphs}/.
-			docompress -x /usr/share/doc/${PF}/examples/${PN}
-		fi
-		# alternative stuff
-		cat > ${PN}.pc <<-EOF
-			prefix=${EPREFIX}/usr
-			libdir=\${prefix}/$(get_libdir)
-			includedir=\${prefix}/include
-			Name: ${PN}
-			Description: ${DESCRIPTION}
-			Version: ${PV}
-			URL: ${HOMEPAGE}
-			Libs: -L\${libdir} -l${PN}
-			Cflags: -I\${includedir}/${PN}
-			Requires: metis
-		EOF
-		insinto /usr/$(get_libdir)/pkgconfig
-		doins ${PN}.pc
-		# change if scotch is actually an alternative to parmetis
-		#alternatives_for metis-mpi ${PN} 0 \
-		#	/usr/$(get_libdir)/pkgconfig/metis-mpi.pc ${PN}.pc
-	fi
-}


             reply	other threads:[~2022-03-07  4:51 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-07  4:51 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-08 23:17 [gentoo-commits] repo/gentoo:master commit in: sci-libs/parmetis/ Sam James
2025-03-08 21:40 Jakov Smolić
2025-03-08 20:32 Andreas Sturmlechner
2023-06-03  9:50 WANG Xuerui
2023-05-03 10:55 Jakov Smolić
2023-05-03  8:49 Andrew Ammerlaan
2023-05-02 17:36 Arthur Zamarin
2023-03-07  0:18 Yixun Lan
2022-05-16  8:12 David Seifert
2022-03-07  4:29 Sam James
2022-02-13 23:09 Jakov Smolić
2022-02-13 21:08 Conrad Kostecki
2022-02-02  5:30 Sam James
2021-07-20  7:41 Andrew Ammerlaan
2020-01-11 16:33 Ulrich Müller
2019-05-21 20:30 Aaron Bauman
2019-03-09 19:18 Thomas Deutschmann
2018-12-31 21:14 Andreas Sturmlechner
2018-12-31 21:14 Andreas Sturmlechner
2018-11-26  0:31 Matthias Maier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1646628660.3b245950a6e7a2da26ee2bf6ac321d6ec6ad9c61.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox