openbsd-ports/databases/p5-DBICx-TestDatabase/Makefile
sthen 9739d5eecb 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.
2012-04-22 20:34:16 +00:00

24 lines
514 B
Makefile

# $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>