Test::mysqld automatically setups a mysqld instance in a temporary

directory, and destroys it when the perl script exits.

WWW: http://search.cpan.org/dist/Test-mysqld/
This commit is contained in:
Jun Kuriyama 2011-12-31 09:29:12 +00:00
parent 145c6029e0
commit db617f61a7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=288316
5 changed files with 37 additions and 0 deletions

View file

@ -461,6 +461,7 @@
SUBDIR += p5-Test-Database
SUBDIR += p5-Test-DatabaseRow
SUBDIR += p5-Test-Fixture-DBI
SUBDIR += p5-Test-mysqld
SUBDIR += p5-Test-postgresql
SUBDIR += p5-Text-Query-SQL
SUBDIR += p5-Text-xSV

View file

@ -0,0 +1,27 @@
# New ports collection makefile for: Test::mysqld
# Date created: 31 Dec 2011
# Whom: Jun Kuriyama <kuriyama@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Test-mysqld
PORTVERSION= 0.14
CATEGORIES= databases perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Perl extension for mysqld test runner
RUN_DEPENDS= \
p5-Class-Accessor-Lite>0:${PORTSDIR}/devel/p5-Class-Accessor-Lite \
${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql \
p5-Test-SharedFork>=0.06:${PORTSDIR}/devel/p5-Test-SharedFork
BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
MAN3= Test::mysqld.3
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (Test-mysqld-0.14.tar.gz) = e3f81d055f46195c877fbc833309bd34456d37f1313268e9c8cdd288bab5a15b
SIZE (Test-mysqld-0.14.tar.gz) = 21236

View file

@ -0,0 +1,4 @@
Test::mysqld automatically setups a mysqld instance in a temporary
directory, and destroys it when the perl script exits.
WWW: http://search.cpan.org/dist/Test-mysqld/

View file

@ -0,0 +1,3 @@
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/mysqld/.packlist
%%SITE_PERL%%/Test/mysqld.pm
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/mysqld