p5-Math-Prime-Util: update to 0.70. 0.70 2017-12-02 [FIXES] - prime_count(a,b) incorrect for a={3..7} and b < 66000000. First appeared in v0.65 (May 2017). Reported by Trizen. Fixed. - Also impacted were nth_ramanujan_prime and _lower/_upper for small input values. [FUNCTIONALITY AND PERFORMANCE] - Some utility functions used prime counts. Unlink for more isolation. - prime_count_approx uses full precision for bigint or string input. - LogarithmicIntegral and ExponentialIntegral will try to use our GMP backend if possible. - Work around old Math::BigInt::FastCalc (as_int() doesn't work right). - prime_memfree also calls GMP's memfree function. This will clear the cached constants (e.g. Pi, Euler). - Calling srand or csrand will also result in the GMP backend CSPRNG functions being called. This gives more consistent behavior. [OTHER] - Turned off threads testing unless release or extended testing is used. A few smokers seem to have threads lib that die before we event start. - Removed all Math::MPFR code and references. The latest GMP backend has everything we need. - The MPU_NO_XS and MPU_NO_GMP environment variables are documented.diff -r1.20 -r1.21 pkgsrc/math/p5-Math-Prime-Util/Makefile
(wiz)
@@ -1,16 +1,16 @@ | @@ -1,16 +1,16 @@ | |||
1 | # $NetBSD: Makefile,v 1.20 2017/11/13 15:22:31 wiz Exp $ | 1 | # $NetBSD: Makefile,v 1.21 2017/12/03 08:41:29 wiz Exp $ | |
2 | 2 | |||
3 | DISTNAME= Math-Prime-Util-0.69 | 3 | DISTNAME= Math-Prime-Util-0.70 | |
4 | PKGNAME= p5-${DISTNAME} | 4 | PKGNAME= p5-${DISTNAME} | |
5 | CATEGORIES= math perl5 | 5 | CATEGORIES= math perl5 | |
6 | MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Math/} | 6 | MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Math/} | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= http://search.cpan.org/dist/Math-Prime-Util/ | 9 | HOMEPAGE= http://search.cpan.org/dist/Math-Prime-Util/ | |
10 | COMMENT= Perl5 utilities related to prime numbers | 10 | COMMENT= Perl5 utilities related to prime numbers | |
11 | LICENSE= ${PERL5_LICENSE} | 11 | LICENSE= ${PERL5_LICENSE} | |
12 | 12 | |||
13 | DEPENDS+= p5-Bytes-Random-Secure>=0.23:../../security/p5-Bytes-Random-Secure | 13 | DEPENDS+= p5-Bytes-Random-Secure>=0.23:../../security/p5-Bytes-Random-Secure | |
14 | 14 | |||
15 | REPLACE_PERL+= bin/factor.pl bin/primes.pl | 15 | REPLACE_PERL+= bin/factor.pl bin/primes.pl | |
16 | PERL5_PACKLIST= auto/Math/Prime/Util/.packlist | 16 | PERL5_PACKLIST= auto/Math/Prime/Util/.packlist |
@@ -1,6 +1,6 @@ | @@ -1,6 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.16 2017/11/13 15:22:31 wiz Exp $ | 1 | $NetBSD: distinfo,v 1.17 2017/12/03 08:41:29 wiz Exp $ | |
2 | 2 | |||
3 | SHA1 (Math-Prime-Util-0.69.tar.gz) = 61bcc8f871fd43154cc09a8a853d2516e877fb0f | 3 | SHA1 (Math-Prime-Util-0.70.tar.gz) = 1847d4a7ebe3c98df39b0d1beee47b8b4b6e65aa | |
4 | RMD160 (Math-Prime-Util-0.69.tar.gz) = 3150689afb090de221699c502fb3d445d8398e33 | 4 | RMD160 (Math-Prime-Util-0.70.tar.gz) = af70efa674e9481b7a277c1e2c0b1949ed29be37 | |
5 | SHA512 (Math-Prime-Util-0.69.tar.gz) = 07780f28398b6e2cfbc1ccaa2cce2d3b32ea000ec9fc3909d9650c0c9dc6f24c0982de8ce52bc3dcfc525e10ad2d5a687a1833a6fab82008345fdba78fbfdfeb | 5 | SHA512 (Math-Prime-Util-0.70.tar.gz) = c05964c8a3f76bb7881cbcafa0d31b76ac34ff3aa931e834ee151ae79f5f582b5681b31ad75f51d63d3129b9c11246a458b196635ca7c242dbd6dedaddb64298 | |
6 | Size (Math-Prime-Util-0.69.tar.gz) = 593915 bytes | 6 | Size (Math-Prime-Util-0.70.tar.gz) = 593408 bytes |