From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 54E07158086 for ; Tue, 30 Nov 2021 13:30:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6FB17E091B; Tue, 30 Nov 2021 13:30:09 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0BB87E0916 for ; Tue, 30 Nov 2021 13:30:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F2732342EC5 for ; Tue, 30 Nov 2021 13:30:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6A3511FE for ; Tue, 30 Nov 2021 13:30:06 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1638278994.f5c48ef2abab143c6076c05404464cfac9f0f813.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/lapack/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/lapack/lapack-3.8.0-r1.ebuild X-VCS-Directories: sci-libs/lapack/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: f5c48ef2abab143c6076c05404464cfac9f0f813 X-VCS-Branch: master Date: Tue, 30 Nov 2021 13:30:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3f0f1571-1ed0-43e9-ae6e-ce45ee08b7cb X-Archives-Hash: 7978711ff391cf248d4463421c8d6399 commit: f5c48ef2abab143c6076c05404464cfac9f0f813 Author: Andreas Sturmlechner gentoo org> AuthorDate: Mon Nov 29 15:22:27 2021 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue Nov 30 13:29:54 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5c48ef2 sci-libs/lapack: Drop 3.8.0-r1 Bug: https://bugs.gentoo.org/733580 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner gentoo.org> sci-libs/lapack/lapack-3.8.0-r1.ebuild | 88 ---------------------------------- 1 file changed, 88 deletions(-) diff --git a/sci-libs/lapack/lapack-3.8.0-r1.ebuild b/sci-libs/lapack/lapack-3.8.0-r1.ebuild deleted file mode 100644 index d97667a141d8..000000000000 --- a/sci-libs/lapack/lapack-3.8.0-r1.ebuild +++ /dev/null @@ -1,88 +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 deprecated 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_DEPRECATED=$(usex deprecated) - -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 -}