diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2008-10-24 09:30:41 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2008-10-24 09:30:41 +0000 |
commit | 10b9ccfd51f3086ac7f41b025bf22270f7f1afd2 (patch) | |
tree | de67991c027b9c4503701799d492f778c6519f91 /databases/p5-DBICx-TestDatabase | |
parent | 198550fad091905439a9c26e3cfa1bc1f38d5260 (diff) |
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.
WWW: http://search.cpan.org/dist/DBICx-TestDatabase/
Notes
Notes:
svn path=/head/; revision=221963
Diffstat (limited to 'databases/p5-DBICx-TestDatabase')
-rw-r--r-- | databases/p5-DBICx-TestDatabase/Makefile | 27 | ||||
-rw-r--r-- | databases/p5-DBICx-TestDatabase/distinfo | 3 | ||||
-rw-r--r-- | databases/p5-DBICx-TestDatabase/pkg-descr | 7 | ||||
-rw-r--r-- | databases/p5-DBICx-TestDatabase/pkg-plist | 8 |
4 files changed, 45 insertions, 0 deletions
diff --git a/databases/p5-DBICx-TestDatabase/Makefile b/databases/p5-DBICx-TestDatabase/Makefile new file mode 100644 index 000000000000..59d59c7e03b9 --- /dev/null +++ b/databases/p5-DBICx-TestDatabase/Makefile @@ -0,0 +1,27 @@ +# New ports collection makefile for: DBICx-TestDatabase +# Date created: 23 Oct 2008 +# Whom: Martin Wilke <miwi@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= DBICx-TestDatabase +PORTVERSION= 0.02 +CATEGORIES= databases perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= ../../authors/id/J/JR/JROCKWAY/ +PKGNAMEPREFIX= p5- + +MAINTAINER= miwi@FreeBSD.org +COMMENT= Module to create temporary database from a DBIx::Class::Schema + +RUN_DEPENDS= p5-DBD-SQLite>=1.12:${PORTSDIR}/databases/p5-DBD-SQLite \ + p5-SQL-Translator>=0:${PORTSDIR}/databases/p5-SQL-Translator +BUILD_DEPENDS= p5-DBIx-Class>=0.07005:${PORTSDIR}/databases/p5-DBIx-Class + +PERL_CONFIGURE= yes + +MAN3= DBICx::TestDatabase.3 \ + DBICx::TestDatabase::Subclass.3 + +.include <bsd.port.mk> diff --git a/databases/p5-DBICx-TestDatabase/distinfo b/databases/p5-DBICx-TestDatabase/distinfo new file mode 100644 index 000000000000..87177f2abb7f --- /dev/null +++ b/databases/p5-DBICx-TestDatabase/distinfo @@ -0,0 +1,3 @@ +MD5 (DBICx-TestDatabase-0.02.tar.gz) = e236d1a2bb4b07c70b35af0ae6e49415 +SHA256 (DBICx-TestDatabase-0.02.tar.gz) = 315be2c40dffa20eddd31e48fd3dd6d4cbab720e064f4f26e572365165c5ed2a +SIZE (DBICx-TestDatabase-0.02.tar.gz) = 13561 diff --git a/databases/p5-DBICx-TestDatabase/pkg-descr b/databases/p5-DBICx-TestDatabase/pkg-descr new file mode 100644 index 000000000000..38d0ec794954 --- /dev/null +++ b/databases/p5-DBICx-TestDatabase/pkg-descr @@ -0,0 +1,7 @@ +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. + +WWW: http://search.cpan.org/dist/DBICx-TestDatabase/ diff --git a/databases/p5-DBICx-TestDatabase/pkg-plist b/databases/p5-DBICx-TestDatabase/pkg-plist new file mode 100644 index 000000000000..1bc750d33f03 --- /dev/null +++ b/databases/p5-DBICx-TestDatabase/pkg-plist @@ -0,0 +1,8 @@ +%%SITE_PERL%%/DBICx/TestDatabase.pm +%%SITE_PERL%%/DBICx/TestDatabase/Subclass.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBICx/TestDatabase/.packlist +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBICx/TestDatabase +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBICx +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto +@dirrmtry %%SITE_PERL%%/DBICx/TestDatabase +@dirrmtry %%SITE_PERL%%/DBICx |