Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Apr 2009 09:57:29 GMT
From:      Wen Heping <wenheping@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/133301: [NEW PORT]databases/p5-Test-Database:Database handles ready for testing
Message-ID:  <200904020957.n329vTfK075145@www.freebsd.org>
Resent-Message-ID: <200904021000.n32A054p024408@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         133301
>Category:       ports
>Synopsis:       [NEW PORT]databases/p5-Test-Database:Database handles ready for testing
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 02 10:00:04 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Wen Heping
>Release:        FreeBSD 8.0-CURRENT
>Organization:
ChangAn Middle School
>Environment:
FreeBSD fb8.wenjing.com 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sun Mar 22 22:12:06 CST 2009     root@fb8.wenjing.com:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
There's plenty of modules which need a database, and they all have
to be configured differently and they're always a PITA when you first
install and each and every time they upgrade.

Test::Database provides a simple way for test authors to request
a test database, without worrying about environment variables or the
test host configuration.

WWW: http://search.cpan.org/dist/Test-Database/
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-Test-Database
#	p5-Test-Database/Makefile
#	p5-Test-Database/distinfo
#	p5-Test-Database/pkg-descr
#	p5-Test-Database/pkg-plist
#
echo c - p5-Test-Database
mkdir -p p5-Test-Database > /dev/null 2>&1
echo x - p5-Test-Database/Makefile
sed 's/^X//' >p5-Test-Database/Makefile << '4a9ff897c470d10f312c2c3ff76fd2af'
X# New ports collection makefile for: 	p5-Test-Database
X# Date created:				2 April, 2009
X# Whom:					Wen Heping <wenheping@gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Test-Database
XPORTVERSION=	0.99
XCATEGORIES=	databases perl5
XMASTER_SITES=	CPAN
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	wenheping@gmail.com
XCOMMENT=	Database handles ready for testing
X
XBUILD_DEPENDS=	${SITE_PERL}/mach/DBI.pm:${PORTSDIR}/databases/p5-DBI \
X		${SITE_PERL}/Test/Builder/Module.pm:${PORTSDIR}/devel/p5-Test-Simple \
X		p5-File-HomeDir>=0.84:${PORTSDIR}/devel/p5-File-HomeDir \
X		p5-version>=0.76:${PORTSDIR}/devel/p5-version
XRUN_DEPENDS=	${BUILD_DEPENDS}
X
XPERL_CONFIGURE=	yes
X
XMAN3=		Test::Database.3 Test::Database::Driver.3 \
X		Test::Database::Driver::CSV.3 \
X		Test::Database::Driver::DBM.3 \
X		Test::Database::Driver::SQLite2.3 \
X		Test::Database::Driver::mysql.3 \
X		Test::Database::Handle.3 \
X		Test::Database::Driver::SQLite.3
X
X.include <bsd.port.mk>
4a9ff897c470d10f312c2c3ff76fd2af
echo x - p5-Test-Database/distinfo
sed 's/^X//' >p5-Test-Database/distinfo << 'b252910798fcae0adcad35b628c7bb0b'
XMD5 (Test-Database-0.99.tar.gz) = fcbc42ad0e918db56a00a94aeeb637ca
XSHA256 (Test-Database-0.99.tar.gz) = 5327ea775dc6acf647d5643fc5a09957ed38219aa4cf1baa21322e0f64777179
XSIZE (Test-Database-0.99.tar.gz) = 12912
b252910798fcae0adcad35b628c7bb0b
echo x - p5-Test-Database/pkg-descr
sed 's/^X//' >p5-Test-Database/pkg-descr << '55c5ff2b6dd3881187ebbfb53d8aae44'
XThere's plenty of modules which need a database, and they all have
Xto be configured differently and they're always a PITA when you first
Xinstall and each and every time they upgrade.
X
XTest::Database provides a simple way for test authors to request
Xa test database, without worrying about environment variables or the
Xtest host configuration.
X
XWWW: http://search.cpan.org/dist/Test-Database/
55c5ff2b6dd3881187ebbfb53d8aae44
echo x - p5-Test-Database/pkg-plist
sed 's/^X//' >p5-Test-Database/pkg-plist << '39fb013d357b3c4deda2f9ba27fb32bd'
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/Database/.packlist
X%%SITE_PERL%%/Test/Database.pm
X%%SITE_PERL%%/Test/Database/Driver.pm
X%%SITE_PERL%%/Test/Database/Handle.pm
X%%SITE_PERL%%/Test/Database/Driver/CSV.pm
X%%SITE_PERL%%/Test/Database/Driver/DBM.pm
X%%SITE_PERL%%/Test/Database/Driver/SQLite2.pm
X%%SITE_PERL%%/Test/Database/Driver/mysql.pm
X%%SITE_PERL%%/Test/Database/Driver/SQLite.pm
X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/Database
X@dirrm %%SITE_PERL%%/Test/Database/Driver
X@dirrm %%SITE_PERL%%/Test/Database
X@dirrmtry %%SITE_PERL%%/Test
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Test
39fb013d357b3c4deda2f9ba27fb32bd
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904020957.n329vTfK075145>