diff options
author | seb <seb@pkgsrc.org> | 2010-07-11 20:09:31 +0000 |
---|---|---|
committer | seb <seb@pkgsrc.org> | 2010-07-11 20:09:31 +0000 |
commit | 0b10dbf795344667dd3f74ee5f4a531d3cfa787c (patch) | |
tree | 193b98b672270ea3cbfa4b976bc0a0155e34b31c /devel/p5-BackPAN-Index | |
parent | 33c65eac5d8dad45044c48fa8c4ddcf1bd08aaed (diff) | |
download | pkgsrc-0b10dbf795344667dd3f74ee5f4a531d3cfa787c.tar.gz |
Initial import of p5-BackPAN-Index version 0.39 in the NetBSD
Packages Collection.
The Perl 5 module BackPAN::Index provides an index of BackPAN and
some handy methods. The Comprehensive Perl Archive Network (CPAN)
is a very useful collection of Perl code. However, in order to keep
CPAN relatively small, authors of modules can delete older versions
of modules to only let CPAN have the latest version of a module.
BackPAN is where these deleted modules are backed up. It's more
like a full CPAN mirror, only without the deletions.
Diffstat (limited to 'devel/p5-BackPAN-Index')
-rw-r--r-- | devel/p5-BackPAN-Index/DESCR | 7 | ||||
-rw-r--r-- | devel/p5-BackPAN-Index/Makefile | 36 | ||||
-rw-r--r-- | devel/p5-BackPAN-Index/distinfo | 6 | ||||
-rw-r--r-- | devel/p5-BackPAN-Index/patches/patch-aa | 36 |
4 files changed, 85 insertions, 0 deletions
diff --git a/devel/p5-BackPAN-Index/DESCR b/devel/p5-BackPAN-Index/DESCR new file mode 100644 index 00000000000..9fb15a45aa1 --- /dev/null +++ b/devel/p5-BackPAN-Index/DESCR @@ -0,0 +1,7 @@ +The Perl 5 module BackPAN::Index provides an index of BackPAN and +some handy methods. The Comprehensive Perl Archive Network (CPAN) +is a very useful collection of Perl code. However, in order to keep +CPAN relatively small, authors of modules can delete older versions +of modules to only let CPAN have the latest version of a module. +BackPAN is where these deleted modules are backed up. It's more +like a full CPAN mirror, only without the deletions. diff --git a/devel/p5-BackPAN-Index/Makefile b/devel/p5-BackPAN-Index/Makefile new file mode 100644 index 00000000000..e234c982ad4 --- /dev/null +++ b/devel/p5-BackPAN-Index/Makefile @@ -0,0 +1,36 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/07/11 20:09:31 seb Exp $ +# + +DISTNAME= BackPAN-Index-0.39 +PKGNAME= p5-${DISTNAME} +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=BackPAN/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://search.cpan.org/dist/BackPAN-Index/ +COMMENT= Perl 5 module providing an interface to the BackPAN index +LICENSE= ${PERL5_LICENSE} + +PKG_DESTDIR_SUPPORT= user-destdir + +USE_LANGUAGES= # empty +PERL5_PACKLIST= auto/BackPAN/Index/.packlist + +REPLACE_PERL+= create_backpan_index.pl + +BUILD_DEPENDS+= p5-Test-Compile>=0.11:../../devel/p5-Test-Compile +BUILD_DEPENDS+= {perl>=5.10.1,p5-Test-Simple>=0.90}:../../devel/p5-Test-Simple +DEPENDS+= p5-App-Cache>=0.37:../../devel/p5-App-Cache +DEPENDS+= p5-CLASS>=1.00:../../devel/p5-CLASS +DEPENDS+= p5-CPAN-DistnameInfo>=0.09:../../devel/p5-CPAN-DistnameInfo +DEPENDS+= p5-Class-Accessor-[0-9]*:../../devel/p5-Class-Accessor +DEPENDS+= p5-DBD-SQLite>=1.25:../../databases/p5-DBD-SQLite +DEPENDS+= p5-DBIx-Class>=0.08109:../../databases/p5-DBIx-Class +DEPENDS+= p5-DBIx-Class-Schema-Loader>=0.05003:../../databases/p5-DBIx-Class-Schema-Loader +DEPENDS+= p5-libwww-[0-9]*:../../www/p5-libwww +DEPENDS+= p5-Path-Class>=0.17:../../devel/p5-Path-Class +DEPENDS+= p5-autodie-[0-9]*:../../devel/p5-autodie +DEPENDS+= p5-parent-[0-9]*:../../devel/p5-parent + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/p5-BackPAN-Index/distinfo b/devel/p5-BackPAN-Index/distinfo new file mode 100644 index 00000000000..ef695361de0 --- /dev/null +++ b/devel/p5-BackPAN-Index/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2010/07/11 20:09:31 seb Exp $ + +SHA1 (BackPAN-Index-0.39.tar.gz) = d6f6569cd2a2bba196bef2fd3ef907378dfa46b3 +RMD160 (BackPAN-Index-0.39.tar.gz) = 778fd641fde6a038a54498e7d43888987d8ac6ed +Size (BackPAN-Index-0.39.tar.gz) = 3159736 bytes +SHA1 (patch-aa) = e34578cbd4cab7bf59967bc4dab3ecf5f403bbfa diff --git a/devel/p5-BackPAN-Index/patches/patch-aa b/devel/p5-BackPAN-Index/patches/patch-aa new file mode 100644 index 00000000000..4fd585ef8ab --- /dev/null +++ b/devel/p5-BackPAN-Index/patches/patch-aa @@ -0,0 +1,36 @@ +$NetBSD: patch-aa,v 1.1.1.1 2010/07/11 20:09:31 seb Exp $ + +From http://github.com/acme/parse-backpan-packages.git +Commit 2752cc6c816fe965711d + +>Recent change to DBIx::Class doesn't like nullable foreign keys, +>not that we really need them + +--- lib/BackPAN/Index.pm.orig 2010-04-17 17:20:07.000000000 +0000 ++++ lib/BackPAN/Index.pm +@@ -240,14 +240,14 @@ sub _setup_database { + my %create_for = ( + files => <<'SQL', + CREATE TABLE IF NOT EXISTS files ( +- path TEXT PRIMARY KEY, ++ path TEXT NOT NULL PRIMARY KEY, + date INTEGER NOT NULL, + size INTEGER NOT NULL CHECK ( size >= 0 ) + ) + SQL + releases => <<'SQL', + CREATE TABLE IF NOT EXISTS releases ( +- path TEXT PRIMARY KEY REFERENCES files, ++ path TEXT NOT NULL PRIMARY KEY REFERENCES files, + dist TEXT NOT NULL REFERENCES dists, + date INTEGER NOT NULL, + size TEXT NOT NULL, +@@ -260,7 +260,7 @@ SQL + + dists => <<'SQL', + CREATE TABLE IF NOT EXISTS dists ( +- name TEXT PRIMARY KEY, ++ name TEXT NOT NULL PRIMARY KEY, + first_release TEXT NOT NULL REFERENCES releases, + latest_release TEXT NOT NULL REFERENCES releases, + first_date INTEGER NOT NULL, |