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 967DC158064 for ; Tue, 30 Apr 2024 23:08:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BE827E29C3; Tue, 30 Apr 2024 23:08:03 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 9D3AEE29C3 for ; Tue, 30 Apr 2024 23:08:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 8E97A343080 for ; Tue, 30 Apr 2024 23:08:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EBEE693E for ; Tue, 30 Apr 2024 23:08:00 +0000 (UTC) From: "Andreas K. Hüttel" 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 K. Hüttel" Message-ID: <1714518464.d6842bf01b36f064f0cf7e3f90e65110bc2dc4c7.dilfridge@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/PDL/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-perl/PDL/PDL-2.87.0.ebuild X-VCS-Directories: dev-perl/PDL/ X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas K. Hüttel X-VCS-Revision: d6842bf01b36f064f0cf7e3f90e65110bc2dc4c7 X-VCS-Branch: master Date: Tue, 30 Apr 2024 23:08:00 +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: c05a7b9f-08b2-4c8f-91b9-6590febc1b51 X-Archives-Hash: 2548ac240a751752d619d67263466988 commit: d6842bf01b36f064f0cf7e3f90e65110bc2dc4c7 Author: Andreas K. Hüttel gentoo org> AuthorDate: Tue Apr 30 23:06:13 2024 +0000 Commit: Andreas K. Hüttel gentoo org> CommitDate: Tue Apr 30 23:07:44 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6842bf0 dev-perl/PDL: Upstream does not support building without fortran anymore. (Makes also no sense, really.) Signed-off-by: Andreas K. Hüttel gentoo.org> dev-perl/PDL/PDL-2.87.0.ebuild | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/dev-perl/PDL/PDL-2.87.0.ebuild b/dev-perl/PDL/PDL-2.87.0.ebuild index 879802e954cd..498101d8156e 100644 --- a/dev-perl/PDL/PDL-2.87.0.ebuild +++ b/dev-perl/PDL/PDL-2.87.0.ebuild @@ -7,16 +7,14 @@ DIST_AUTHOR=ETJ DIST_VERSION=2.087 DIST_EXAMPLES=( "Example/*" ) -FORTRAN_NEEDED=fortran - -inherit perl-module fortran-2 +inherit perl-module toolchain-funcs fortran-2 DESCRIPTION="Perl Data Language for scientific computing" LICENSE="|| ( Artistic GPL-1+ ) public-domain PerlDL" SLOT="0" KEYWORDS="~amd64" -IUSE="+badval doc fortran gd gsl hdf netpbm pdl2 pgplot test" +IUSE="+badval doc gd gsl hdf netpbm pdl2 pgplot test" RDEPEND=" sys-libs/ncurses:= @@ -44,7 +42,7 @@ RDEPEND=" virtual/perl-Filter-Simple virtual/perl-Storable >=virtual/perl-Text-Balanced-2.50.0 - fortran? ( >=dev-perl/ExtUtils-F77-1.260.0 ) + >=dev-perl/ExtUtils-F77-1.260.0 gd? ( media-libs/gd ) gsl? ( sci-libs/gsl ) hdf? ( @@ -73,7 +71,7 @@ BDEPEND=" >=virtual/perl-ExtUtils-MakeMaker-7.120.0 >=virtual/perl-ExtUtils-ParseXS-3.10.0 virtual/perl-File-Path - fortran? ( >=dev-perl/ExtUtils-F77-1.130.0 ) + >=dev-perl/ExtUtils-F77-1.130.0 test? ( dev-perl/Test-Exception dev-perl/Test-Warn @@ -90,7 +88,7 @@ PATCHES=( pkg_setup() { perl_set_version - use fortran && fortran-2_pkg_setup + fortran-2_pkg_setup } src_prepare() { @@ -109,12 +107,13 @@ src_configure() { -e "/WITH_GSL/s/=>.*/=> $(use gsl && echo 1 || echo 0),/" \ -e "/WITH_GD/s/=>.*/=> $(use gd && echo 1 || echo 0),/" \ -e "/WITH_HDF/s/=>.*/=> $(use hdf && echo 1 || echo 0),/" \ - -e "/WITH_MINUIT/s/=>.*/=> $(use fortran && echo 1|| echo 0),/" \ -e "/WITH_PGPLOT/s/=>.*/=> $(use pgplot && echo 1 || echo 0),/" \ -e "/WITH_POSIX_THREADS/s/=>.*/=> 1,/" \ -e "/WITH_PROJ/s/=>.*/=> $(echo 0),/" \ - -e "/WITH_SLATEC/s/=>.*/=> $(use fortran && echo 1|| echo 0),/" \ perldl.conf || die + + export FC=$(tc-getF77) + perl-module_src_configure }