./devel/p5-Exporter-Tiny, Exporter with the features of Sub::Exporter but only core dependencies

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.004003, Package name: p5-Exporter-Tiny-1.004003, Maintainer: pkgsrc-users

Exporter::Tiny supports many of Sub::Exporter's external-facing
features including renaming imported functions with the -as, -prefix
and -suffix options; explicit destinations with the into option;
and alternative installers with the installler option. But it's
written in only about 40% as many lines of code and with zero
non-core dependencies.

Its internal-facing interface is closer to Exporter.pm, with
configuration done through the @EXPORT, @EXPORT_OK and %EXPORT_TAGS
package variables.

Exporter::Tiny performs most of its internal duties (including
resolution of tag names to sub names, resolution of sub names to
coderefs, and installation of coderefs into the target package) as
method calls, which means they can be overridden to provide
interesting behaviour.


Required to run:
[lang/perl5]

Required to build:
[pkgtools/cwrappers]

Master sites: (Expand)

Filesize: 88.954 KB

Version history: (Expand)


CVS history: (Expand)


   2022-10-01 17:24:12 by Wen Heping | Files touched by this commit (2)
Log message:
Update to 1.004003

Upstream changes:
1.004003        2022-09-30

 [ Bug Fixes ]
 - If exporting non-CODE items which happen to have the same name as
   exported CODE items, their export was being quietly blocked. These
   exports should now work.
   Diab Jerius++
   <https://github.com/tobyink/p5-exporter-tiny/issues/9>
 - Using ! with a tag now works; it was previously documented as working
   but not implemented.
   Diab Jerius++
   <https://github.com/tobyink/p5-exporter-tiny/issues/8>

1.004002        2022-09-16

 [ Test Suite ]
 - Fix for t/15nonhashvalue.t on old versions of Test::More which don't
   support `done_testing`.

1.004001        2022-09-09

 [ Bug Fixes ]
 - Fix handling of non-hashref references in import list.

1.004000        2022-08-26

 [ Documentation ]
 - Document that the `-lexical` export option is experimental.

 [ Packaging ]
 - No functional changes; repackage as stable.

1.003_002       2022-08-18

 [ Bug Fixes ]
 - Quote $1 when passing it as a parameter to a function
   Eugen Konkov++
   <https://github.com/tobyink/p5-exporter-tiny/issues/7>

1.003_001       2022-07-21

 [ Bug Fixes ]
 - Correctly check Perl version is at least 5.37.2+ before supporting
   -lexical option.

1.003_000       2022-07-21

 - Updated: Provide a `-lexical` export option on Perl 5.37.2+.
   2022-06-28 13:38:00 by Thomas Klausner | Files touched by this commit (3952)
Log message:
*: recursive bump for perl 5.36
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2021-05-24 21:56:06 by Thomas Klausner | Files touched by this commit (3575)
Log message:
*: recursive bump for perl 5.34
   2020-08-31 20:13:29 by Thomas Klausner | Files touched by this commit (3631)
Log message:
*: bump PKGREVISION for perl-5.32.
   2020-04-26 15:54:14 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(devel/p5-Exporter-Tiny) Updated to 1.002002

1.002002        2020-04-24

 [ Bug Fixes ]
 - Bug in handling regexps in import lists; Exporter::Tiny allowed regexps
   like /foo/i but not /foo/. Having trailing flags is now optional!
   Tomohiro Hosaka++
   <https://github.com/tobyink/p5-exporter-tiny/issues/6>
 - Tests would fail if `PERL5OPT=-Mfeature=:5.18` environment variable was
   set. This is because bareword `-default` was being interpreted as the
   Perl `default` keyword.
   zhumengu++
   <https://github.com/tobyink/p5-exporter-tiny/issues/5>
   2019-08-11 15:25:21 by Thomas Klausner | Files touched by this commit (3557)
Log message:
Bump PKGREVISIONs for perl 5.30.0