diff options
author | wiz <wiz@pkgsrc.org> | 2014-09-06 13:58:41 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2014-09-06 13:58:41 +0000 |
commit | b984eb1fe46c4ef86c6c3c61adc7b8f10899db58 (patch) | |
tree | cf782e1332a25b4b9326b2c7ad4ba9c5198de439 /devel/p5-Exporter-Tiny | |
parent | e0451c4c7920cf3a6848f2ca5f446abe40959ea7 (diff) | |
download | pkgsrc-b984eb1fe46c4ef86c6c3c61adc7b8f10899db58.tar.gz |
Import p5-Exporter-Tiny-0.038 as devel/p5-Exporter-Tiny.
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.
Diffstat (limited to 'devel/p5-Exporter-Tiny')
-rw-r--r-- | devel/p5-Exporter-Tiny/DESCR | 16 | ||||
-rw-r--r-- | devel/p5-Exporter-Tiny/Makefile | 17 | ||||
-rw-r--r-- | devel/p5-Exporter-Tiny/distinfo | 5 |
3 files changed, 38 insertions, 0 deletions
diff --git a/devel/p5-Exporter-Tiny/DESCR b/devel/p5-Exporter-Tiny/DESCR new file mode 100644 index 00000000000..aa6c6201e8f --- /dev/null +++ b/devel/p5-Exporter-Tiny/DESCR @@ -0,0 +1,16 @@ +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. diff --git a/devel/p5-Exporter-Tiny/Makefile b/devel/p5-Exporter-Tiny/Makefile new file mode 100644 index 00000000000..5656d4ee522 --- /dev/null +++ b/devel/p5-Exporter-Tiny/Makefile @@ -0,0 +1,17 @@ +# $NetBSD: Makefile,v 1.1 2014/09/06 13:58:41 wiz Exp $ + +DISTNAME= Exporter-Tiny-0.038 +PKGNAME= p5-${DISTNAME} +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/T/TO/TOBYINK/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://search.cpan.org/dist/Exporter-Tiny/ +COMMENT= Exporter with the features of Sub::Exporter but only core dependencies +LICENSE= gnu-gpl-v1 OR artistic + +USE_LANGUAGES= # empty +PERL5_PACKLIST= auto/Exporter/Tiny/.packlist + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/p5-Exporter-Tiny/distinfo b/devel/p5-Exporter-Tiny/distinfo new file mode 100644 index 00000000000..afbec6b383d --- /dev/null +++ b/devel/p5-Exporter-Tiny/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2014/09/06 13:58:41 wiz Exp $ + +SHA1 (Exporter-Tiny-0.038.tar.gz) = e2dddc4c4d5599aad7f19d9b5960d544f8319ee3 +RMD160 (Exporter-Tiny-0.038.tar.gz) = 79a2ecae62a58b6f9e9f49e05d51a84b4d42837d +Size (Exporter-Tiny-0.038.tar.gz) = 28750 bytes |