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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 97BE0138334 for ; Fri, 12 Jul 2019 11:20:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 165DBE078A; Fri, 12 Jul 2019 11:19:58 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DF49CE078A for ; Fri, 12 Jul 2019 11:19:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5A9CE3477D4 for ; Fri, 12 Jul 2019 11:19:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 93CDE66B for ; Fri, 12 Jul 2019 11:19:53 +0000 (UTC) From: "Matthias Maier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matthias Maier" Message-ID: <1562928921.0b1e1d868ca34c28fcfbcb5e30d2ed0e63c94039.tamiko@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-mathematics/petsc/ X-VCS-Repository: proj/sci X-VCS-Files: sci-mathematics/petsc/petsc-3.10.0.ebuild X-VCS-Directories: sci-mathematics/petsc/ X-VCS-Committer: tamiko X-VCS-Committer-Name: Matthias Maier X-VCS-Revision: 0b1e1d868ca34c28fcfbcb5e30d2ed0e63c94039 X-VCS-Branch: master Date: Fri, 12 Jul 2019 11:19:53 +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: 818327ee-f270-4d95-8a94-e2f79fb0a256 X-Archives-Hash: 3956df42367be8d7e5079e2428f731d0 commit: 0b1e1d868ca34c28fcfbcb5e30d2ed0e63c94039 Author: Bernd Waibel gmail com> AuthorDate: Fri Nov 9 16:36:54 2018 +0000 Commit: Matthias Maier gentoo org> CommitDate: Fri Jul 12 10:55:21 2019 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=0b1e1d86 sci-mathematics/petsc: fix blas configuration error * add blas to call to pkg-config for blas/lapack * make EAPI 7 compatible, remove versionator.eclass * change --with-cmake= variable to avoid warning Thanks to @ycoudier for hint on pkg-config Suggested-by: @ycoudier Closes: https://bugs.gentoo.org/669040 Closes: https://github.com/gentoo/sci/issues/892 Package-Manager: Portage-2.3.51, Repoman-2.3.12 Signed-off-by: Bernd Waibel gmail.com> Signed-off-by: Matthias Maier gentoo.org> sci-mathematics/petsc/petsc-3.10.0.ebuild | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/sci-mathematics/petsc/petsc-3.10.0.ebuild b/sci-mathematics/petsc/petsc-3.10.0.ebuild index b67536ef6..80dfd5255 100644 --- a/sci-mathematics/petsc/petsc-3.10.0.ebuild +++ b/sci-mathematics/petsc/petsc-3.10.0.ebuild @@ -1,17 +1,15 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 PYTHON_COMPAT=( python2_7 ) -inherit eutils flag-o-matic fortran-2 python-any-r1 toolchain-funcs versionator - -MY_P="${PN}-$(replace_version_separator _ -)" +inherit flag-o-matic fortran-2 python-any-r1 toolchain-funcs DESCRIPTION="Portable, Extensible Toolkit for Scientific Computation" HOMEPAGE="http://www.mcs.anl.gov/petsc/" -SRC_URI="http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/${MY_P}.tar.gz" +SRC_URI="http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/${P}.tar.gz" LICENSE="BSD-2" SLOT="0" @@ -54,8 +52,6 @@ DEPEND="${RDEPEND} dev-util/cmake " -S="${WORKDIR}/${MY_P}" - PATCHES=( "${FILESDIR}"/${PN}-3.7.0-disable-rpath.patch \ "${FILESDIR}"/${PN}-3.9.0-fix_sandbox_violation.patch @@ -143,7 +139,7 @@ src_configure() { --with-petsc-arch=${PETSC_ARCH} \ --with-precision=double \ --with-gnu-compilers \ - --with-blas-lapack-lib="$($(tc-getPKG_CONFIG) --libs lapack)" \ + --with-blas-lapack-lib="$($(tc-getPKG_CONFIG) --libs blas lapack)" \ $(petsc_enable debug debugging) \ $(petsc_enable mpi) \ $(petsc_select mpi cc mpicc $(tc-getCC)) \ @@ -154,7 +150,7 @@ src_configure() { $(petsc_select complex-scalars scalar-type complex real) \ --with-windows-graphics=0 \ --with-matlab=0 \ - --with-cmake=cmake \ + --with-cmake:BOOL=1 \ $(petsc_enable threads pthread) \ $(petsc_with afterimage afterimage \ /usr/include/libAfterImage -lAfterImage) \