summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2017-03-17 23:51:46 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2017-03-17 23:51:46 +0100
commitfb3308414d3e7ffda6d3b50514bef8e869086028 (patch)
tree69fc0e609055585111fa02345098b262a274bb6d /dev-perl/PDL
parentRevert "media-gfx/graphviz: Remove old", see bug 609772 (diff)
downloadgentoo-fb3308414d3e7ffda6d3b50514bef8e869086028.tar.gz
gentoo-fb3308414d3e7ffda6d3b50514bef8e869086028.tar.bz2
gentoo-fb3308414d3e7ffda6d3b50514bef8e869086028.zip
dev-perl/PDL: Remove old
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-perl/PDL')
-rw-r--r--dev-perl/PDL/Manifest1
-rw-r--r--dev-perl/PDL/PDL-2.4.11.ebuild115
-rw-r--r--dev-perl/PDL/files/PDL-2.4.11-fortran.patch22
-rw-r--r--dev-perl/PDL/files/PDL-2.4.11-shared-fftw.patch11
-rw-r--r--dev-perl/PDL/files/PDL-2.4.11-shared-hdf.patch36
-rw-r--r--dev-perl/PDL/files/PDL-2.4.2-makemakerfix.patch20
-rw-r--r--dev-perl/PDL/metadata.xml1
7 files changed, 0 insertions, 206 deletions
diff --git a/dev-perl/PDL/Manifest b/dev-perl/PDL/Manifest
index d174e18ee794..0c76c717c368 100644
--- a/dev-perl/PDL/Manifest
+++ b/dev-perl/PDL/Manifest
@@ -1,2 +1 @@
DIST PDL-2.017.tar.gz 2889414 SHA256 93b3f22454485d92efb2f85d2e622fd584b2df6a252eae672eba3c39d3c3bd10 SHA512 b1c60b45427153928834619a59ef2213a0845564ae997e22fe202dfee281647edceb68bf3bfa6602ee69a7fd0cc69b7b61ccb74407f490d9fa40230f74599411 WHIRLPOOL 98771811a82f3e3fc504d9af002f844f200f9751d8a492cb205859d094633ea88d88c70f105c9de08b10239037441ea2a6baac192930357b7cd3db24550ced91
-DIST PDL-2.4.11.tar.gz 2859537 SHA256 c777ed2519d73ebde0d870e94931a2d2c57865abcee27dfec53f4412a2cac662 SHA512 014358b7d844a082552782f23d610d62b6f5bf5fccef30dc32ecad665501e278351cf3b33ceafe3387054d2063fc642b7bf56459944ee8c0c3d0d7cef3d78a2b WHIRLPOOL eb6623dce01e0f568ddcd2d399a8ddb394ab839b088347a51c5c73c8cacf91b726cd18f6692e50197ae9040eec9dcb4bc3fa7bb722c66ea316132764d40fa8d4
diff --git a/dev-perl/PDL/PDL-2.4.11.ebuild b/dev-perl/PDL/PDL-2.4.11.ebuild
deleted file mode 100644
index 2341167eb406..000000000000
--- a/dev-perl/PDL/PDL-2.4.11.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-MODULE_AUTHOR=CHM
-FORTRAN_NEEDED=fortran
-
-inherit perl-module eutils fortran-2
-
-DESCRIPTION="Perl Data Language for scientific computing"
-
-LICENSE="|| ( Artistic GPL-1+ ) public-domain PerlDL"
-SLOT="0"
-KEYWORDS="amd64 arm x86 ~amd64-linux ~x86-linux"
-# proj support removed #497328
-IUSE="+badval doc fftw fortran gd gsl hdf netpbm pdl2 pgplot plplot threads"
-
-RDEPEND="sys-libs/ncurses
- app-arch/sharutils
- dev-perl/Astro-FITS-Header
- dev-perl/File-Map
- dev-perl/Inline
- dev-perl/OpenGL
- dev-perl/TermReadKey
- || ( dev-perl/Term-ReadLine-Perl dev-perl/Term-ReadLine-Gnu )
- virtual/perl-Data-Dumper
- virtual/perl-Pod-Parser
- virtual/perl-File-Spec
- virtual/perl-File-Temp
- dev-perl/Filter
- virtual/perl-Storable
- virtual/perl-Text-Balanced
- fftw? ( sci-libs/fftw:2.1 )
- gd? ( media-libs/gd )
- gsl? ( sci-libs/gsl )
- hdf? ( sci-libs/hdf )
- netpbm? ( media-libs/netpbm virtual/ffmpeg )
- pdl2? ( dev-perl/Devel-REPL )
- pgplot? ( dev-perl/PGPLOT )
- plplot? ( sci-libs/plplot )"
-
-DEPEND="${RDEPEND}
- fortran? ( >=dev-perl/ExtUtils-F77-1.13 )"
-
-REQUIRED_USE="plplot? ( badval )"
-
-mydoc="BUGS DEPENDENCIES DEVELOPMENT Known_problems MANIFEST* Release_Notes"
-
-SRC_TEST="do"
-
-pkg_setup() {
- perl_set_version
- use fortran && fortran-2_pkg_setup
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-2.4.2-makemakerfix.patch
- # respect user choice for fortran compiler+flags, add pic
- epatch "${FILESDIR}"/${PN}-2.4.11-fortran.patch
- # search for shared fftw instead of static
- epatch "${FILESDIR}"/${PN}-2.4.11-shared-fftw.patch
- # search for shared hdf instead of static
- epatch "${FILESDIR}"/${PN}-2.4.11-shared-hdf.patch
- find . -name Makefile.PL -exec \
- sed -i -e "s|/usr|${EPREFIX}/usr|g" {} \; || die
-
- if has_version ">=sci-libs/plplot-5.11"; then
- sed \
- -e 's:plplotd:plplot:g' \
- -i Graphics/PLplot/Makefile.PL || die
- fi
-}
-
-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_FFTW/s/=>.*/=> $(use fftw && 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_MINUIT/s/=>.*/=> $(use fortran && echo 1|| echo 0),/" \
- -e "/WITH_PGPLOT/s/=>.*/=> $(use pgplot && echo 1 || echo 0),/" \
- -e "/WITH_PLPLOT/s/=>.*/=> $(use plplot && echo 1 || echo 0),/" \
- -e "/WITH_POSIX_THREADS/s/=>.*/=> $(use threads && echo 1 || echo 0),/" \
- -e "/WITH_PROJ/s/=>.*/=> $(echo 0),/" \
- -e "/WITH_SLATEC/s/=>.*/=> $(use fortran && echo 1|| echo 0),/" \
- perldl.conf || die
- perl-module_src_configure
-}
-
-src_test() {
- MAKEOPTS+=" -j1" perl-module_src_test
-}
-
-src_install() {
- perl-module_src_install
- cp Doc/{scantree,mkhtmldoc}.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}
-}
diff --git a/dev-perl/PDL/files/PDL-2.4.11-fortran.patch b/dev-perl/PDL/files/PDL-2.4.11-fortran.patch
deleted file mode 100644
index 5cd08d7f59e4..000000000000
--- a/dev-perl/PDL/files/PDL-2.4.11-fortran.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- Lib/Minuit/Makefile.PL
-+++ Lib/Minuit/Makefile.PL
-@@ -149,7 +149,7 @@
- ("
-
- minuitlib/$_\$(OBJ_EXT): minuitlib/$_.f
-- $mycompiler -c $hack_64bit -o minuitlib/$_\$(OBJ_EXT) $mycflags minuitlib/$_.f
-+ \$(FC) \$(FFLAGS) -fPIC -c -o minuitlib/$_\$(OBJ_EXT) $mycflags minuitlib/$_.f
- " )} @minuitfiles;
-
- if (!defined($PDL::Config{MINUIT_LIB})){
---- Lib/Slatec/Makefile.PL
-+++ Lib/Slatec/Makefile.PL
-@@ -136,7 +136,7 @@
- ("
-
- slatec/$_\$(OBJ_EXT): slatec/$_.f
-- $mycompiler -c $hack_64bit -o slatec/$_\$(OBJ_EXT) $mycflags slatec/$_.f
-+ \$(FC) \$(FFLAGS) -c -fPIC -o slatec/$_\$(OBJ_EXT) $mycflags slatec/$_.f
- " )} @slatecfiles;
-
- }
diff --git a/dev-perl/PDL/files/PDL-2.4.11-shared-fftw.patch b/dev-perl/PDL/files/PDL-2.4.11-shared-fftw.patch
deleted file mode 100644
index 859a3ff0dd3d..000000000000
--- a/dev-perl/PDL/files/PDL-2.4.11-shared-fftw.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- Lib/FFTW/Makefile.PL.orig 2012-08-28 17:10:15.000000000 +0100
-+++ Lib/FFTW/Makefile.PL 2012-08-28 17:19:35.000000000 +0100
-@@ -152,7 +152,7 @@
- # make a list of libs from the libstring
- my @libs = split ' ',$double_lib;
- grep s/\-l//g, @libs;
-- grep $_ = "lib$_.a", @libs;
-+ grep $_ = "lib$_.$Config{so}", @libs;
- my %libs;
- my $lib;
- foreach $libdir(@libdirs){
diff --git a/dev-perl/PDL/files/PDL-2.4.11-shared-hdf.patch b/dev-perl/PDL/files/PDL-2.4.11-shared-hdf.patch
deleted file mode 100644
index 3cf22a31ce72..000000000000
--- a/dev-perl/PDL/files/PDL-2.4.11-shared-hdf.patch
+++ /dev/null
@@ -1,36 +0,0 @@
---- IO/HDF/Makefile.PL.orig 2012-06-16 18:43:24.000000000 +0100
-+++ IO/HDF/Makefile.PL 2012-06-16 18:44:51.000000000 +0100
-@@ -63,20 +63,20 @@
- # Look for the libs:
- foreach my $libdir ( @HDF_lib_locations )
- {
-- if (-e "$libdir/libdfalt.a" && !$found_df)
-+ if (-e "$libdir/libdfalt.$Config{so}" && !$found_df)
- {
- $found_df = 1;
- $hdf_lib_path = $libdir;
- $hdf_libs = '-lmfhdfalt -ldfalt';
-- print "Found libdfalt.a at $libdir/libdfalt.a\n";
-+ print "Found libdfalt.$Config{so} at $libdir/libdfalt.$Config{so}\n";
- }
-
-- if (-e "$libdir/libdf.a" && !$found_df)
-+ if (-e "$libdir/libdf.$Config{so}" && !$found_df)
- {
- $found_df = 1;
- $hdf_lib_path = $libdir;
- $hdf_libs = '-lmfhdf -ldf';
-- print "Found libdf.a at $libdir/libdf.a\n";
-+ print "Found libdf.$Config{so} at $libdir/libdf.$Config{so}\n";
- }
-
- # Look for the szip library, which HDF >= 4.2r0 needs, but older versions don't!
-@@ -90,7 +90,7 @@
-
- unless( defined( $hdf_lib_path ) )
- {
-- $msg .= "Cannot find hdf library, libdf.a.\n"
-+ $msg .= "Cannot find hdf library, libdf.$Config{so}.\n"
- . "Please add the correct library path to Makefile.PL or install HDF\n";
-
- }
diff --git a/dev-perl/PDL/files/PDL-2.4.2-makemakerfix.patch b/dev-perl/PDL/files/PDL-2.4.2-makemakerfix.patch
deleted file mode 100644
index 6cf2c4009a68..000000000000
--- a/dev-perl/PDL/files/PDL-2.4.2-makemakerfix.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- Demos/BAD2_demo.pm.PL 2006/04/20 07:42:24 1.1
-+++ Demos/BAD2_demo.pm.PL 2006/04/20 07:42:32
-@@ -3,6 +3,7 @@
- # - requires both bad-value support and PGPLOT
- #
-
-+use blib;
- use strict;
-
- use Config;
---- Demos/BAD_demo.pm.PL 2006/04/20 07:42:17 1.1
-+++ Demos/BAD_demo.pm.PL 2006/04/20 07:42:38
-@@ -3,6 +3,7 @@
- # - needed since we allow bad pixel handling to be switched off
- #
-
-+use blib;
- use strict;
-
- use Config;
diff --git a/dev-perl/PDL/metadata.xml b/dev-perl/PDL/metadata.xml
index 2c7e5a33ee5a..78148d2297ff 100644
--- a/dev-perl/PDL/metadata.xml
+++ b/dev-perl/PDL/metadata.xml
@@ -24,7 +24,6 @@
<flag name="netpbm">Enable NETPBM and MPEG support</flag>
<flag name="pdl2">Build pdf2 shell (requires Devel-REPL)</flag>
<flag name="pgplot">Enable PGPLOT plotting capabilities</flag>
- <flag name="plplot">Enable plplot plotting capabilities</flag>
</use>
<upstream>
<remote-id type="cpan">PDL</remote-id>