summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2009-02-22 13:11:39 +0000
committerhe <he@pkgsrc.org>2009-02-22 13:11:39 +0000
commit1e79a72421472c544cf2ea624a19f7ab6a9057b1 (patch)
tree6d75774047eec71c12bb56dc13139e5b40f69a80 /math
parent67cdba185133e42d6e31cec642795b2723e733fd (diff)
downloadpkgsrc-1e79a72421472c544cf2ea624a19f7ab6a9057b1.tar.gz
Update from version 2.010800nb1 to 2.010801.
Pkgsrc changes: o Re-do patch-ab so that the tests and adaptations for the various NetBSD archs don't sit inside "if ($os eq 'sunos')" (!). Upstream changes: 2.010801: build_paricfg() takes a version argument write_paricfg(): likewise. Emit paricfg.h which supports GP/PARI v2.3.4. Remove the section on CPAN mirroring from README. INSTALL: Explain how to google when server is down. Skip another subtest in ploth.t. Fix treatment of -oo in tests. Still fails, but now with not ok 12 # in='intmellininvshort(2,4,$tab)-$A' # out='-3.364954880E-97+9.90717831E-100*I', type='Math::Pari' # pari==='-3.072350108 E-97 + 9.90717831 E-100*I' # re_out='\-3\.072350108,?\s*E\-97,?\s*\+,?\s*9\.90717831,?\s*E\-100\*I' Consider `intfuncinit' as requiring "unsane" precision of limits (bug in GP/PARI???). Now all tests pass???
Diffstat (limited to 'math')
-rw-r--r--math/p5-Math-Pari/Makefile5
-rw-r--r--math/p5-Math-Pari/distinfo11
-rw-r--r--math/p5-Math-Pari/patches/patch-ab56
3 files changed, 35 insertions, 37 deletions
diff --git a/math/p5-Math-Pari/Makefile b/math/p5-Math-Pari/Makefile
index cfaea19e904..8c6557cb2ea 100644
--- a/math/p5-Math-Pari/Makefile
+++ b/math/p5-Math-Pari/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.32 2008/10/19 19:18:21 he Exp $
+# $NetBSD: Makefile,v 1.33 2009/02/22 13:11:39 he Exp $
#
-DISTNAME= Math-Pari-2.010800
+DISTNAME= Math-Pari-2.010801
PKGNAME= p5-${DISTNAME}
-PKGREVISION= 1
SVR4_PKGNAME= p5mpa
CATEGORIES= math perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Math/}
diff --git a/math/p5-Math-Pari/distinfo b/math/p5-Math-Pari/distinfo
index bec0abe526e..c2a16723cbe 100644
--- a/math/p5-Math-Pari/distinfo
+++ b/math/p5-Math-Pari/distinfo
@@ -1,11 +1,10 @@
-$NetBSD: distinfo,v 1.11 2008/07/29 12:37:50 he Exp $
+$NetBSD: distinfo,v 1.12 2009/02/22 13:11:39 he Exp $
-SHA1 (Math-Pari-2.010800.tar.gz) = 785baa00b7cb1ac47030d9afc22cdad825942587
-RMD160 (Math-Pari-2.010800.tar.gz) = 40bdec281f6d9fa6fc6c937d3f7f7e0d869a7162
-Size (Math-Pari-2.010800.tar.gz) = 115099 bytes
+SHA1 (Math-Pari-2.010801.tar.gz) = 9becc6cbbb80983408de7b3f33e7f19a8015cc34
+RMD160 (Math-Pari-2.010801.tar.gz) = 72af931cd38b3d2e7bb158bbbe6221292dfe07e1
+Size (Math-Pari-2.010801.tar.gz) = 115860 bytes
SHA1 (pari-2.1.6.tgz) = 54bd40fa70a02e76d78d0ea19c0f56f7da62de8e
RMD160 (pari-2.1.6.tgz) = 6b79e84b639d1862df148b253136deacd73bf4f0
Size (pari-2.1.6.tgz) = 1541464 bytes
-SHA1 (patch-ab) = 1368bc9e8391786ca800e35bb640fd36b4fbf44a
-SHA1 (patch-ab.old) = 985b0c43128fc1f587bf25f7f2b57f6c8bf3793f
+SHA1 (patch-ab) = 87843977a706b6e1b525f7b977599c3149d04557
SHA1 (patch-ac) = 92e72613058ffa248f2428dea5de368a39186040
diff --git a/math/p5-Math-Pari/patches/patch-ab b/math/p5-Math-Pari/patches/patch-ab
index 75d90e0dd21..f01d0ab1a1c 100644
--- a/math/p5-Math-Pari/patches/patch-ab
+++ b/math/p5-Math-Pari/patches/patch-ab
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.5 2008/02/09 22:39:50 adrianp Exp $
+$NetBSD: patch-ab,v 1.6 2009/02/22 13:11:39 he Exp $
---- utils/Math/PariBuild.pm.orig 2006-10-25 21:28:06.000000000 +0100
+--- utils/Math/PariBuild.pm.orig 2009-02-11 02:40:56.000000000 +0100
+++ utils/Math/PariBuild.pm
-@@ -768,7 +768,7 @@ sub find_machine_architecture () {
+@@ -779,7 +779,7 @@ sub find_machine_architecture () {
} elsif ($machine ne 'ia64') {
$machine = 'hppa';
}
@@ -11,28 +11,28 @@ $NetBSD: patch-ab,v 1.5 2008/02/09 22:39:50 adrianp Exp $
or $os eq 'freebsd' or $os =~ /^cygwin/) {
chomp($machine = `uname -m`);
$machine ||= 'ix86';
-@@ -820,6 +820,24 @@ sub find_machine_architecture () {
- $machine = 'ix86';
- } elsif ((split ' ', $Config{myuname})[3] eq 'sun') {
- $machine = 'm86k';
-+ } elsif ($os eq 'netbsd') {
-+ chomp($machine = `uname -p`);
-+ if ($machine =~ 'arm.*') {
-+ $machine='arm';
-+ } elsif ($machine = 'i386') {
-+ $machine='ix86';
-+ } elsif ($machine =~ 'mips.*') {
-+ $machine='mips';
-+ } elsif ($machine = 'powerpc') {
-+ $machine='ppc';
-+ } elsif ($machine =~ 'sh3.*') {
-+ $machine='sh3';
-+ } elsif ($machine =~ 'sh5.*') {
-+ $machine='sh5';
-+ } elsif ($machine = 'sparc64') {
-+ $machine='sparcv9';
-+ }
-+ # these can be used verbatim: alpha amd64 m68k sparc vax
- } elsif ($redo++ == 0) {
- $type = `uname -m`;
- redo find_machine;
+@@ -808,6 +808,24 @@ sub find_machine_architecture () {
+ close IN or die "close /proc/cpuinfo: $!";
+ $machine = process_sparc $info, $machine;
+ }
++ } elsif ($os eq 'netbsd') {
++ chomp($machine = `uname -p`);
++ if ($machine =~ 'arm.*') {
++ $machine='arm';
++ } elsif ($machine = 'i386') {
++ $machine='ix86';
++ } elsif ($machine =~ 'mips.*') {
++ $machine='mips';
++ } elsif ($machine = 'powerpc') {
++ $machine='ppc';
++ } elsif ($machine =~ 'sh3.*') {
++ $machine='sh3';
++ } elsif ($machine =~ 'sh5.*') {
++ $machine='sh5';
++ } elsif ($machine = 'sparc64') {
++ $machine='sparcv9';
++ }
++ # these can be used verbatim: alpha amd64 m68k sparc vax
+ } elsif ($os eq 'sunos') {
+ my $type = (split ' ', $Config{myuname})[4];
+ # format: SunOS name 5.9 Generic_118558-26 sun4u sparc SUNW,Ultra-5_10