mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
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/
This commit is contained in:
parent
198550fad0
commit
10b9ccfd51
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=221963
@ -270,6 +270,7 @@
|
||||
SUBDIR += p5-DBD-mysql60
|
||||
SUBDIR += p5-DBI
|
||||
SUBDIR += p5-DBI-Shell
|
||||
SUBDIR += p5-DBICx-TestDatabase
|
||||
SUBDIR += p5-DBIWrapper
|
||||
SUBDIR += p5-DBIx-Abstract
|
||||
SUBDIR += p5-DBIx-AnyDBD
|
||||
|
27
databases/p5-DBICx-TestDatabase/Makefile
Normal file
27
databases/p5-DBICx-TestDatabase/Makefile
Normal file
@ -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>
|
3
databases/p5-DBICx-TestDatabase/distinfo
Normal file
3
databases/p5-DBICx-TestDatabase/distinfo
Normal file
@ -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
|
7
databases/p5-DBICx-TestDatabase/pkg-descr
Normal file
7
databases/p5-DBICx-TestDatabase/pkg-descr
Normal file
@ -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/
|
8
databases/p5-DBICx-TestDatabase/pkg-plist
Normal file
8
databases/p5-DBICx-TestDatabase/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user