import ports/databases/p5-DBICx-TestDatabase, from Andreas Voegele, ok okan@

DBICx::TestDatabase creates a temporary SQLite database, deploys your
DBIC schema, and then connects to it.  This lets you easily test your
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.
This commit is contained in:
sthen 2012-04-22 20:34:16 +00:00
parent dc1f710c31
commit 9739d5eecb
4 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,23 @@
# $OpenBSD: Makefile,v 1.1.1.1 2012/04/22 20:34:16 sthen Exp $
COMMENT = create a temporary database from a DBIx::Class::Schema
MODULES = cpan
DISTNAME = DBICx-TestDatabase-0.04
CATEGORIES = databases
CPAN_AUTHOR = JROCKWAY
# same as perl
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
RUN_DEPENDS = databases/p5-DBD-SQLite \
databases/p5-SQL-Translator
REGRESS_DEPENDS = databases/p5-DBIx-Class
CONFIGURE_STYLE = modinst
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (DBICx-TestDatabase-0.04.tar.gz) = fkNdxHzSLk7x0IjNCvY6SA==
RMD160 (DBICx-TestDatabase-0.04.tar.gz) = Ct/OjNkkXywdh5WxWApdM1iCdvg=
SHA1 (DBICx-TestDatabase-0.04.tar.gz) = c1JqvKAcmw/PaH/jJQIiacWum8E=
SHA256 (DBICx-TestDatabase-0.04.tar.gz) = XGfL53f9DejzfFRtLVWDmPe2TQSXKAFfrTqNxzpY6Xs=
SIZE (DBICx-TestDatabase-0.04.tar.gz) = 20120

View File

@ -0,0 +1,5 @@
DBICx::TestDatabase creates a temporary SQLite database, deploys your
DBIC schema, and then connects to it. This lets you easily test your
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.

View File

@ -0,0 +1,7 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/04/22 20:34:16 sthen Exp $
${P5SITE}/DBICx/
${P5SITE}/DBICx/TestDatabase/
${P5SITE}/DBICx/TestDatabase.pm
${P5SITE}/DBICx/TestDatabase/Subclass.pm
@man man/man3p/DBICx::TestDatabase.3p
@man man/man3p/DBICx::TestDatabase::Subclass.3p