summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVlad Glagolev2015-05-03 17:42:39 +0300
committerVlad Glagolev2015-05-03 17:42:39 +0300
commit53f0ec62694e859a8eb3cd7c353fe62dfd4ebbc7 (patch)
treed28c6f8364e2c14c7982e96a38994ee6923e2664
parent16ed64111a8f4b9264d5a081d25cfbd17c10b98c (diff)
exporter-tiny: new spell, exporter with the features of Sub::Exporter
-rw-r--r--ChangeLog4
-rwxr-xr-xperl-cpan/exporter-tiny/DEPENDS1
-rwxr-xr-xperl-cpan/exporter-tiny/DETAILS27
-rw-r--r--perl-cpan/exporter-tiny/HISTORY2
4 files changed, 34 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 32b78ad884..113487fa22 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-05-03 Vlad Glagolev <stealth@sourcemage.org>
+ * perl-cpan/exporter-tiny: new spell, exporter with the features of
+ Sub::Exporter
+
2015-05-02 Vlad Glagolev <stealth@sourcemage.org>
* perl-cpan/archive-tar: spell deprecated, it's a part of perl now
* perl-cpan/test-harness: spell deprecated, it's a part of perl now
diff --git a/perl-cpan/exporter-tiny/DEPENDS b/perl-cpan/exporter-tiny/DEPENDS
new file mode 100755
index 0000000000..6826bc7952
--- /dev/null
+++ b/perl-cpan/exporter-tiny/DEPENDS
@@ -0,0 +1 @@
+depends perl
diff --git a/perl-cpan/exporter-tiny/DETAILS b/perl-cpan/exporter-tiny/DETAILS
new file mode 100755
index 0000000000..a1e15cf9b0
--- /dev/null
+++ b/perl-cpan/exporter-tiny/DETAILS
@@ -0,0 +1,27 @@
+ SPELL=exporter-tiny
+ SPELLX=Exporter-Tiny
+ VERSION=0.042
+ SOURCE=$SPELLX-$VERSION.tar.gz
+ SOURCE_URL[0]=$PERL_CPAN_URL/authors/id/T/TO/TOBYINK/$SOURCE
+ SOURCE_HASH=sha512:b69b722842b4a907fa434a1a798df6f983bae74d7b82e925a1db684cb166f2ef02a72cce176173af035321dc27ad35b49e1fb1ee57c0e2ca6596d84da140c06f
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELLX-$VERSION"
+ LICENSE=ART
+ WEB_SITE=http://search.cpan.org/dist/Exporter-Tiny/
+ ENTERED=20150503
+ KEYWORDS="perl"
+ SHORT="exporter with the features of Sub::Exporter"
+cat << EOF
+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.
+EOF
diff --git a/perl-cpan/exporter-tiny/HISTORY b/perl-cpan/exporter-tiny/HISTORY
new file mode 100644
index 0000000000..72f149f2db
--- /dev/null
+++ b/perl-cpan/exporter-tiny/HISTORY
@@ -0,0 +1,2 @@
+2015-05-01 Vlad Glagolev <stealth@sourcemage.org>
+ * DETAILS, DEPENDS: created spell, version 0.042