From 35d4e80ab08982deb97a95d1b47156c67b268492 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 15 Jul 2023 16:40:41 +0100 Subject: gentoo auto-resync : 15:07:2023 - 16:40:40 --- sci-libs/libsc/Manifest | 2 +- sci-libs/libsc/libsc-2.8.5-r2.ebuild | 68 ---------------------------------- sci-libs/libsc/libsc-2.8.5-r3.ebuild | 72 ++++++++++++++++++++++++++++++++++++ 3 files changed, 73 insertions(+), 69 deletions(-) delete mode 100644 sci-libs/libsc/libsc-2.8.5-r2.ebuild create mode 100644 sci-libs/libsc/libsc-2.8.5-r3.ebuild (limited to 'sci-libs/libsc') diff --git a/sci-libs/libsc/Manifest b/sci-libs/libsc/Manifest index 413189ff0bb4..8aa5cbeb31cd 100644 --- a/sci-libs/libsc/Manifest +++ b/sci-libs/libsc/Manifest @@ -10,5 +10,5 @@ AUX libsc-2.8.5-use_zlib-ng_symbols.patch 5332 BLAKE2B 6fdd57182822985c23ac3d45a DIST libsc-2.3.6.tar.gz 346618 BLAKE2B 6da88f1eec572a5d30ebef5e17554874e3d88d124fbbb7582092bd43a85a547f130a5406ffd40f86d564c95a3e600b2eb854ee0378b8e0c2d755a7d45d55ff1e SHA512 9037ebeebcf84d1dc3026172ee3fd3182729fbdbdadb478e8c05670b17bd3e2f3b192bac9a509bd99312c5f944a10fb7eb0636e8c7bd133b30677eb5ead6d117 DIST libsc-2.8.5.tar.gz 401520 BLAKE2B 28f74c03dc9a6238c254683585e3a6e372718bbf147f1a1bfe051d9a9079491650eca645bb695ce4c36920dda459904be6f9d41fb53163952d9076302072e181 SHA512 d7854a77cb574531d410c978af5768782d6201c730a3248371a822172cb99fe0b2efc8c2e4f495160924fb867ed77ab1b9ac17a1db349d8a6495228698cf970b EBUILD libsc-2.3.6.ebuild 2338 BLAKE2B 2ce1905accf17c14090a169e843a75ae9faf8795959faebbf87c0d2e71e3b2a0276f81db52174ebc8cd44f711433262a5c7f08ed2c1365ed6a434666a2d7d99a SHA512 ebb0e95d78f14b63e45c863ad14e467f3a1e240e1aaf614d6cac5b872344cdd8cc8bd91d4d85033f190d84f45b790b9b57c215af20263016ed2caadb829aeffa -EBUILD libsc-2.8.5-r2.ebuild 1550 BLAKE2B 7fcc6491e9aae212d23a21b80df180f8db97fe67cc91837eb609e68d5a1f2c13acbbe279aca0cbaa45082692b53882164821563beecd2c478e2d926c6bb8bed9 SHA512 518ced91237581c049edac4eaffecc5aa128126f76915a4c6ce0801fbed3468671e6fa93fca6c7912e6af40fad5efebbc3b8f02bbe44c6f8fb46436ca99d13f6 +EBUILD libsc-2.8.5-r3.ebuild 1680 BLAKE2B e820d8b2b50f851f3b91324be70ced3ce209e4bdb67c8f6d8e72fd2623dee38cd1c6b04f4f6eb65ae06889ace55ebff935d5227e305283a06af17cd13c7afa40 SHA512 6e01972efa8b64e63f33c557c802a6a464a2a55285eed17428b9bdbde991b0e800896ecf842ff097572176e889bf3ff2d491affe8e7070468ea59acf601b5c0b MISC metadata.xml 724 BLAKE2B 3a2a0065f7448d2348083615f24eb0ef7acb6e421b3a901269a746f6a846d959b56643f7bbd5e51de75c7712aa23253a49e9c8157368c070c79bc191c9c33161 SHA512 a9c39d5eb67ff8e83f3019f752b808797c70c7ce4267aad25514e17a151cbd73c368da9e5e3bd16a163724762e3315f250fb145609294c68422de9b80e7adec0 diff --git a/sci-libs/libsc/libsc-2.8.5-r2.ebuild b/sci-libs/libsc/libsc-2.8.5-r2.ebuild deleted file mode 100644 index 786ecf6012b8..000000000000 --- a/sci-libs/libsc/libsc-2.8.5-r2.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake toolchain-funcs - -DESCRIPTION="Support for parallel scientific applications" -HOMEPAGE="http://www.p4est.org/" - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/cburstedde/${PN}.git" - EGIT_BRANCH="develop" -else - SRC_URI="https://github.com/cburstedde/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -LICENSE="LGPL-2.1+" -SLOT="0" -IUSE="debug examples mpi openmp threads" - -RDEPEND=" - sys-apps/util-linux - sys-libs/zlib-ng - virtual/blas - virtual/lapack - mpi? ( virtual/mpi[romio] )" -DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}"/${P}-set_version.patch - "${FILESDIR}"/${P}-fix_build_system.patch - "${FILESDIR}"/${P}-do_not_compile_zlib-ng.patch - "${FILESDIR}"/${P}-use_zlib-ng_symbols.patch - "${FILESDIR}"/${P}-fix_cmake_path.patch -) - -pkg_pretend() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -pkg_setup() { - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp -} - -src_configure() { - local mycmakeargs=( - -Dmpi="$(usex mpi)" - -Dopenmp="$(usex openmp)" - -Dlibrary_reldir="$(get_libdir)" - ) - - cmake_src_configure -} - -src_install() { - cmake_src_install - - rm -r "${ED}"/usr/include/getopt.h \ - "${ED}"/usr/include/getopt_int.h \ - "${ED}"/usr/include/sc_builtin || die "rm failed" - - mv "${ED}"/usr/share/docs/SC/* "${ED}"/usr/share/doc/${PF}/ || die "mv failed" - rm -r "${ED}"/usr/share/docs || die "rm failed" -} diff --git a/sci-libs/libsc/libsc-2.8.5-r3.ebuild b/sci-libs/libsc/libsc-2.8.5-r3.ebuild new file mode 100644 index 000000000000..037755f94524 --- /dev/null +++ b/sci-libs/libsc/libsc-2.8.5-r3.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake toolchain-funcs + +DESCRIPTION="Support for parallel scientific applications" +HOMEPAGE="http://www.p4est.org/" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/cburstedde/${PN}.git" + EGIT_BRANCH="develop" +else + SRC_URI="https://github.com/cburstedde/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="LGPL-2.1+" +SLOT="0" +IUSE="debug examples mpi openmp threads" + +RDEPEND=" + sys-apps/util-linux + sys-libs/zlib-ng + virtual/blas + virtual/lapack + mpi? ( virtual/mpi[romio] )" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${P}-set_version.patch + "${FILESDIR}"/${P}-fix_build_system.patch + "${FILESDIR}"/${P}-do_not_compile_zlib-ng.patch + "${FILESDIR}"/${P}-use_zlib-ng_symbols.patch + "${FILESDIR}"/${P}-fix_cmake_path.patch +) + +pkg_pretend() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +pkg_setup() { + [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp +} + +src_configure() { + # avoid using debug codepaths that are manually enabled with the + # RelWithDebInfo build type + local CMAKE_BUILD_TYPE="Release" + + local mycmakeargs=( + -Dmpi="$(usex mpi)" + -Dopenmp="$(usex openmp)" + -Dlibrary_reldir="$(get_libdir)" + ) + + cmake_src_configure +} + +src_install() { + cmake_src_install + + rm -r "${ED}"/usr/include/getopt.h \ + "${ED}"/usr/include/getopt_int.h \ + "${ED}"/usr/include/sc_builtin || die "rm failed" + + mv "${ED}"/usr/share/docs/SC/* "${ED}"/usr/share/doc/${PF}/ || die "mv failed" + rm -r "${ED}"/usr/share/docs || die "rm failed" +} -- cgit v1.2.3