summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2008-09-07 20:40:52 +0000
committerseb <seb@pkgsrc.org>2008-09-07 20:40:52 +0000
commit9e3059abf59727afd09c6718fc8cfd13d06c1589 (patch)
tree1612e26afe77e1829ef8c7afc023fa2100646961 /databases
parent014c0cb1b3683ae2f5094a3595145df58d23e66a (diff)
downloadpkgsrc-9e3059abf59727afd09c6718fc8cfd13d06c1589.tar.gz
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.
Diffstat (limited to 'databases')
-rw-r--r--databases/p5-DBICx-TestDatabase/DESCR5
-rw-r--r--databases/p5-DBICx-TestDatabase/Makefile23
-rw-r--r--databases/p5-DBICx-TestDatabase/distinfo5
3 files changed, 33 insertions, 0 deletions
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