pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/p5-Perl6-Export Added devel/p5-Perl6-Export-0.07



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dd932fe6e4c2
branches:  trunk
changeset: 514046:dd932fe6e4c2
user:      abs <abs%pkgsrc.org@localhost>
date:      Wed Jun 07 11:56:15 2006 +0000

description:
Added devel/p5-Perl6-Export-0.07

This module prototypes the Perl 6 'exported' and 'exportable' traits
in Perl 5.

Instead of messing around with @EXPORT arrays, you just declare which subs
are to be exported (or are exportable on request) as part of those subs.

For example:

        sub foo is exported {           # by default
                ...
        }

        sub bar is exportable {         # on request
                ...
        }

diffstat:

 devel/p5-Perl6-Export/DESCR    |  15 +++++++++++++++
 devel/p5-Perl6-Export/Makefile |  19 +++++++++++++++++++
 devel/p5-Perl6-Export/PLIST    |   1 +
 devel/p5-Perl6-Export/distinfo |   5 +++++
 4 files changed, 40 insertions(+), 0 deletions(-)

diffs (56 lines):

diff -r 159a90600482 -r dd932fe6e4c2 devel/p5-Perl6-Export/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Perl6-Export/DESCR       Wed Jun 07 11:56:15 2006 +0000
@@ -0,0 +1,15 @@
+This module prototypes the Perl 6 'exported' and 'exportable' traits
+in Perl 5.
+
+Instead of messing around with @EXPORT arrays, you just declare which subs
+are to be exported (or are exportable on request) as part of those subs.
+
+For example:
+
+       sub foo is exported {           # by default
+               ...
+       }
+
+       sub bar is exportable {         # on request
+               ...
+       }
diff -r 159a90600482 -r dd932fe6e4c2 devel/p5-Perl6-Export/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Perl6-Export/Makefile    Wed Jun 07 11:56:15 2006 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/06/07 11:56:15 abs Exp $
+#
+
+DISTNAME=      Perl6-Export-0.07
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    devel perl5
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=../../authors/id/D/DC/DCONWAY/}
+
+MAINTAINER=    abs%absd.org@localhost
+HOMEPAGE=      http://search.cpan.org/dist/Perl6-Export/
+COMMENT=       Implements the Perl 6 'is export(...)' trait
+
+PKG_INSTALLATION_TYPES=        overwrite pkgviews
+
+USE_LANGUAGES= # empty
+PERL5_PACKLIST=        auto/Perl6/Export/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 159a90600482 -r dd932fe6e4c2 devel/p5-Perl6-Export/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Perl6-Export/PLIST       Wed Jun 07 11:56:15 2006 +0000
@@ -0,0 +1,1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/06/07 11:56:15 abs Exp $
diff -r 159a90600482 -r dd932fe6e4c2 devel/p5-Perl6-Export/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Perl6-Export/distinfo    Wed Jun 07 11:56:15 2006 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/06/07 11:56:15 abs Exp $
+
+SHA1 (Perl6-Export-0.07.tar.gz) = 23c4516253fa4390ea4a1be49563b29c7180ace4
+RMD160 (Perl6-Export-0.07.tar.gz) = 2293703d8a3d9306b98ac8fbc08cbf84deb3308e
+Size (Perl6-Export-0.07.tar.gz) = 3544 bytes



Home | Main Index | Thread Index | Old Index