diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-05-13 00:01:18 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-05-13 00:01:18 +0100 |
commit | a25cc082a26782e5d39ded4559c91ff11bc3c299 (patch) | |
tree | 6cd0802dd248058d540f1f5f472c5df98216f154 /dev-perl/PDL | |
parent | d72a987a342949e200b5e9decbd71f246da53788 (diff) |
gentoo auto-resync : 13:05:2024 - 00:01:18
Diffstat (limited to 'dev-perl/PDL')
-rw-r--r-- | dev-perl/PDL/Manifest | 2 | ||||
-rw-r--r-- | dev-perl/PDL/PDL-2.89.0.ebuild | 139 |
2 files changed, 141 insertions, 0 deletions
diff --git a/dev-perl/PDL/Manifest b/dev-perl/PDL/Manifest index cb840f610938..10c29f7c5841 100644 --- a/dev-perl/PDL/Manifest +++ b/dev-perl/PDL/Manifest @@ -4,7 +4,9 @@ AUX perldl.conf 2716 BLAKE2B 7cea3e06e00636c45d3ffaef5df236668aabdf52675a3447ef0 DIST PDL-2.063.tar.gz 2813482 BLAKE2B eff1737c2d27a51b911f8dd32095bb3016cddf52a93242ddad9fad3e179cd499d84b17ef1fbed4e11bdc759823032636cc32994eea2b8c91c6adda7cb1f15ef9 SHA512 dfb776103fa98da990cc30939e218b392c7c25c8c645230a71c7e881cf5325c97f855fe46e9bc093c7517883f78457f67eee14012fa5b39790b8dfcfa1ec08c9 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 EBUILD PDL-2.63.0.ebuild 3716 BLAKE2B 7a7433bd724acff1f92ecbfece43d4d2ec9781cb3294e93a1047e4aef6702e9b970d293e1cfd4b32e293b51e268ac5f594bb4e55e59b98db665f10b28e397a2b SHA512 21aa44a0fcaf38504856a2a7d0a142734adfe355dc38e76e54eb72465d2b9912d4d905d7c8ad82333d6ae1cc47516f23acbe7dbe573fb5f884a2da7cd8c6de2a EBUILD PDL-2.87.0.ebuild 3387 BLAKE2B 40b0daeec184a3e7e2b8c37aa393beb78179eac0f936cff3dd00f8510877cd8e33e5fbc0eebb11a1871770fc40c64583e0d40902c6418fa07381d5786b41c33d SHA512 19fc7ebf238b4a66a684b3975914b9a003e8b2d3650bdf5abb2c4ce2ac28465dc7e619cfc939ed3c5056511aff9e452eba67bf414824e9e9278e716fc73b31e6 EBUILD PDL-2.88.0.ebuild 3387 BLAKE2B 3d5368262a30010530b208f6e0ff943885a118c5676b557297554b1e9ad93ca1d24a8391da96a9ad09618076f0b2afaaae858685726c2ddd3573cd49e4a8b421 SHA512 fad30d71262d7f2de15582ffccde8c768c862ed0975e2d03386f8e66e053d8796815e3fee157b3b9b05bb77a8fed6fd82cba945f63c1f46440702b239cd6b404 +EBUILD PDL-2.89.0.ebuild 3387 BLAKE2B 59134d31f9e51e19702cfc0dd181e9bf7942164fe2915c0874abf9b8503fa240328f46ff35c26dbd82a638ff1dc87e12168be644ebd9fc2ce5f10ac843cd0649 SHA512 f49d088260150aad7d7a9f9652773bb78de9a6c888007d9b8b8724d62127f57da4fb17094cac1a02dc1749af068d8f90d877ab61387330f43c4e10b39ae38452 MISC metadata.xml 14077 BLAKE2B 10c3234191f6823efb3808787c5555e99cd2ea35b5ae8adfef16e09dcb9bc2985b9243accf6a223ac571b5fd8b6f7b7759d475aa2b2cbaaa081d835d10fb7010 SHA512 1180818b535bc07dafb8091aa34483a01c5f937190e21cda23e756f3805e52719fdf511f32715f7fe873f2d944cffed6cd1825a631ea84662bc0ab010f126152 diff --git a/dev-perl/PDL/PDL-2.89.0.ebuild b/dev-perl/PDL/PDL-2.89.0.ebuild new file mode 100644 index 000000000000..048e25dcd038 --- /dev/null +++ b/dev-perl/PDL/PDL-2.89.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.089 +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} +} |