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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 53BFA15807B for ; Mon, 14 Oct 2024 04:18:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 11CADE08B1; Mon, 14 Oct 2024 04:18:10 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EA7D7E08B1 for ; Mon, 14 Oct 2024 04:18:09 +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 07C1D343121 for ; Mon, 14 Oct 2024 04:18:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 93F0D1DD1 for ; Mon, 14 Oct 2024 04:18:07 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1728879460.b404018b5a1589ecf589828907ed7ad97ebecfba.sam@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.93.0.ebuild X-VCS-Directories: dev-perl/PDL/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: b404018b5a1589ecf589828907ed7ad97ebecfba X-VCS-Branch: master Date: Mon, 14 Oct 2024 04:18:07 +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: 3e62bb01-b705-460b-bd0d-1f7695ae5915 X-Archives-Hash: 99032e766b9b89578a2e8edbbadfbf50 commit: b404018b5a1589ecf589828907ed7ad97ebecfba Author: Sam James gentoo org> AuthorDate: Mon Oct 14 04:06:29 2024 +0000 Commit: Sam James gentoo org> CommitDate: Mon Oct 14 04:17:40 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b404018b dev-perl/PDL: add 2.93.0 Closes: https://bugs.gentoo.org/931050 Signed-off-by: Sam James gentoo.org> dev-perl/PDL/Manifest | 1 + dev-perl/PDL/PDL-2.93.0.ebuild | 139 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 140 insertions(+) diff --git a/dev-perl/PDL/Manifest b/dev-perl/PDL/Manifest index f173a361038d..78d8e2846cf3 100644 --- a/dev-perl/PDL/Manifest +++ b/dev-perl/PDL/Manifest @@ -2,3 +2,4 @@ DIST PDL-2.063.tar.gz 2813482 BLAKE2B eff1737c2d27a51b911f8dd32095bb3016cddf52a9 DIST PDL-2.087.tar.gz 2980457 BLAKE2B 8a29b78e49bff5f682e460abf452f725b811ec0929bf8419050d62c868b51007a2d234c171b6a4435fa0c0f9e10f41e15dfc7507f9eabac7fc00f0d44a28ea36 SHA512 3c046cff3cba25d14b062041b3abc195a2995473b3e3e97428db0a06d5b9630079f7d9d12288aa1f2f95f9c562ee3079a7f17703abe947fb8bab5f0a5282e609 DIST PDL-2.088.tar.gz 2988974 BLAKE2B 463a1c92f69e1d6bfdd6089dc0cc9ba77b19523bcc226d08da3586624d6bd30f325fecea82aaddbc18db2ac06aff946f3de6eb572ed801cf2128b41fcf5981e4 SHA512 2f575cc2ea9b3286dd04219e34995dd789cd7b3bf13db229322db466c92f4dc3bf096d1a87891478573ef7bf78957d407883dab203880f52fd359f24cc89cfce DIST PDL-2.089.tar.gz 2993088 BLAKE2B ea204ff75520d6d790cb234ff7fc3661d352cea8919363cfdc2541da5e24c9ee0a794b9b9fdd510b6f80690e90abdd5596bf9a4d3ea943999ef7d1a46d2e7219 SHA512 8f73083bd45f51779f687389f447b7901938bf4e6f90cb1e7183d5d6b9aa44216d70c40af82bd01297d9af4d90fd7b1f5645e46bf5c86bb0f6c449fdbf9e833c +DIST PDL-2.093.tar.gz 2832383 BLAKE2B d95673b195b8140705926a720bf0fb41bf30e5e2267361ffeaf7952b3e6832e79331e181cc4cd862bbe1d2c07490c57551b1ab0c4d803cb8530e04fb5a5db200 SHA512 2da0b8849d4918c8ff239a9f56dccb30228a54577303c89764de23118d9d9334efecd91f115e2f7ec40d3d4054c184318941cee6653b69f122d33c7aba9d6de5 diff --git a/dev-perl/PDL/PDL-2.93.0.ebuild b/dev-perl/PDL/PDL-2.93.0.ebuild new file mode 100644 index 000000000000..b61ae3156260 --- /dev/null +++ b/dev-perl/PDL/PDL-2.93.0.ebuild @@ -0,0 +1,139 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DIST_AUTHOR=ETJ +DIST_VERSION=2.093 +DIST_EXAMPLES=( "Example/*" ) + +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 gd gsl hdf netpbm pdl2 pgplot test" + +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 + >=virtual/perl-Filter-Simple-0.880.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-Filter-Simple + virtual/perl-Storable + >=virtual/perl-Text-Balanced-2.50.0 + >=dev-perl/ExtUtils-F77-1.260.0 + gd? ( media-libs/gd ) + gsl? ( sci-libs/gsl ) + hdf? ( + sci-libs/hdf + dev-perl/Alien-HDF4 + ) + netpbm? ( + media-libs/netpbm + media-video/ffmpeg + ) + pdl2? ( + >=dev-perl/Devel-REPL-1.3.11 + || ( dev-perl/Term-ReadLine-Perl dev-perl/Term-ReadLine-Gnu ) + ) + 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 + >=dev-perl/ExtUtils-F77-1.130.0 + test? ( + dev-perl/Test-Exception + dev-perl/Test-Warn + dev-perl/Test-Deep + ) +" + +mydoc="BUGS DEPENDENCIES DEVELOPMENT Known_problems MANIFEST* Release_Notes" + +PATCHES=( + # Respect user choice for fortran compiler+flags, add pic + "${FILESDIR}"/${PN}-2.87.0-fortran.patch +) + +pkg_setup() { + perl_set_version + fortran-2_pkg_setup +} + +src_prepare() { + perl-module_src_prepare + find . -name Makefile.PL -exec \ + sed -i -e "s|/usr|${EPREFIX}/usr|g" {} \; || die +} + +src_configure() { + sed -i \ + -e '/USE_POGL/s/=>.*/=> 1,/' \ + -e "/WITH_3D/s/=>.*/=> 1,/" \ + -e "/HTML_DOCS/s/=>.*/=> $(use doc && echo 1 || echo 0),/" \ + -e "/WITH_BADVAL/s/=>.*/=> $(use badval && echo 1|| echo 0),/" \ + -e "/WITH_DEVEL_REPL/s/=>.*/=> $(use pdl2 && echo 1 || echo 0),/" \ + -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_PGPLOT/s/=>.*/=> $(use pgplot && echo 1 || echo 0),/" \ + -e "/WITH_POSIX_THREADS/s/=>.*/=> 1,/" \ + -e "/WITH_PROJ/s/=>.*/=> $(echo 0),/" \ + perldl.conf || die + + export FC=$(tc-getF77) + + perl-module_src_configure +} + +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} +}