Thu Mar 22 13:27:21 2012 UTC ()
Updating package for Perl5 module Eval::Closure from CPAN in
devel/p5-Eval-Closure from 0.06 to 0.08.

pkgsrc changes:
- change no-version dependency notation from x>=0 into x-[0-9]*

Upstream changes:
0.08  2012-02-09
      - Remove a double layer of string eval that was introduced in 0.07 as an
        intermediate step in figuring out the unique package thing - it's not
        necessary with the final implementation, and just makes things slower
        and hides errors.

0.07  2012-02-03
      - the given source is now evaled in a unique package for every
        eval_closure call (it used to always be evaled in the Eval::Closure
        package, which was especially buggy). this is to avoid issues where one
        eval_closure modifies the global environment (by, say, importing a
        function), which could mess up a later call. unfortunately, this means
        that the memoization stuff no longer works, since it will result in
        memoized results using the original package, which defeats the purpose.
        i'm open to suggestions on how to safely reenable it though.

      - clean up a few stray lexicals we were still closing over in the eval


(sno)
diff -r1.2 -r1.3 pkgsrc/devel/p5-Eval-Closure/Makefile
diff -r1.1.1.1 -r1.2 pkgsrc/devel/p5-Eval-Closure/distinfo

cvs diff -r1.2 -r1.3 pkgsrc/devel/p5-Eval-Closure/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/p5-Eval-Closure/Makefile 2011/08/23 08:53:08 1.2
+++ pkgsrc/devel/p5-Eval-Closure/Makefile 2012/03/22 13:27:21 1.3
@@ -1,25 +1,25 @@ @@ -1,25 +1,25 @@
1# $NetBSD: Makefile,v 1.2 2011/08/23 08:53:08 abs Exp $ 1# $NetBSD: Makefile,v 1.3 2012/03/22 13:27:21 sno Exp $
2 2
3DISTNAME= Eval-Closure-0.06 3DISTNAME= Eval-Closure-0.08
4PKGNAME= p5-${DISTNAME} 4PKGNAME= p5-${DISTNAME}
5CATEGORIES= devel perl5 5CATEGORIES= devel perl5
6MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/D/DO/DOY/} 6MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/D/DO/DOY/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= http://search.cpan.org/~doy/Eval-Closure/ 9HOMEPAGE= http://search.cpan.org/~doy/Eval-Closure/
10COMMENT= Safely and cleanly create closures via string eval 10COMMENT= Safely and cleanly create closures via string eval
11LICENSE= ${PERL5_LICENSE} 11LICENSE= ${PERL5_LICENSE}
12 12
13DEPENDS+= p5-Sub-Exporter>=0:../../devel/p5-Sub-Exporter 13DEPENDS+= p5-Sub-Exporter-[0-9]*:../../devel/p5-Sub-Exporter
14DEPENDS+= p5-Try-Tiny>=0:../../devel/p5-Try-Tiny 14DEPENDS+= p5-Try-Tiny-[0-9]*:../../devel/p5-Try-Tiny
15 15
16BUILD_DEPENDS+= p5-Test-Fatal>=0:../../devel/p5-Test-Fatal 16BUILD_DEPENDS+= p5-Test-Fatal-[0-9]*:../../devel/p5-Test-Fatal
17BUILD_DEPENDS+= p5-Test-Requires>=0:../../devel/p5-Test-Requires 17BUILD_DEPENDS+= p5-Test-Requires-[0-9]*:../../devel/p5-Test-Requires
18 18
19PKG_INSTALLATION_TYPES= overwrite pkgviews 19PKG_INSTALLATION_TYPES= overwrite pkgviews
20PKG_DESTDIR_SUPPORT= user-destdir 20PKG_DESTDIR_SUPPORT= user-destdir
21 21
22PERL5_PACKLIST= auto/Eval/Closure/.packlist 22PERL5_PACKLIST= auto/Eval/Closure/.packlist
23 23
24.include "../../lang/perl5/module.mk" 24.include "../../lang/perl5/module.mk"
25.include "../../mk/bsd.pkg.mk" 25.include "../../mk/bsd.pkg.mk"

cvs diff -r1.1.1.1 -r1.2 pkgsrc/devel/p5-Eval-Closure/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/p5-Eval-Closure/distinfo 2011/08/23 08:50:14 1.1.1.1
+++ pkgsrc/devel/p5-Eval-Closure/distinfo 2012/03/22 13:27:21 1.2
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.1.1.1 2011/08/23 08:50:14 abs Exp $ 1$NetBSD: distinfo,v 1.2 2012/03/22 13:27:21 sno Exp $
2 2
3SHA1 (Eval-Closure-0.06.tar.gz) = 08515b7c9b64a4f85f260bacca590179c507ba2d 3SHA1 (Eval-Closure-0.08.tar.gz) = 29ef8dcde6a99de3ed8617ef2e5bf30d5b9eded1
4RMD160 (Eval-Closure-0.06.tar.gz) = acb762e81a66a91b8a22ed9eca6b9feefdd9acdc 4RMD160 (Eval-Closure-0.08.tar.gz) = 0fe3a1a714aa5f10a2b549bc736931f9af45f297
5Size (Eval-Closure-0.06.tar.gz) = 15676 bytes 5Size (Eval-Closure-0.08.tar.gz) = 16746 bytes