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
--- 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,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2011/08/23 08:53:08 abs Exp $
+# $NetBSD: Makefile,v 1.3 2012/03/22 13:27:21 sno Exp $
-DISTNAME= Eval-Closure-0.06
+DISTNAME= Eval-Closure-0.08
PKGNAME= p5-${DISTNAME}
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/D/DO/DOY/}
@@ -10,11 +10,11 @@
COMMENT= Safely and cleanly create closures via string eval
LICENSE= ${PERL5_LICENSE}
-DEPENDS+= p5-Sub-Exporter>=0:../../devel/p5-Sub-Exporter
-DEPENDS+= p5-Try-Tiny>=0:../../devel/p5-Try-Tiny
+DEPENDS+= p5-Sub-Exporter-[0-9]*:../../devel/p5-Sub-Exporter
+DEPENDS+= p5-Try-Tiny-[0-9]*:../../devel/p5-Try-Tiny
-BUILD_DEPENDS+= p5-Test-Fatal>=0:../../devel/p5-Test-Fatal
-BUILD_DEPENDS+= p5-Test-Requires>=0:../../devel/p5-Test-Requires
+BUILD_DEPENDS+= p5-Test-Fatal-[0-9]*:../../devel/p5-Test-Fatal
+BUILD_DEPENDS+= p5-Test-Requires-[0-9]*:../../devel/p5-Test-Requires
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
--- 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 @@
-$NetBSD: distinfo,v 1.1.1.1 2011/08/23 08:50:14 abs Exp $
+$NetBSD: distinfo,v 1.2 2012/03/22 13:27:21 sno Exp $
-SHA1 (Eval-Closure-0.06.tar.gz) = 08515b7c9b64a4f85f260bacca590179c507ba2d
+SHA1 (Eval-Closure-0.08.tar.gz) = 29ef8dcde6a99de3ed8617ef2e5bf30d5b9eded1
-RMD160 (Eval-Closure-0.06.tar.gz) = acb762e81a66a91b8a22ed9eca6b9feefdd9acdc
+RMD160 (Eval-Closure-0.08.tar.gz) = 0fe3a1a714aa5f10a2b549bc736931f9af45f297
-Size (Eval-Closure-0.06.tar.gz) = 15676 bytes
+Size (Eval-Closure-0.08.tar.gz) = 16746 bytes