[Midnightbsd-cvs] mports [23743] trunk/devel: add p5-Eval-Closure
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sat Aug 18 13:27:18 EDT 2018
Revision: 23743
http://svnweb.midnightbsd.org/mports/?rev=23743
Author: laffer1
Date: 2018-08-18 13:27:17 -0400 (Sat, 18 Aug 2018)
Log Message:
-----------
add p5-Eval-Closure
Modified Paths:
--------------
trunk/devel/Makefile
Added Paths:
-----------
trunk/devel/p5-Eval-Closure/
trunk/devel/p5-Eval-Closure/Makefile
trunk/devel/p5-Eval-Closure/distinfo
trunk/devel/p5-Eval-Closure/pkg-descr
trunk/devel/p5-Eval-Closure/pkg-plist
Modified: trunk/devel/Makefile
===================================================================
--- trunk/devel/Makefile 2018-08-18 17:25:13 UTC (rev 23742)
+++ trunk/devel/Makefile 2018-08-18 17:27:17 UTC (rev 23743)
@@ -290,6 +290,7 @@
SUBDIR += p5-Devel-StackTrace-AsHTML
SUBDIR += p5-Devel-Symdump
SUBDIR += p5-Dist-CheckConflicts
+SUBDIR += p5-Eval-Closure
SUBDIR += p5-Exception-Class
SUBDIR += p5-Exporter-Tiny
SUBDIR += p5-ExtUtils-CBuilder
Added: trunk/devel/p5-Eval-Closure/Makefile
===================================================================
--- trunk/devel/p5-Eval-Closure/Makefile (rev 0)
+++ trunk/devel/p5-Eval-Closure/Makefile 2018-08-18 17:27:17 UTC (rev 23743)
@@ -0,0 +1,26 @@
+# $MidnightBSD$
+
+PORTNAME= Eval-Closure
+PORTVERSION= 0.14
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= CPAN:DOY
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= Safely and cleanly create closures via string eval
+
+LICENSE= artistic gpl
+LICENSE_COMB= dual
+
+BUILD_DEPENDS= p5-Try-Tiny>=0:lang/p5-Try-Tiny
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+TEST_DEPENDS= p5-Devel-LexAlias>=0.05:devel/p5-Devel-LexAlias \
+ p5-Test-Fatal>=0:devel/p5-Test-Fatal \
+ p5-Test-Requires>=0:devel/p5-Test-Requires
+
+USES= perl5
+USE_PERL5= configure
+PERL_CONFIGURE= yes
+
+.include <bsd.port.mk>
Property changes on: trunk/devel/p5-Eval-Closure/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/p5-Eval-Closure/distinfo
===================================================================
--- trunk/devel/p5-Eval-Closure/distinfo (rev 0)
+++ trunk/devel/p5-Eval-Closure/distinfo 2018-08-18 17:27:17 UTC (rev 23743)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1466511227
+SHA256 (Eval-Closure-0.14.tar.gz) = ea0944f2f5ec98d895bef6d503e6e4a376fea6383a6bc64c7670d46ff2218cad
+SIZE (Eval-Closure-0.14.tar.gz) = 20128
Property changes on: trunk/devel/p5-Eval-Closure/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/p5-Eval-Closure/pkg-descr
===================================================================
--- trunk/devel/p5-Eval-Closure/pkg-descr (rev 0)
+++ trunk/devel/p5-Eval-Closure/pkg-descr 2018-08-18 17:27:17 UTC (rev 23743)
@@ -0,0 +1,16 @@
+String eval is often used for dynamic code generation. For instance, Moose uses
+it heavily, to generate inlined versions of accessors and constructors, which
+speeds code up at runtime by a significant amount. String eval is not without
+its issues however - it's difficult to control the scope it's used in (which
+determines which variables are in scope inside the eval), and it can be quite
+slow, especially if doing a large number of evals.
+
+This module attempts to solve both of those problems. It provides an
+eval_closure function, which evals a string in a clean environment, other than
+a fixed list of specified variables. It also caches the result of the eval, so
+that doing repeated evals of the same source, even with a different
+environment, will be much faster (but note that the description is part of the
+string to be evaled, so it must also be the same (or non-existent) if caching
+is to work properly).
+
+WWW: https://metacpan.org/release/Eval-Closure
Property changes on: trunk/devel/p5-Eval-Closure/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/p5-Eval-Closure/pkg-plist
===================================================================
--- trunk/devel/p5-Eval-Closure/pkg-plist (rev 0)
+++ trunk/devel/p5-Eval-Closure/pkg-plist 2018-08-18 17:27:17 UTC (rev 23743)
@@ -0,0 +1,2 @@
+%%SITE_PERL%%/Eval/Closure.pm
+%%PERL5_MAN3%%/Eval::Closure.3.gz
Property changes on: trunk/devel/p5-Eval-Closure/pkg-plist
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list