notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Ukraine
Port details
p5-Eval-Closure Safely and cleanly create closures via string eval
0.14 devel on this many watch lists=13 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.14Version of this port present on the latest quarterly branch.
Maintainer: perl@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2011-06-06 09:27:55
Last Update: 2021-04-07 08:09:01
Commit Hash: cf118cc
People watching this port, also watch:: expat, curl, libidn, p5-Package-Stash-XS, p5-Digest-HMAC
Also Listed In: perl5
License: ART10 GPLv1+
Description:
SVNWeb : git : Homepage
pkg-plist: as obtained via: make generate-plist
Expand this list (9 items)
Collapse this list.
  1. /usr/local/share/licenses/p5-Eval-Closure-0.14/catalog.mk
  2. /usr/local/share/licenses/p5-Eval-Closure-0.14/LICENSE
  3. /usr/local/share/licenses/p5-Eval-Closure-0.14/ART10
  4. /usr/local/share/licenses/p5-Eval-Closure-0.14/GPLv1+
  5. lib/perl5/site_perl/Eval/Closure.pm
  6. lib/perl5/site_perl/man/man3/Eval::Closure.3.gz
  7. @owner
  8. @group
  9. @mode
Collapse this list.
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:
Packages (timestamps in pop-ups are UTC):
p5-Eval-Closure
ABIlatestquarterly
FreeBSD:11:aarch640.140.14
FreeBSD:11:amd640.140.14
FreeBSD:11:armv60.140.14
FreeBSD:11:i3860.140.14
FreeBSD:11:mips--
FreeBSD:11:mips640.140.14
FreeBSD:12:aarch640.140.14
FreeBSD:12:amd640.140.14
FreeBSD:12:armv60.140.14
FreeBSD:12:armv70.140.14
FreeBSD:12:i3860.140.14
FreeBSD:12:mips--
FreeBSD:12:mips640.140.14
FreeBSD:12:powerpc64-0.14
FreeBSD:13:aarch640.140.14
FreeBSD:13:amd640.140.14
FreeBSD:13:armv60.140.14
FreeBSD:13:armv70.140.14
FreeBSD:13:i3860.140.14
FreeBSD:13:mips--
FreeBSD:13:mips640.140.14
FreeBSD:13:powerpc640.140.14
FreeBSD:14:aarch640.14-
FreeBSD:14:amd640.14-
FreeBSD:14:armv60.14-
FreeBSD:14:armv70.14-
FreeBSD:14:i3860.14-
FreeBSD:14:mips--
FreeBSD:14:mips640.14-
FreeBSD:14:powerpc640.14-
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. p5-Try-Tiny>=0 : lang/p5-Try-Tiny
  2. perl5>=5.32.r0<5.33 : lang/perl5.32
  3. perl5>=5.32.r0<5.33 : lang/perl5.32
Runtime dependencies:
  1. p5-Try-Tiny>=0 : lang/p5-Try-Tiny
  2. perl5>=5.32.r0<5.33 : lang/perl5.32
This port is required by:
for Build
  1. devel/p5-Moose
  2. devel/p5-Params-ValidationCompiler
  3. devel/p5-Reply
  4. devel/p5-Specio
for Run
  1. devel/p5-Moose
  2. devel/p5-Params-ValidationCompiler
  3. devel/p5-Reply
  4. devel/p5-Specio

Configuration Options:
Options name:

USES:

FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (13 items)
Collapse this list.
  1. ftp://ftp.auckland.ac.nz/pub/perl/CPAN/authors/id/D/DO/DOY/
  2. ftp://ftp.cpan.org/pub/CPAN/authors/id/D/DO/DOY/
  3. ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Eval/
  4. ftp://ftp.funet.fi/pub/languages/perl/CPAN/authors/id/D/DO/DOY/
  5. ftp://ftp.kddlabs.co.jp/lang/perl/CPAN/authors/id/D/DO/DOY/
  6. ftp://ftp.mirrorservice.org/sites/cpan.perl.org/CPAN/authors/id/D/DO/DOY/
  7. http://backpan.perl.org/authors/id/D/DO/DOY/
  8. http://ftp.jaist.ac.jp/pub/CPAN/authors/id/D/DO/DOY/
  9. http://ftp.twaren.net/Unix/Lang/CPAN/authors/id/D/DO/DOY/
  10. https://cpan.metacpan.org/authors/id/D/DO/DOY/
  11. https://cpan.metacpan.org/modules/by-module/Eval/
  12. https://www.cpan.org/authors/id/D/DO/DOY/
Collapse this list.

Number of commits found: 24

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
07 Apr 2021 08:09:01
 files touched by this commit commit hash:cf118ccf875508b9a1c570044c93cfcc82bd455c  0.14
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
06 Apr 2021 14:31:07
 files touched by this commit commit hash:305f148f482daf30dcf728039d03d019f88344eb  0.14
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
29 Mar 2019 14:16:42
Original commit files touched by this commit Revision:497136  0.14
sunpoet search for other commits by this committer
Add NO_ARCH
06 Oct 2018 13:06:45
Original commit files touched by this commit Revision:481365  0.14
des search for other commits by this committer
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)
27 May 2018 20:15:20
Original commit files touched by this commit Revision:470993  0.14
sunpoet search for other commits by this committer
Update WWW

search.cpan.org is shutting down.
It will redirect to metacpan.org after June 25, 2018.

With hat:	perl
15 Sep 2017 08:58:50
Original commit files touched by this commit Revision:449893  0.14
mat search for other commits by this committer
Fix license information for portgs that use "the same license as Perl".

Sponsored by:	Absolight
21 Jun 2016 15:07:13
Original commit files touched by this commit Revision:417227  0.14
mat search for other commits by this committer
Update to 0.14.

Sponsored by:	Absolight
01 Apr 2016 14:00:57
Original commit files touched by this commit Revision:412346  0.13
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.

With hat:	portmgr
Sponsored by:	Absolight
15 May 2015 15:25:53
Original commit files touched by this commit Revision:386414  0.13
adamw search for other commits by this committer
Update to 0.13.

Changes: https://metacpan.org/changes/distribution/Eval-Closure
18 Jan 2015 22:49:05
Original commit files touched by this commit Revision:377367  0.12
sunpoet search for other commits by this committer
- 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
26 Nov 2014 13:08:38
Original commit files touched by this commit Revision:373448  0.11_1
mat search for other commits by this committer
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 View all of this commit message)
27 Oct 2014 10:55:59
Original commit files touched by this commit Revision:371547  0.11
bapt search for other commits by this committer
Cleanup plist
29 Oct 2013 09:01:39
Original commit files touched by this commit Revision:331936  0.11
vanilla search for other commits by this committer
Support STAGEDIR.
20 Sep 2013 17:13:47
Original commit files touched by this commit Revision:327724  0.11
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 3)
02 Aug 2013 07:30:48
Original commit files touched by this commit Revision:324148  0.11
culot search for other commits by this committer
- Update to 0.11
- Convert to new Uses/perl5.mk framework

Changes:	http://search.cpan.org/dist/Eval-Closure/Changes
13 Jul 2013 11:51:25
Original commit files touched by this commit Revision:322911  0.10
sunpoet search for other commits by this committer
- 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
17 Dec 2012 14:09:30
Original commit files touched by this commit Revision:309094  0.08
az search for other commits by this committer
Cleanup supporting perl version 5.8 and 5.10,
lang/perl5.8 and lang/5.10 will be removed from ports tree soon.
13 Mar 2012 16:15:36
Original commit files touched by this commit   0.08
pgollucci search for other commits by this committer
- 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)
08 Mar 2012 18:45:38
Original commit files touched by this commit   0.08
pgollucci search for other commits by this committer
- 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
10 Feb 2012 03:10:50
Original commit files touched by this commit   0.08
sunpoet search for other commits by this committer
- Update to 0.08

Changes:        http://search.cpan.org/dist/Eval-Closure/Changes
28 Dec 2011 08:20:20
Original commit files touched by this commit   0.06
ehaupt search for other commits by this committer
End WWW CPAN URL with a "/"
07 Oct 2011 11:22:46
Original commit files touched by this commit   0.06
culot search for other commits by this committer
- Fix LICENSE (Artistic 1 instead of Artistic 2)
- Pet portlint(1)

PR:             ports/161336
Submitted by:   Simon Olofsson <simon@olofsson.de>
06 Oct 2011 17:21:44
Original commit files touched by this commit   0.06
swills search for other commits by this committer
- Add test dependencies to enable testing
- Pet portlint while here
06 Jun 2011 09:27:32
Original commit files touched by this commit   0.06
az search for other commits by this committer
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).

Number of commits found: 24