From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5E4701584AD for ; Fri, 11 Apr 2025 21:18:29 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 45E8B34383F for ; Fri, 11 Apr 2025 21:18:29 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 42F561104B0; Fri, 11 Apr 2025 21:18:28 +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 bobolink.gentoo.org (Postfix) with ESMTPS id 379511104B0 for ; Fri, 11 Apr 2025 21:18:28 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DE453343831 for ; Fri, 11 Apr 2025 21:18:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5815D1BEE for ; Fri, 11 Apr 2025 21:18:26 +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: <1744406285.4de1c1567d8ab2cd6dd0d15bfeb1bcffa34f8304.dilfridge@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/PDL/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-perl/PDL/Manifest dev-perl/PDL/PDL-2.100.0.ebuild X-VCS-Directories: dev-perl/PDL/ X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas K. Hüttel X-VCS-Revision: 4de1c1567d8ab2cd6dd0d15bfeb1bcffa34f8304 X-VCS-Branch: master Date: Fri, 11 Apr 2025 21:18:26 +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: 9674786e-e9b9-49c3-a3e5-778718b3a261 X-Archives-Hash: b70828b1141d4079f7d8300bea358a63 commit: 4de1c1567d8ab2cd6dd0d15bfeb1bcffa34f8304 Author: Andreas K. Hüttel gentoo org> AuthorDate: Fri Apr 11 21:16:10 2025 +0000 Commit: Andreas K. Hüttel gentoo org> CommitDate: Fri Apr 11 21:18:05 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4de1c156 dev-perl/PDL: add 2.100.0 without keywords Should work (passes tests), but some parts were split out into separate Perl distributions and these need to be packaged too... Also, main PDL does not need Fortran anymore. Yay! Signed-off-by: Andreas K. Hüttel gentoo.org> dev-perl/PDL/Manifest | 1 + dev-perl/PDL/PDL-2.100.0.ebuild | 122 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 123 insertions(+) diff --git a/dev-perl/PDL/Manifest b/dev-perl/PDL/Manifest index 27b21db5d639..9c2d4480ed30 100644 --- a/dev-perl/PDL/Manifest +++ b/dev-perl/PDL/Manifest @@ -1,2 +1,3 @@ DIST PDL-2.063.tar.gz 2813482 BLAKE2B eff1737c2d27a51b911f8dd32095bb3016cddf52a93242ddad9fad3e179cd499d84b17ef1fbed4e11bdc759823032636cc32994eea2b8c91c6adda7cb1f15ef9 SHA512 dfb776103fa98da990cc30939e218b392c7c25c8c645230a71c7e881cf5325c97f855fe46e9bc093c7517883f78457f67eee14012fa5b39790b8dfcfa1ec08c9 DIST PDL-2.093.tar.gz 2832383 BLAKE2B d95673b195b8140705926a720bf0fb41bf30e5e2267361ffeaf7952b3e6832e79331e181cc4cd862bbe1d2c07490c57551b1ab0c4d803cb8530e04fb5a5db200 SHA512 2da0b8849d4918c8ff239a9f56dccb30228a54577303c89764de23118d9d9334efecd91f115e2f7ec40d3d4054c184318941cee6653b69f122d33c7aba9d6de5 +DIST PDL-2.100.tar.gz 2219478 BLAKE2B 7d16ba82b8b14d09f58cd0b7482f68d216f5c0e5ecd7ae4a6d9532d37b7a983749e166743372dba5e07d45a140667a4ee2a5f4dcd36afa3e08ca70f9e3b78f65 SHA512 2a266753abb50c4b3ac7976b8f7d19f8b6feab7896ac37fa20756c29847e4abc533c57535556d09e32a5c1ee86afe92e69257937a56a6e121687ec9297d97f62 diff --git a/dev-perl/PDL/PDL-2.100.0.ebuild b/dev-perl/PDL/PDL-2.100.0.ebuild new file mode 100644 index 000000000000..b84156bf7558 --- /dev/null +++ b/dev-perl/PDL/PDL-2.100.0.ebuild @@ -0,0 +1,122 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DIST_AUTHOR=ETJ +DIST_VERSION=2.100 +DIST_EXAMPLES=( "examples/*" ) + +inherit perl-module toolchain-funcs + +DESCRIPTION="Perl Data Language for scientific computing" + +LICENSE="|| ( Artistic GPL-1+ ) public-domain PerlDL" +SLOT="0" +# KEYWORDS="~amd64 ~ppc ~x86" +IUSE="gd gsl hdf netpbm pgplot test" + +# these need another round of review +RDEPEND=" + sys-libs/ncurses:= + app-arch/sharutils + dev-perl/Astro-FITS-Header + dev-perl/Convert-UU + >=virtual/perl-Data-Dumper-2.121.0 + >=dev-perl/File-Map-0.570.0 + dev-perl/Filter + dev-perl/File-Which + >=dev-perl/Inline-0.830.0 + >=dev-perl/Inline-C-0.620.0 + >=virtual/perl-Scalar-List-Utils-1.330.0 + virtual/perl-Math-Complex + dev-perl/Module-Compile + >=dev-perl/OpenGL-0.700.0 + dev-perl/OpenGL-GLUT + >=dev-perl/TermReadKey-2.340.0 + || ( dev-perl/Term-ReadLine-Perl dev-perl/Term-ReadLine-Gnu ) + >=virtual/perl-Data-Dumper-2.121.0 + dev-perl/Pod-Parser + virtual/perl-File-Spec + virtual/perl-File-Temp + virtual/perl-Storable + >=virtual/perl-Text-Balanced-2.50.0 + >=dev-perl/Devel-REPL-1.3.11 + || ( dev-perl/Term-ReadLine-Perl dev-perl/Term-ReadLine-Gnu ) + netpbm? ( + media-libs/netpbm + media-video/ffmpeg + ) + pgplot? ( dev-perl/PGPLOT ) +" + +# OLD: +# # now in separate, new distros: +# gd? ( media-libs/gd ) +# gsl? ( sci-libs/gsl ) +# hdf? ( +# sci-libs/hdf +# dev-perl/Alien-HDF4 +# ) +# # always enabled: +# pdl2? ( +# >=dev-perl/Devel-REPL-1.3.11 +# || ( dev-perl/Term-ReadLine-Perl dev-perl/Term-ReadLine-Gnu ) +# ) +# # always in PGPLOT already +# pgplot? ( dev-perl/PGPLOT ) + +DEPEND=" + ${RDEPEND} +" + +BDEPEND=" + ${RDEPEND} + >=virtual/perl-Carp-1.200.0 + >=dev-perl/Devel-CheckLib-1.10.0 + >=dev-perl/ExtUtils-Depends-0.402.0 + >=virtual/perl-ExtUtils-MakeMaker-7.120.0 + >=virtual/perl-ExtUtils-ParseXS-3.10.0 + virtual/perl-File-Path + test? ( + dev-perl/Test-Exception + dev-perl/Test-Warn + dev-perl/Test-Deep + ) +" + +# this is a temporary workaround +PDEPEND=" + gd? ( dev-perl/PDL-IO-GD ) + gsl? ( dev-perl/PDL-GSL ) + hdf? ( dev-perl/PDL-IO-HDF ) +" + +mydoc="BUGS DEPENDENCIES DEVELOPMENT Known_problems MANIFEST* Release_Notes" + +src_prepare() { + perl-module_src_prepare + find . -name Makefile.PL -exec \ + sed -i -e "s|/usr|${EPREFIX}/usr|g" {} \; || die +} + +src_test() { + MAKEOPTS+=" -j1" perl-module_src_test +} + +src_install() { + perl-module_src_install + cp Doc/scantree.pl "${D}"/${VENDOR_ARCH}/PDL/Doc || die +} + +pkg_postinst() { + perl "${VENDOR_ARCH}/PDL/Doc/scantree.pl" || die + elog "Building perldl.db done. You can recreate this at any time" + elog "by running:" + elog "perl ${VENDOR_ARCH}/PDL/Doc/scantree.pl" +} + +pkg_prerm() { + rm -rf "${EROOT}"/var/lib/pdl/html + rm -f "${EROOT}"/var/lib/pdl/{pdldoc.db,Index.pod} +}