From 21435953e16cda318a82334ddbadb3b5c36d9ea7 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 15 Jan 2020 15:51:32 +0000 Subject: gentoo resync : 15.01.2020 --- sci-libs/parmetis/Manifest | 2 +- sci-libs/parmetis/parmetis-4.0.3-r1.ebuild | 157 +++++++++++++++++++++++++++++ sci-libs/parmetis/parmetis-4.0.3.ebuild | 156 ---------------------------- 3 files changed, 158 insertions(+), 157 deletions(-) create mode 100644 sci-libs/parmetis/parmetis-4.0.3-r1.ebuild delete mode 100644 sci-libs/parmetis/parmetis-4.0.3.ebuild (limited to 'sci-libs/parmetis') diff --git a/sci-libs/parmetis/Manifest b/sci-libs/parmetis/Manifest index c1fd4b39faf4..75931431889e 100644 --- a/sci-libs/parmetis/Manifest +++ b/sci-libs/parmetis/Manifest @@ -1,4 +1,4 @@ DIST metis-5.1.0.tar.gz 4984968 BLAKE2B c5f8ff552fce7e7cc02740e6197c9deb5e05e8bc2e2e56cad0cba85705eec6990b511182930c8758fd16a18015f54c8a4827038039bc3c58ee41df468ea175bc SHA512 deea47749d13bd06fbeaf98a53c6c0b61603ddc17a43dae81d72c8015576f6495fd83c11b0ef68d024879ed5415c14ebdbd87ce49c181bdac680573bea8bdb25 DIST parmetis-4.0.3.tar.gz 5567670 BLAKE2B 69a44ea8e50d8fd78046a342807b994220d03da3ab1695533d92772b1840302917a7d5d6f9eb020d9ff8ab7e5372bff0386d6354b662f58495b74f8f596c45f9 SHA512 454a91921ca35c981df11c9846a11963ff8fd8407a25179453af33f8fe69493f6dd7f2a0b8feed9a7d3f121e45b715749dd7a94873eaac2bae4cad1e535ca132 -EBUILD parmetis-4.0.3.ebuild 4087 BLAKE2B 57e125520954c312e093056d7aaeb1950af75df76203ca6eee29d0daf4dadabb9c9ffa2780a06547d2145c8db49af1a82b76209b25c2c3f99073d6ce9b60d474 SHA512 2e6a24226ba8e4b6c5b8839175eeb7e18e738497d53c6ad2d8bac9653dae774f2750f4a81e0858cc9fffab6fe6bcd533c83c3233a4e2609ac174a521eb5ddd27 +EBUILD parmetis-4.0.3-r1.ebuild 4120 BLAKE2B f3c5293939e260fbdec5268c854bee3831e5581aa746d70c12794ec3138d969dfeea7ac2fc3c9b651454b615c86ca4cf28a2a60238f0f8925a0e8a903e26b76d SHA512 5ab948e1c62267f7512e12eeb0f21348a78950b8fdd4fd917804cb7042b9e5457e88d8499d0e66a8d2832d36eba63b311c3d51a25fff4ee5f46e79db8ad2a864 MISC metadata.xml 851 BLAKE2B 8c8fc30f50378b05ae59ca1f829da71f2a5cf66dfab03f645ceed4379bc8edc176fb9e5d1f1f83bbb695519a9e14bfd7855e040f56070a344791eb70eed12721 SHA512 6309c02babe871cd0bdaf509caab79dd8b81face5f6f5a39a1473284dbae6859223ae4f65d61fcf08370bac29dfd0e174cb722fbeeaeb5c80d53b749c265c73a diff --git a/sci-libs/parmetis/parmetis-4.0.3-r1.ebuild b/sci-libs/parmetis/parmetis-4.0.3-r1.ebuild new file mode 100644 index 000000000000..4bcc0ab1385f --- /dev/null +++ b/sci-libs/parmetis/parmetis-4.0.3-r1.ebuild @@ -0,0 +1,157 @@ +# Copyright 1999-2020 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://www-users.cs.umn.edu/~karypis/metis/parmetis/" +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 )" +RDEPEND="${DEPEND} + ! 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 + insinto /usr/share/doc/${PF}/examples/${PN} + doins {programs,Graphs}/* + 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 +} diff --git a/sci-libs/parmetis/parmetis-4.0.3.ebuild b/sci-libs/parmetis/parmetis-4.0.3.ebuild deleted file mode 100644 index 0351c921efe4..000000000000 --- a/sci-libs/parmetis/parmetis-4.0.3.ebuild +++ /dev/null @@ -1,156 +0,0 @@ -# Copyright 1999-2019 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://www-users.cs.umn.edu/~karypis/metis/parmetis/" -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 )" - -SLOT="0" -KEYWORDS="amd64 arm64 x86 ~amd64-linux ~x86-linux" -LICENSE="free-noncomm" -IUSE="doc double-precision examples int64 mpi openmp pcre static-libs" - -DEPEND="mpi? ( virtual/mpi )" -RDEPEND="${DEPEND} - ! 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 - insinto /usr/share/doc/${PF}/examples/${PN} - doins {programs,Graphs}/* - 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 -} -- cgit v1.2.3