diff options
author | Anton Leontiev | 2014-01-05 13:01:05 +0400 |
---|---|---|
committer | Anton Leontiev | 2015-02-15 07:48:20 +0300 |
commit | 507bbe8a7484459d60f1d306d418e5a03db21d12 (patch) | |
tree | e53939915314caf840294cfd2eadabd1ec87a61e | |
parent | fc75b5f0111403f560fd81ca25db739a1efc0b1b (diff) | |
download | aur-507bbe8a7484459d60f1d306d418e5a03db21d12.tar.gz |
Updated to v2.007
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | ChangeLog | 11 | ||||
-rw-r--r-- | PKGBUILD | 29 | ||||
-rw-r--r-- | PKGBUILD.tt | 23 | ||||
-rw-r--r-- | pdl-tests.patch | 62 | ||||
-rw-r--r-- | perldl.conf | 3 |
6 files changed, 51 insertions, 95 deletions
@@ -1,16 +1,18 @@ pkgbase = perl-pdl pkgdesc = The Perl Data Language, a perl extension designed for scientific and bulk numeric data processing and display - pkgver = 2.006 - pkgrel = 2 + pkgver = 2.007 + pkgrel = 1 url = http://search.cpan.org/dist/PDL changelog = ChangeLog arch = i686 arch = x86_64 license = PerlArtistic license = GPL + checkdepends = perl-test-warn + makedepends = perl>=5.11.3 makedepends = fftw2 makedepends = hdf4 - makedepends = perl-opengl>=0.63 + makedepends = perl-opengl>=0.6703 makedepends = plplot makedepends = perl-extutils-f77 makedepends = proj @@ -20,16 +22,14 @@ pkgbase = perl-pdl optdepends = fftw2: for PDL::FFTW support optdepends = hdf4: for HDF files support optdepends = perl-astro-fits-header: improved FITS files support - optdepends = perl-opengl>=0.63: for PDL::Graphics::TriD support + optdepends = perl-opengl>=0.6703: for PDL::Graphics::TriD support optdepends = plplot: for PDL::Graphics::PLplot support optdepends = proj: for PDL::GIS::Proj and PDL::Transform::Proj4 support options = !emptydirs - source = http://search.cpan.org/CPAN/authors/id/C/CH/CHM/PDL-2.006.tar.gz + source = http://search.cpan.org/CPAN/authors/id/C/CH/CHM/PDL-2.007.tar.gz source = perldl.conf - source = pdl-tests.patch - md5sums = df54b730453325be36b2e98ffe1f004d - md5sums = 9caa2b89a7f7aabfd7dcfb2c1ef79bc9 - md5sums = a376497f3426ca19ea81a01c2c4f95c2 + md5sums = ea343d3569ce02dbeadf1f58d700656f + md5sums = 8e1f6285ce4ee9439dc1088709cfec18 pkgname = perl-pdl diff --git a/ChangeLog b/ChangeLog index 0fc252a9ecb8..723981a1e84d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2014-01-02 Anton Leontiev <bunder /at/ t-25.ru> + + * 2.007-1 : + New upstream release + + * pdl-test-.patch : + Removed + + * perldl.conf : + Add WITH_PLPLOT => 1 + 2013-08-06 Anton Leontiev <bunder /at/ t-25.ru> * 2.006-2 : @@ -1,61 +1,64 @@ # CPAN Name : PDL # Contributor: Anton Leontiev <bunder /at/ t-25.ru> -# Generator : CPANPLUS::Dist::Arch 1.25 +# Generator : CPANPLUS::Dist::Arch 1.28 # Contributor: Thomas Dziedzic < gostrc at gmail > # Contributor: carltonf <xiong[c05]@gmail.com> # Contributor: Colin Pitrat <colin.pitrat@gmail.com> pkgname=perl-pdl -pkgver=2.006 -pkgrel=2 +pkgver=2.007 +pkgrel=1 pkgdesc='The Perl Data Language, a perl extension designed for scientific and bulk numeric data processing and display' arch=('i686' 'x86_64') url='http://search.cpan.org/dist/PDL' license=('PerlArtistic' 'GPL') depends=( - 'perl>=5.8.9' # To provide ExtUtils::MakeMaker 3.61 + 'perl>=5.8.9' 'perl-inline>=0.43' 'gsl' ) makedepends=( + 'perl>=5.11.3' # To provide ExtUtils::MakeMaker 6.56 'fftw2' 'hdf4' - 'perl-opengl>=0.63' + 'perl-opengl>=0.6703' 'plplot' 'perl-extutils-f77' 'proj' ) +checkdepends=( + 'perl-test-warn' +) optdepends=( 'fftw2: for PDL::FFTW support' 'hdf4: for HDF files support' 'perl-astro-fits-header: improved FITS files support' # 'perl-convert-uu: for the case when something wrong with Unicode support' # It is necessary on *BSD systems # 'perl-extutils-f77: for PDL::Slatec and PDL::Minuit support' # It is not necessary at runtime - 'perl-opengl>=0.63: for PDL::Graphics::TriD support' + 'perl-opengl>=0.6703: for PDL::Graphics::TriD support' 'plplot: for PDL::Graphics::PLplot support' 'proj: for PDL::GIS::Proj and PDL::Transform::Proj4 support' ) -source=(http://search.cpan.org/CPAN/authors/id/C/CH/CHM/PDL-2.006.tar.gz perldl.conf pdl-tests.patch) +source=(http://search.cpan.org/CPAN/authors/id/C/CH/CHM/PDL-2.007.tar.gz perldl.conf) changelog='ChangeLog' options=(!emptydirs) -md5sums=('df54b730453325be36b2e98ffe1f004d' '9caa2b89a7f7aabfd7dcfb2c1ef79bc9' 'a376497f3426ca19ea81a01c2c4f95c2') +md5sums=('ea343d3569ce02dbeadf1f58d700656f' '8e1f6285ce4ee9439dc1088709cfec18') build() { - cd "$srcdir/PDL-2.006" - patch -i $srcdir/pdl-tests.patch -p1 - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor PDLCONF=$srcdir/perldl.conf + cd PDL-2.007 + F77LIBS='-lgfortran -lm' PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor PDLCONF=$srcdir/perldl.conf make } check() { - cd "$srcdir/PDL-2.006" + cd PDL-2.007 make test } package() { - cd "$srcdir/PDL-2.006" + cd PDL-2.007 make install DESTDIR="$pkgdir" find "$pkgdir" -name .packlist -o -name perllocal.pod -delete } diff --git a/PKGBUILD.tt b/PKGBUILD.tt index 2454e906dfc8..982d8a75ee0a 100644 --- a/PKGBUILD.tt +++ b/PKGBUILD.tt @@ -14,48 +14,51 @@ arch=('i686' 'x86_64') url='[% url %]' license=('PerlArtistic' 'GPL') depends=( - 'perl>=5.8.9' # To provide ExtUtils::MakeMaker 3.61 + 'perl>=5.8.9' 'perl-inline>=0.43' 'gsl' ) makedepends=( + 'perl>=5.11.3' # To provide ExtUtils::MakeMaker 6.56 'fftw2' 'hdf4' - 'perl-opengl>=0.63' + 'perl-opengl>=0.6703' 'plplot' 'perl-extutils-f77' 'proj' ) +checkdepends=( + 'perl-test-warn' +) optdepends=( 'fftw2: for PDL::FFTW support' 'hdf4: for HDF files support' 'perl-astro-fits-header: improved FITS files support' # 'perl-convert-uu: for the case when something wrong with Unicode support' # It is necessary on *BSD systems # 'perl-extutils-f77: for PDL::Slatec and PDL::Minuit support' # It is not necessary at runtime - 'perl-opengl>=0.63: for PDL::Graphics::TriD support' + 'perl-opengl>=0.6703: for PDL::Graphics::TriD support' 'plplot: for PDL::Graphics::PLplot support' 'proj: for PDL::GIS::Proj and PDL::Transform::Proj4 support' ) -source=([% source %] perldl.conf pdl-tests.patch) +source=([% source %] perldl.conf) changelog='ChangeLog' options=(!emptydirs) -md5sums=('[% md5sums %]' '9caa2b89a7f7aabfd7dcfb2c1ef79bc9' 'a376497f3426ca19ea81a01c2c4f95c2') +md5sums=('[% md5sums %]' '8e1f6285ce4ee9439dc1088709cfec18') build() { - cd "$srcdir/[% distdir %]" - patch -i $srcdir/pdl-tests.patch -p1 - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor PDLCONF=$srcdir/perldl.conf + cd [% distdir %] + F77LIBS='-lgfortran -lm' PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor PDLCONF=$srcdir/perldl.conf make } check() { - cd "$srcdir/[% distdir %]" + cd [% distdir %] make test } package() { - cd "$srcdir/[% distdir %]" + cd [% distdir %] make install DESTDIR="$pkgdir" find "$pkgdir" -name .packlist -o -name perllocal.pod -delete } diff --git a/pdl-tests.patch b/pdl-tests.patch deleted file mode 100644 index 06170b9f6990..000000000000 --- a/pdl-tests.patch +++ /dev/null @@ -1,62 +0,0 @@ -From 2a14ed6276b63c0f9642cc38f5874067775535d7 Mon Sep 17 00:00:00 2001 -From: Chris Marshall <devel.chm.01@gmail.com> -Date: Thu, 28 Mar 2013 09:23:18 -0400 -Subject: [PATCH] Fix %hash randomization bugs in PDL tests - -It appears that t/hdr.t and t/niceslice.t tests -had hash comparison checks assuming (%h1) and (%h2) -if the two hashes were equal. This should fix -perl 5.17.x failures for PDL-2.006 ---- - t/hdrs.t | 6 +++++- - t/niceslice.t | 10 ++++++++-- - 2 files changed, 13 insertions(+), 3 deletions(-) - -diff --git a/t/hdrs.t b/t/hdrs.t -index 15da81e..893edcf 100644 ---- a/t/hdrs.t -+++ b/t/hdrs.t -@@ -16,7 +16,11 @@ sub hdrcmp { - my ($ah,$bh) = map {$_->gethdr} @_; - # Copy-by-reference test is obsolete; check contents instead (CED 12-Apr-2003) - # return $ah==$bh -- return join("",%{$ah}) eq join("",%{$bh}); -+ my %ahh = %{$ah}; -+ my (@ahhkeys) = sort keys %ahh; -+ my %bhh = %{$bh}; -+ my (@bhhkeys) = sort keys %bhh; -+ return join("",@bhh{@bhhkeys}) eq join("",@ahh{@ahhkeys}); - } - - print "1..9\n"; -diff --git a/t/niceslice.t b/t/niceslice.t -index 3f6de15..3c35eee 100644 ---- a/t/niceslice.t -+++ b/t/niceslice.t -@@ -6,7 +6,7 @@ use PDL::LiteF; - BEGIN { - eval 'require PDL::NiceSlice'; - unless ($@) { -- plan tests => 43, -+ plan tests => 44, - # todo => [37..40], - } else { - plan tests => 1; -@@ -208,7 +208,13 @@ eval translate_and_show '$b = $a(1:2,pdl(0,2));'; - # Old hdrcpy test (for copy-by-reference); this is obsolete - # with quasi-deep copying. --CED 11-Apr-2003 - # ok (!$@ and $b->gethdr() == $h); --ok(!$@ and join("",%{$b->gethdr}) eq join("",%{$h})); -+if ( ok(!$@) ) { -+ my %bh = %{$b->gethdr}; -+ my (@bhkeys) = sort keys %bh; -+ my %hh = %{$h}; -+ my (@hhkeys) = sort keys %hh; -+ ok(join("",@bh{@bhkeys}) eq join("",@hh{@hhkeys})); -+} - - $a = ones(10); - my $i = which $a < 0; --- -1.7.4.1 - diff --git a/perldl.conf b/perldl.conf index a0e615ab34aa..5f578d0f7b99 100644 --- a/perldl.conf +++ b/perldl.conf @@ -4,5 +4,6 @@ %PDL_CONFIG = ( # Fix building on x86_64 with GCC 4.8 # For more info see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=701335 - OPTIMIZE => "$Config{optimize} -fno-aggressive-loop-optimizations" + OPTIMIZE => "$Config{optimize} -fno-aggressive-loop-optimizations", + WITH_PLPLOT => 1 ); |