summaryrefslogtreecommitdiff
path: root/devel/p5-Parse-CPAN-Meta
diff options
context:
space:
mode:
authorsno <sno@pkgsrc.org>2009-03-01 22:09:26 +0000
committersno <sno@pkgsrc.org>2009-03-01 22:09:26 +0000
commit80e8cbe57db99d94476308308165b2b2aca18f62 (patch)
tree77dee4df1e9a4f604bc986b30a25dc4003925d76 /devel/p5-Parse-CPAN-Meta
parent2f9550b1916481cc9515aa147ba475959db8e122 (diff)
downloadpkgsrc-80e8cbe57db99d94476308308165b2b2aca18f62.tar.gz
Adding Parse::CPAN::Meta for later CPAN::Reporter addition to pkgsrc.
Parse::CPAN::Meta is a parser for META.yml files, based on the parser half of YAML::Tiny.
Diffstat (limited to 'devel/p5-Parse-CPAN-Meta')
-rw-r--r--devel/p5-Parse-CPAN-Meta/DESCR12
-rw-r--r--devel/p5-Parse-CPAN-Meta/Makefile24
-rw-r--r--devel/p5-Parse-CPAN-Meta/distinfo5
3 files changed, 41 insertions, 0 deletions
diff --git a/devel/p5-Parse-CPAN-Meta/DESCR b/devel/p5-Parse-CPAN-Meta/DESCR
new file mode 100644
index 00000000000..a1576024809
--- /dev/null
+++ b/devel/p5-Parse-CPAN-Meta/DESCR
@@ -0,0 +1,12 @@
+Parse::CPAN::Meta is a parser for META.yml files, based on the parser half
+of YAML::Tiny.
+
+It supports a basic subset of the full YAML specification, enough to implement
+parsing of typical META.yml files, and other similarly simple YAML files.
+
+If you need something with more power, move up to a full YAML parser such as
+YAML, YAML::Syck or YAML::LibYAML.
+
+Parse::CPAN::Meta provides a very simply API of only two functions, based on
+the YAML functions of the same name. Wherever possible, identical calling
+semantics are used.
diff --git a/devel/p5-Parse-CPAN-Meta/Makefile b/devel/p5-Parse-CPAN-Meta/Makefile
new file mode 100644
index 00000000000..efa45e98b65
--- /dev/null
+++ b/devel/p5-Parse-CPAN-Meta/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2009/03/01 22:09:26 sno Exp $
+#
+
+DISTNAME= Parse-CPAN-Meta-0.04
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Parse/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/Parse-CPAN-Meta/
+COMMENT= Perl5 module to parse META.yml and other similar CPAN metadata files
+
+PKG_DESTDIR_SUPPORT= user-destdir
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+USE_LANGUAGES= # empty
+PERL5_PACKLIST= auto/Parse/CPAN/Meta/.packlist
+
+DEPENDS+= {perl>=5.6.0,p5-PathTools>=0.80}:../../devel/p5-PathTools
+BUILD_DEPENDS+= {perl>=5.7.3,p5-Test-Simple>=0.47}:../../devel/p5-Test-Simple
+BUILD_DEPENDS+= {perl>=5.6.0,p5-ExtUtils-MakeMaker>=0.30}:../../devel/p5-ExtUtils-MakeMaker
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p5-Parse-CPAN-Meta/distinfo b/devel/p5-Parse-CPAN-Meta/distinfo
new file mode 100644
index 00000000000..f84bd6591a7
--- /dev/null
+++ b/devel/p5-Parse-CPAN-Meta/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2009/03/01 22:09:26 sno Exp $
+
+SHA1 (Parse-CPAN-Meta-0.04.tar.gz) = a5be668be6d6d8347b8ef5eb06b5b5c2b003ac91
+RMD160 (Parse-CPAN-Meta-0.04.tar.gz) = d339d0d4b006c9d5d661e5ef6f4893a9734397e0
+Size (Parse-CPAN-Meta-0.04.tar.gz) = 12783 bytes