summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authormef <mef@pkgsrc.org>2016-07-20 12:51:25 +0000
committermef <mef@pkgsrc.org>2016-07-20 12:51:25 +0000
commit5aaec6851340c151d417e6da5a994f682278a6bd (patch)
tree48804af2061b028c7b8483be91bbbd0d78d1cbc3 /devel
parent59f78e536244dbb1d0aa3aaa18e00d980e8eba2e (diff)
downloadpkgsrc-5aaec6851340c151d417e6da5a994f682278a6bd.tar.gz
Import p5-MooX-ClassAttribute-0.011 as devel/p5-MooX-ClassAttribute.
This module adds support for class attributes to Moo. Class attributes are attributes whose values are not associated with any particular instance of the class. For example, the Person class might have a class attribute "binomial_name"; its value "Homo sapiens" is not associated with any particular individual, but the class as a whole.
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-MooX-ClassAttribute/DESCR7
-rw-r--r--devel/p5-MooX-ClassAttribute/Makefile19
-rw-r--r--devel/p5-MooX-ClassAttribute/distinfo6
3 files changed, 32 insertions, 0 deletions
diff --git a/devel/p5-MooX-ClassAttribute/DESCR b/devel/p5-MooX-ClassAttribute/DESCR
new file mode 100644
index 00000000000..a3f5e3124a0
--- /dev/null
+++ b/devel/p5-MooX-ClassAttribute/DESCR
@@ -0,0 +1,7 @@
+This module adds support for class attributes to Moo. Class attributes are
+attributes whose values are not associated with any particular instance of
+the class.
+
+For example, the Person class might have a class attribute "binomial_name";
+its value "Homo sapiens" is not associated with any particular individual,
+but the class as a whole.
diff --git a/devel/p5-MooX-ClassAttribute/Makefile b/devel/p5-MooX-ClassAttribute/Makefile
new file mode 100644
index 00000000000..ec0a7f2c9ae
--- /dev/null
+++ b/devel/p5-MooX-ClassAttribute/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2016/07/20 12:51:25 mef Exp $
+
+DISTNAME= MooX-ClassAttribute-0.011
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= devel perl5
+MASTER_SITES= http://search.cpan.org/CPAN/authors/id/T/TO/TOBYINK/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/CPAN/authors/id/T/TO/TOBYINK/
+COMMENT= Declare class attributes Moose-style... but without Moose
+LICENSE= ${PERL5_LICENSE}
+
+# for make test
+BUILD_DEPENDS+= p5-MooseX-ClassAttribute-[0-9]*:../../devel/p5-MooseX-ClassAttribute
+
+PERL5_PACKLIST= auto/MooX/ClassAttribute/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p5-MooX-ClassAttribute/distinfo b/devel/p5-MooX-ClassAttribute/distinfo
new file mode 100644
index 00000000000..160390cc986
--- /dev/null
+++ b/devel/p5-MooX-ClassAttribute/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/07/20 12:51:25 mef Exp $
+
+SHA1 (MooX-ClassAttribute-0.011.tar.gz) = 9b99314e819f60c2f11e7b5392f8a6d17e4b19f6
+RMD160 (MooX-ClassAttribute-0.011.tar.gz) = 0c8470e335d43b1213605a3f10b777566115dc53
+SHA512 (MooX-ClassAttribute-0.011.tar.gz) = 00c62ff1a065a21f761357969e94bd45b2320bfc79e125635b87a034b141aed756ebae789602afb01b3341f5be980a2a8348305cb6c726a8d6b6cee2e3af1ccf
+Size (MooX-ClassAttribute-0.011.tar.gz) = 24591 bytes