From 9e3059abf59727afd09c6718fc8cfd13d06c1589 Mon Sep 17 00:00:00 2001 From: seb Date: Sun, 7 Sep 2008 20:40:52 +0000 Subject: Initial import of p5-DBICx-TestDatabase version 0.02 in the NetBSD Packages Collection. The Perl 5 module DBICx::TestDatabase creates a temporary SQLite database, deploys your DBIC schema, and then connects to it. This lets you easily test your DBIC schema. Since you have a fresh database for every test, you don't have to worry about cleaning up after your tests, ordering of tests affecting failure, etc. --- databases/p5-DBICx-TestDatabase/DESCR | 5 +++++ databases/p5-DBICx-TestDatabase/Makefile | 23 +++++++++++++++++++++++ databases/p5-DBICx-TestDatabase/distinfo | 5 +++++ 3 files changed, 33 insertions(+) create mode 100644 databases/p5-DBICx-TestDatabase/DESCR create mode 100644 databases/p5-DBICx-TestDatabase/Makefile create mode 100644 databases/p5-DBICx-TestDatabase/distinfo (limited to 'databases') diff --git a/databases/p5-DBICx-TestDatabase/DESCR b/databases/p5-DBICx-TestDatabase/DESCR new file mode 100644 index 00000000000..8bbd4faadf4 --- /dev/null +++ b/databases/p5-DBICx-TestDatabase/DESCR @@ -0,0 +1,5 @@ +The Perl 5 module DBICx::TestDatabase creates a temporary SQLite +database, deploys your DBIC schema, and then connects to it. This +lets you easily test your DBIC schema. Since you have a fresh +database for every test, you don't have to worry about cleaning up +after your tests, ordering of tests affecting failure, etc. diff --git a/databases/p5-DBICx-TestDatabase/Makefile b/databases/p5-DBICx-TestDatabase/Makefile new file mode 100644 index 00000000000..d126a256f26 --- /dev/null +++ b/databases/p5-DBICx-TestDatabase/Makefile @@ -0,0 +1,23 @@ +# $NetBSD: Makefile,v 1.1.1.1 2008/09/07 20:40:52 seb Exp $ + +DISTNAME= DBICx-TestDatabase-0.02 +PKGNAME= p5-${DISTNAME} +CATEGORIES= databases perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../by-authors/id/J/JR/JROCKWAY/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://search.cpan.org/dist/DBICx-TestDatabase/ +COMMENT= Perl 5 module to create temporary database from a DBIx::Class::Schema + +PKG_DESTDIR_SUPPORT= user-destdir + +USE_LANGUAGES= # empty +PERL5_PACKLIST= auto/DBICx/TestDatabase/.packlist + +BUILD_DEPENDS+= p5-DBIx-Class-[0-9]*:../../databases/p5-DBIx-Class +BUILD_DEPENDS+= p5-Test-use-ok-[0-9]*:../../devel/p5-Test-use-ok +DEPENDS+= p5-DBD-SQLite:../../databases/p5-DBD-SQLite +DEPENDS+= p5-SQL-Translator-[0-9]*:../../databases/p5-SQL-Translator + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/databases/p5-DBICx-TestDatabase/distinfo b/databases/p5-DBICx-TestDatabase/distinfo new file mode 100644 index 00000000000..928b8355f7f --- /dev/null +++ b/databases/p5-DBICx-TestDatabase/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2008/09/07 20:40:52 seb Exp $ + +SHA1 (DBICx-TestDatabase-0.02.tar.gz) = 16935864a5ef035a506c1a03537540b79afa3b70 +RMD160 (DBICx-TestDatabase-0.02.tar.gz) = cb98d35ab21609993a9323c800716d273ad36f1b +Size (DBICx-TestDatabase-0.02.tar.gz) = 13561 bytes -- cgit v1.2.3