Port details |
- p5-Eval-Closure Safely and cleanly create closures via string eval
- 0.14 devel =16 0.14Version of this port present on the latest quarterly branch.
- Maintainer: perl@FreeBSD.org
- Port Added: 2011-06-06 09:27:55
- Last Update: 2022-09-07 21:58:51
- Commit Hash: fb16dfe
- People watching this port, also watch:: libxml2, p5-Data-OptList, p5-MRO-Compat, p5-libwww, p5-Try-Tiny
- Also Listed In: perl5
- License: ART10 GPLv1+
- WWW:
- https://metacpan.org/release/Eval-Closure
- Description:
- 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).
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- p5-Eval-Closure>0:devel/p5-Eval-Closure
- To install the port:
- cd /usr/ports/devel/p5-Eval-Closure/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/p5-Eval-Closure
- pkg install p5-Eval-Closure
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: p5-Eval-Closure
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1466511227
SHA256 (Eval-Closure-0.14.tar.gz) = ea0944f2f5ec98d895bef6d503e6e4a376fea6383a6bc64c7670d46ff2218cad
SIZE (Eval-Closure-0.14.tar.gz) = 20128
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- p5-Try-Tiny>=0 : lang/p5-Try-Tiny
- perl5>=5.32.r0<5.33 : lang/perl5.32
- perl5>=5.32.r0<5.33 : lang/perl5.32
- Runtime dependencies:
-
- p5-Try-Tiny>=0 : lang/p5-Try-Tiny
- perl5>=5.32.r0<5.33 : lang/perl5.32
- This port is required by:
- for Build
-
- devel/p5-Moose
- devel/p5-Params-ValidationCompiler
- devel/p5-Reply
- devel/p5-Specio
- for Run
-
- devel/p5-Moose
- devel/p5-Params-ValidationCompiler
- devel/p5-Reply
- devel/p5-Specio
Configuration Options:
- No options to configure
- Options name:
- devel_p5-Eval-Closure
- USES:
- perl5
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
0.14 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
0.14 07 Apr 2021 08:09:01 |
Mathieu Arnold (mat) |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
0.14 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
0.14 29 Mar 2019 14:16:42 |
sunpoet |
Add NO_ARCH |
0.14 06 Oct 2018 13:06:45 |
des |
Fix every instance of RUN_DEPENDS:=${BUILD_DEPENDS} in p5 ports, except
for where it resulted in a change in output from build-depends-list or
run-depends-list.
Approved by: portmgr (adamw) |
0.14 27 May 2018 20:15:20 |
sunpoet |
Update WWW
search.cpan.org is shutting down.
It will redirect to metacpan.org after June 25, 2018.
With hat: perl |
0.14 15 Sep 2017 08:58:50 |
mat |
Fix license information for portgs that use "the same license as Perl".
Sponsored by: Absolight |
0.14 21 Jun 2016 15:07:13 |
mat |
Update to 0.14.
Sponsored by: Absolight |
0.13 01 Apr 2016 14:00:57 |
mat |
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat: portmgr
Sponsored by: Absolight |
0.13 15 May 2015 15:25:53 |
adamw |
Update to 0.13.
Changes: https://metacpan.org/changes/distribution/Eval-Closure |
0.12 18 Jan 2015 22:49:05 |
sunpoet |
- Update to 0.12
- Fix TEST_DEPENDS:
- PadWalker is not required
- Test::Output is a development dependency
- Sort PLIST
Changes: http://search.cpan.org/dist/Eval-Closure/Changes |
0.11_1 26 Nov 2014 13:08:38 |
mat |
Change the way Perl modules are installed, update the default Perl to 5.18.
Before, we had:
site_perl : lib/perl5/site_perl/5.18
site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
perl_man3 : lib/perl5/5.18/man/man3
Now we have:
site_perl : lib/perl5/site_perl
site_arch : lib/perl5/site_perl/mach/5.18
perl_man3 : lib/perl5/site_perl/man/man3
Modules without any .so will be installed at the same place regardless of the (Only the first 15 lines of the commit message are shown above ) |
0.11 27 Oct 2014 10:55:59 |
bapt |
Cleanup plist |
0.11 29 Oct 2013 09:01:39 |
vanilla |
Support STAGEDIR. |
0.11 20 Sep 2013 17:13:47 |
bapt |
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 3) |
0.11 02 Aug 2013 07:30:48 |
culot |
- Update to 0.11
- Convert to new Uses/perl5.mk framework
Changes: http://search.cpan.org/dist/Eval-Closure/Changes |
0.10 13 Jul 2013 11:51:25 |
sunpoet |
- Update to 0.10
- Cleanup Makefile header
- Fix pkg-descr:
- Remove trailing space
- Use space after WWW:
Changes: http://search.cpan.org/dist/Eval-Closure/Changes |
0.08 17 Dec 2012 14:09:30 |
az |
Cleanup supporting perl version 5.8 and 5.10,
lang/perl5.8 and lang/5.10 will be removed from ports tree soon. |
0.08 13 Mar 2012 16:15:36 |
pgollucci |
- Revert ports/165605 as requested by portmgr@
Note: devel/p5-B-Size and devel/p5-Devel-Arena
where intentionally not restored.
PR: ports/165605
Approved by: portmgr (bapt)
Feature safe: yes (I sure hope so) |
0.08 08 Mar 2012 18:45:38 |
pgollucci |
- Remove ports that only work with < perl 5.12 (devel/p5-B-Size,
devel/p5-Devel-Arena)
- Remove conditionals for PERL_LEVEL < 501200
- Remove regression-test targets b/c this will be centralized in Mk/bsd.perl.mk
- Other minor cleanups
RUN_DEPENDS = ${BUILD_DEPENDS} -> RUN_DEPENDS:= ${BUILD_DEPENDS}
PR: ports/165605
Submitted by: pgollucci (myself)
Approved by: portmgr (linimon)
Exp Run by: linimon
Tested by: make index |
0.08 10 Feb 2012 03:10:50 |
sunpoet |
- Update to 0.08
Changes: http://search.cpan.org/dist/Eval-Closure/Changes |
0.06 28 Dec 2011 08:20:20 |
ehaupt |
End WWW CPAN URL with a "/" |
0.06 07 Oct 2011 11:22:46 |
culot |
- Fix LICENSE (Artistic 1 instead of Artistic 2)
- Pet portlint(1)
PR: ports/161336
Submitted by: Simon Olofsson <simon@olofsson.de> |
0.06 06 Oct 2011 17:21:44 |
swills |
- Add test dependencies to enable testing
- Pet portlint while here |
0.06 06 Jun 2011 09:27:32 |
az |
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). |