From cd5a94687332c09b3d4775ae977a8a4e51f1bbb8 Mon Sep 17 00:00:00 2001 From: wiz Date: Sun, 17 Apr 2016 09:34:43 +0000 Subject: Update p5-Module-ScanDeps to 1.20: 1.20 2015-10-04 - Fix RT #107304: Newer versions of File::Path cause warning "_Inline for _Inline: No such file or directory at Module/ScanDeps.pm line 1339." - drop the dubious call to rmtree() - Fix RT106142: Preload dependencies for PDL and PDL::NiceSlice - adopted from a patch by Shawn Laffan, thanks Shawn! - Fix RT#106144: Preload dependencies for File::BOM) - adopted from a patch by Shawn Laffan, thanks Shawn! - Revise our stance on utf8.pm: - A line of "use utf8;" just means "this file is encoded in UTF-8" and should _not_ result in scanning utf8.pm which will pull in the whole Unicode shebang (propery tables and what not). Yes, utf8.pm _doesn contain "require utf8_heavy.pl", but only inside an AUTOLOAD() that is _not_ triggered by calling functions like utf8::is_utf8(). - OTOH the innocently looking one-liner perl -ne 'print if /\pN/' implicitly loads utf8.pm and triggers the AUTOLAD(). - So prevent utf8.pm from being scanned and make utf8_heavy.pl the indicator for "I need the Unicode stuff" instead. - Cache the results of _get_preload('utf8_heavy.pl'). - Make %Preload "transitive" so that given my %Preload = ( 'Foo.pm' => [ 'Bar.pm' ], 'Bar.pm' => [ 'Quux.pm' ], ... ); scan_deps_static() register a dependency on Bar.pm _and_ Quux.pm when it saw "use Foo;" - Minor changes: - drop dubious %Preload of utf8.pm for SOAP::Lite and XML::Parser::Expat - drop code for Perl < 5.008 as we require 5.8.1 already - rework the implementation of -x/-c - add add_preload_rule() to dynamically add a %Preload rule - recognize constructs like "open FH, '<:via(Foo)', ..." - upgrade to Module::Install 1.16 --- devel/p5-Module-ScanDeps/Makefile | 5 ++--- devel/p5-Module-ScanDeps/distinfo | 10 +++++----- 2 files changed, 7 insertions(+), 8 deletions(-) (limited to 'devel/p5-Module-ScanDeps') diff --git a/devel/p5-Module-ScanDeps/Makefile b/devel/p5-Module-ScanDeps/Makefile index 40079a57a9b..ab161877e9a 100644 --- a/devel/p5-Module-ScanDeps/Makefile +++ b/devel/p5-Module-ScanDeps/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.37 2015/09/04 11:36:12 mef Exp $ -# +# $NetBSD: Makefile,v 1.38 2016/04/17 09:34:43 wiz Exp $ -DISTNAME= Module-ScanDeps-1.19 +DISTNAME= Module-ScanDeps-1.20 PKGNAME= p5-${DISTNAME} CATEGORIES= devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Module/} diff --git a/devel/p5-Module-ScanDeps/distinfo b/devel/p5-Module-ScanDeps/distinfo index dbe267ccb1b..9cb3bea24e7 100644 --- a/devel/p5-Module-ScanDeps/distinfo +++ b/devel/p5-Module-ScanDeps/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.22 2015/11/03 03:28:29 agc Exp $ +$NetBSD: distinfo,v 1.23 2016/04/17 09:34:43 wiz Exp $ -SHA1 (Module-ScanDeps-1.19.tar.gz) = dd063aa4bea1adc6a11041bcc8bbdc8ee8a288f0 -RMD160 (Module-ScanDeps-1.19.tar.gz) = 70b05b7e312e51e97e540310e6ee458470c150b5 -SHA512 (Module-ScanDeps-1.19.tar.gz) = 627d7d8a3887a6be666d48e72e371db1fc1637c66d60da6fa797165e3020b8b2cfa0576f1520694409cb66266faa5277e12e558bcfd75b397075962b19fb0bbf -Size (Module-ScanDeps-1.19.tar.gz) = 62007 bytes +SHA1 (Module-ScanDeps-1.20.tar.gz) = d4fe7c14629b2bba7910e0b7260760893b4aff8b +RMD160 (Module-ScanDeps-1.20.tar.gz) = cd6b07674a595bc18d8a4b8bd63288ed57a85f1e +SHA512 (Module-ScanDeps-1.20.tar.gz) = 1756c48d8932d50f03e5440e9b1a1c38c4f795c5701d6c9704cef88ac1162efeefb863f003b105b8516bb9cb8113c9c8524e7c6847070450228ef6baeb4d578d +Size (Module-ScanDeps-1.20.tar.gz) = 64260 bytes -- cgit v1.2.3