From af8488e8d727c6c54063ea88be14c5e103bbd539 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Thu, 2 Dec 2021 09:31:20 +0100 Subject: sci-libs/lapack: Drop 3.8.0 and 3.9.0-r1 Closes: https://bugs.gentoo.org/733580 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner --- sci-libs/lapack/Manifest | 2 - sci-libs/lapack/lapack-3.8.0.ebuild | 87 ---------------------------- sci-libs/lapack/lapack-3.9.0-r1.ebuild | 103 --------------------------------- 3 files changed, 192 deletions(-) delete mode 100644 sci-libs/lapack/lapack-3.8.0.ebuild delete mode 100644 sci-libs/lapack/lapack-3.9.0-r1.ebuild (limited to 'sci-libs') diff --git a/sci-libs/lapack/Manifest b/sci-libs/lapack/Manifest index 1d88a37baad9..8893992e088c 100644 --- a/sci-libs/lapack/Manifest +++ b/sci-libs/lapack/Manifest @@ -1,3 +1 @@ DIST lapack-3.10.0.tar.gz 7630775 BLAKE2B fd2f920dd3f69eab471aa8c20d1b8178fb5c6e80337a2ed6948aba3ec639a816f8d368bb59ff6fb513b2f5cda9e61c2a547182f22fbc84a8c34191acefc3406a SHA512 56055000c241bab8f318ebd79249ea012c33be0c4c3eca6a78e247f35ad9e8088f46605a0ba52fd5ad3e7898be3b7bc6c50ceb3af327c4986a266b06fe768cbf -DIST lapack-3.8.0.tar.gz 7426094 BLAKE2B 27cd75eea498250382b2df6f5d7dc95fdee8d37b1a0faba5296ca0145ec40a1165a4ecc727aa1647086be6783b50cf475f79cea0f30f541da789051db99b2f37 SHA512 17786cb7306fccdc9b4a242de7f64fc261ebe6a10b6ec55f519deb4cb673cb137e8742aa5698fd2dc52f1cd56d3bd116af3f593a01dcf6770c4dcc86c50b2a7f -DIST lapack-3.9.0.tar.gz 7534567 BLAKE2B 408013a11a72e0262d144adfdf6db28a6efa3bb5446f9ff959bb88fe10459dfa621149ed0144630a55e73e3b5be3c704269a716eb195f6db7b39d345b4db8270 SHA512 424956ad941a60a4b71e0d451ad48db12a692f8a71a90f3ca7f71d6ecc1922f392746ea84df1c47a46577ed2db32e9e47ec44ad248207c5ac7da179becb712ef diff --git a/sci-libs/lapack/lapack-3.8.0.ebuild b/sci-libs/lapack/lapack-3.8.0.ebuild deleted file mode 100644 index 72b89dba3ea2..000000000000 --- a/sci-libs/lapack/lapack-3.8.0.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -CMAKE_MAKEFILE_GENERATOR=emake -inherit cmake-utils - -DESCRIPTION="BLAS,CBLAS,LAPACK,LAPACKE reference implementations" -HOMEPAGE="https://www.netlib.org/lapack/" -SRC_URI="https://www.netlib.org/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -IUSE="lapacke doc eselect-ldso" -# TODO: static-libs 64bit-index - -RDEPEND=" - eselect-ldso? ( >=app-eselect/eselect-blas-0.2 - >=app-eselect/eselect-lapack-0.2 ) - !app-eselect/eselect-cblas - virtual/fortran - doc? ( app-doc/blas-docs )" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -src_configure() { - local mycmakeargs=( - -DCBLAS=ON - -DLAPACKE=$(usex lapacke) - -DBUILD_SHARED_LIBS=ON - ) - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - - use eselect-ldso || return - # Create private lib directory for eselect::blas (ld.so.conf) - dodir /usr/$(get_libdir)/blas/reference - dosym ../../libblas.so usr/$(get_libdir)/blas/reference/libblas.so - dosym ../../libblas.so.3 usr/$(get_libdir)/blas/reference/libblas.so.3 - dosym ../../libcblas.so usr/$(get_libdir)/blas/reference/libcblas.so - dosym ../../libcblas.so.3 usr/$(get_libdir)/blas/reference/libcblas.so.3 - - # Create private lib directory for eselect::lapack (ld.so.conf) - dodir /usr/$(get_libdir)/lapack/reference - dosym ../../liblapack.so usr/$(get_libdir)/lapack/reference/liblapack.so - dosym ../../liblapack.so.3 usr/$(get_libdir)/lapack/reference/liblapack.so.3 -} - -pkg_postinst() { - use eselect-ldso || return - - local me=reference libdir=$(get_libdir) - # check eselect-blas - eselect blas add ${libdir} "${EROOT}"/usr/${libdir}/blas/${me} ${me} - local current_blas=$(eselect blas show ${libdir} | cut -d' ' -f2) - if [[ ${current_blas} == ${me} || -z ${current_blas} ]]; then - eselect blas set ${libdir} ${me} - elog "Current eselect: BLAS ($libdir) -> [${current_blas}]." - else - elog "Current eselect: BLAS ($libdir) -> [${current_blas}]." - elog "To use blas [${me}] implementation, you have to issue (as root):" - elog "\t eselect blas set ${libdir} ${me}" - fi - - # check eselect-lapack - eselect lapack add ${libdir} "${EROOT}"/usr/${libdir}/lapack/${me} ${me} - local current_lapack=$(eselect lapack show ${libdir} | cut -d' ' -f2) - if [[ ${current_lapack} == ${me} || -z ${current_lapack} ]]; then - eselect lapack set ${libdir} ${me} - elog "Current eselect: LAPACK ($libdir) -> [${current_lapack}]." - else - elog "Current eselect: LAPACK ($libdir) -> [${current_lapack}]." - elog "To use lapack [${me}] implementation, you have to issue (as root):" - elog "\t eselect lapack set ${libdir} ${me}" - fi -} - -pkg_postrm() { - use eselect-ldso || return - - eselect blas validate - eselect lapack validate -} diff --git a/sci-libs/lapack/lapack-3.9.0-r1.ebuild b/sci-libs/lapack/lapack-3.9.0-r1.ebuild deleted file mode 100644 index 06888886084a..000000000000 --- a/sci-libs/lapack/lapack-3.9.0-r1.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake - -DESCRIPTION="BLAS,CBLAS,LAPACK,LAPACKE reference implementations" -HOMEPAGE="https://www.netlib.org/lapack/" -SRC_URI="https://github.com/Reference-LAPACK/lapack/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" -# TODO: static-libs 64bit-index -IUSE="lapacke deprecated doc eselect-ldso test" -RESTRICT="!test? ( test )" - -BDEPEND="virtual/pkgconfig" -RDEPEND=" - !app-eselect/eselect-cblas - virtual/fortran - eselect-ldso? ( - >=app-eselect/eselect-blas-0.2 - >=app-eselect/eselect-lapack-0.2 - ) - doc? ( app-doc/blas-docs )" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}/${P}-build-tests.patch" -) - -src_prepare() { - use deprecated && eapply "${FILESDIR}/${P}-deprecated-headers.patch" - - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DCBLAS=ON - -DLAPACKE=$(usex lapacke) - -DBUILD_DEPRECATED=$(usex deprecated) - -DBUILD_SHARED_LIBS=ON - -DBUILD_TESTING=$(usex test) - ) - - cmake_src_configure -} - -src_install() { - cmake_src_install - - use eselect-ldso || return - # Create private lib directory for eselect::blas (ld.so.conf) - dodir /usr/$(get_libdir)/blas/reference - dosym ../../libblas.so usr/$(get_libdir)/blas/reference/libblas.so - dosym ../../libblas.so.3 usr/$(get_libdir)/blas/reference/libblas.so.3 - dosym ../../libcblas.so usr/$(get_libdir)/blas/reference/libcblas.so - dosym ../../libcblas.so.3 usr/$(get_libdir)/blas/reference/libcblas.so.3 - - # Create private lib directory for eselect::lapack (ld.so.conf) - dodir /usr/$(get_libdir)/lapack/reference - dosym ../../liblapack.so usr/$(get_libdir)/lapack/reference/liblapack.so - dosym ../../liblapack.so.3 usr/$(get_libdir)/lapack/reference/liblapack.so.3 -} - -pkg_postinst() { - use eselect-ldso || return - - local me=reference libdir=$(get_libdir) - # check eselect-blas - eselect blas add ${libdir} "${EROOT}"/usr/${libdir}/blas/${me} ${me} - local current_blas=$(eselect blas show ${libdir} | cut -d' ' -f2) - if [[ ${current_blas} == ${me} || -z ${current_blas} ]]; then - eselect blas set ${libdir} ${me} - elog "Current eselect: BLAS ($libdir) -> [${current_blas}]." - else - elog "Current eselect: BLAS ($libdir) -> [${current_blas}]." - elog "To use blas [${me}] implementation, you have to issue (as root):" - elog "\t eselect blas set ${libdir} ${me}" - fi - - # check eselect-lapack - eselect lapack add ${libdir} "${EROOT}"/usr/${libdir}/lapack/${me} ${me} - local current_lapack=$(eselect lapack show ${libdir} | cut -d' ' -f2) - if [[ ${current_lapack} == ${me} || -z ${current_lapack} ]]; then - eselect lapack set ${libdir} ${me} - elog "Current eselect: LAPACK ($libdir) -> [${current_lapack}]." - else - elog "Current eselect: LAPACK ($libdir) -> [${current_lapack}]." - elog "To use lapack [${me}] implementation, you have to issue (as root):" - elog "\t eselect lapack set ${libdir} ${me}" - fi -} - -pkg_postrm() { - use eselect-ldso || return - - eselect blas validate - eselect lapack validate -} -- cgit v1.2.3-65-gdbad