diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-03-10 20:45:45 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-03-24 22:02:43 +0100 |
commit | 512e52d7f6e11882215f4665eaa0b45ee690aa27 (patch) | |
tree | 2dce9731b5ac30c4fe91b291a7d063fad45fceb4 /sci-libs | |
parent | media-gfx/hugin: drop 2022.0.0, 2022.0.0-r2 (diff) | |
download | gentoo-512e52d7f6e11882215f4665eaa0b45ee690aa27.tar.gz gentoo-512e52d7f6e11882215f4665eaa0b45ee690aa27.tar.bz2 gentoo-512e52d7f6e11882215f4665eaa0b45ee690aa27.zip |
sci-libs/metis: drop 5.1.0-r5
Closes: https://bugs.gentoo.org/906314
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/metis/Manifest | 1 | ||||
-rw-r--r-- | sci-libs/metis/files/metis-5.1.0-multilib.patch | 20 | ||||
-rw-r--r-- | sci-libs/metis/files/metis-5.1.0-remove-GKlib-O3.patch | 11 | ||||
-rw-r--r-- | sci-libs/metis/files/metis-5.1.0-shared-GKlib.patch | 21 | ||||
-rw-r--r-- | sci-libs/metis/metis-5.1.0-r5.ebuild | 79 |
5 files changed, 0 insertions, 132 deletions
diff --git a/sci-libs/metis/Manifest b/sci-libs/metis/Manifest index 39754651ea8d..c9a17a772929 100644 --- a/sci-libs/metis/Manifest +++ b/sci-libs/metis/Manifest @@ -1,2 +1 @@ -DIST metis-5.1.0.tar.gz 4984968 BLAKE2B c5f8ff552fce7e7cc02740e6197c9deb5e05e8bc2e2e56cad0cba85705eec6990b511182930c8758fd16a18015f54c8a4827038039bc3c58ee41df468ea175bc SHA512 deea47749d13bd06fbeaf98a53c6c0b61603ddc17a43dae81d72c8015576f6495fd83c11b0ef68d024879ed5415c14ebdbd87ce49c181bdac680573bea8bdb25 DIST metis-5.2.1.tar.gz 4838377 BLAKE2B 7f2bb3b4dce71cd05e25d042095c311f814d5d197b1a6ae19994b6bcbb7d948d3a96210cbce5633f39d7bb8ad7cc3f8f4977c6465ec8591934aac00ea9637c94 SHA512 69127b7a777f9ba14cf399a7122000af9d6094a5f44be600a28384cfc0495c024fb0c6eab37c4473a5763ec1077cd9f30d9bcbb3c952462f6c9ead31c6b9e790 diff --git a/sci-libs/metis/files/metis-5.1.0-multilib.patch b/sci-libs/metis/files/metis-5.1.0-multilib.patch deleted file mode 100644 index 9e72c5b1b2d3..000000000000 --- a/sci-libs/metis/files/metis-5.1.0-multilib.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- a/libmetis/CMakeLists.txt -+++ b/libmetis/CMakeLists.txt -@@ -4,13 +4,14 @@ - file(GLOB metis_sources *.c) - # Build libmetis. - add_library(metis ${METIS_LIBRARY_TYPE} ${GKlib_sources} ${metis_sources}) -+set_target_properties(metis PROPERTIES SOVERSION 0) - if(UNIX) - target_link_libraries(metis m) - endif() - - if(METIS_INSTALL) - install(TARGETS metis -- LIBRARY DESTINATION lib -- RUNTIME DESTINATION lib -- ARCHIVE DESTINATION lib) -+ LIBRARY DESTINATION lib${LIB_SUFFIX} -+ RUNTIME DESTINATION lib${LIB_SUFFIX} -+ ARCHIVE DESTINATION lib${LIB_SUFFIX}) - endif() diff --git a/sci-libs/metis/files/metis-5.1.0-remove-GKlib-O3.patch b/sci-libs/metis/files/metis-5.1.0-remove-GKlib-O3.patch deleted file mode 100644 index 507395867fcc..000000000000 --- a/sci-libs/metis/files/metis-5.1.0-remove-GKlib-O3.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/GKlib/GKlibSystem.cmake -+++ b/GKlib/GKlibSystem.cmake -@@ -20,7 +20,7 @@ - elseif(MINGW) - set(GKlib_COPTS "-DUSE_GKREGEX") - else() -- set(GKlib_COPTS "-O3") -+ set(GKlib_COPTS "") - set(GKlib_COPTIONS "-DLINUX -D_FILE_OFFSET_BITS=64") - endif(MSVC) - if(CYGWIN) diff --git a/sci-libs/metis/files/metis-5.1.0-shared-GKlib.patch b/sci-libs/metis/files/metis-5.1.0-shared-GKlib.patch deleted file mode 100644 index 483820164638..000000000000 --- a/sci-libs/metis/files/metis-5.1.0-shared-GKlib.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- a/GKlib/CMakeLists.txt -+++ b/GKlib/CMakeLists.txt -@@ -7,7 +7,7 @@ - include(GKlibSystem.cmake) - - include_directories(".") --add_library(GKlib STATIC ${GKlib_sources}) -+add_library(GKlib SHARED ${GKlib_sources}) - if(UNIX) - target_link_libraries(GKlib m) - endif(UNIX) -@@ -16,6 +16,6 @@ - add_subdirectory("test") - - install(TARGETS GKlib -- ARCHIVE DESTINATION lib -- LIBRARY DESTINATION lib) --install(FILES ${GKlib_includes} DESTINATION include) -+ ARCHIVE DESTINATION lib${LIB_SUFFIX} -+ LIBRARY DESTINATION lib${LIB_SUFFIX}) -+install(FILES ${GKlib_includes} DESTINATION include/metis) diff --git a/sci-libs/metis/metis-5.1.0-r5.ebuild b/sci-libs/metis/metis-5.1.0-r5.ebuild deleted file mode 100644 index 71b30fa92596..000000000000 --- a/sci-libs/metis/metis-5.1.0-r5.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake - -DESCRIPTION="A package for unstructured serial graph partitioning" -HOMEPAGE="http://glaros.dtc.umn.edu/gkhome/metis/metis/overview" -SRC_URI="http://glaros.dtc.umn.edu/gkhome/fetch/sw/${PN}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ~ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux" -IUSE="doc double-precision examples int64 openmp" - -RDEPEND="!<sci-libs/parmetis-4.0.3-r2" - -PATCHES=( - "${FILESDIR}"/${P}-shared-GKlib.patch - "${FILESDIR}"/${P}-multilib.patch - "${FILESDIR}"/${P}-remove-GKlib-O3.patch -) - -src_prepare() { - if use int64; then - sed -i -e '/^#define IDXTYPEWIDTH/s/32/64/' include/metis.h || die - fi - - if use double-precision; then - sed -i -e '/^#define REALTYPEWIDTH/s/32/64/' include/metis.h || die - fi - - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DGKLIB_PATH="${S}"/GKlib - -DSHARED=yes - -DOPENMP=$(usex openmp) - ) - cmake_src_configure -} - -src_test() { - cd graphs || die - local PATH="${BUILD_DIR}"/programs/:${PATH} - - ndmetis mdual.graph || die - mpmetis metis.mesh 2 || die - gpmetis test.mgraph 4 || die - gpmetis copter2.graph 4 || die - graphchk 4elt.graph || die -} - -src_install() { - cmake_src_install - use doc && dodoc manual/manual.pdf - if use examples; then - docinto examples - dodoc -r programs graphs - fi - - cat >> "${T}"/metis.pc <<- EOF || die - 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 -} |