Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jul 2006 14:14:15 +0800 (CST)
From:      Gea-Suan Lin <gslin@gslin.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gslin@gslin.org
Subject:   ports/100515: [NEW PORT] devel/p5-Test-Output: Utilities to test STDOUT and STDERR messages
Message-ID:  <20060719061415.5D9A819A@netnews.NCTU.edu.tw>
Resent-Message-ID: <200607190620.k6J6KH6M013249@freefall.freebsd.org>

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

>Number:         100515
>Category:       ports
>Synopsis:       [NEW PORT] devel/p5-Test-Output: Utilities to test STDOUT and STDERR messages
>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:   Wed Jul 19 06:20:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD netnews.NCTU.edu.tw 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 03:43:48 CST 2006
>Description:
Test::Output provides a simple interface for testing output sent to
STDOUT or STDERR. A number of different utilies are included to try
and be as flexible as possible to the tester.

Originally this module was designed not to have external requirements,
however, the features provided by Sub::Exporter over what Exporter
provides is just to great to pass up.

Test::Output ties STDOUT and STDERR using Test::Output::Tie.

WWW:	http://search.cpan.org/dist/Test-Output/

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- p5-Test-Output-0.10.shar begins here ---
# 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-Output
#	p5-Test-Output/pkg-descr
#	p5-Test-Output/Makefile
#	p5-Test-Output/pkg-plist
#	p5-Test-Output/distinfo
#
echo c - p5-Test-Output
mkdir -p p5-Test-Output > /dev/null 2>&1
echo x - p5-Test-Output/pkg-descr
sed 's/^X//' >p5-Test-Output/pkg-descr << 'END-of-p5-Test-Output/pkg-descr'
XTest::Output provides a simple interface for testing output sent to
XSTDOUT or STDERR. A number of different utilies are included to try
Xand be as flexible as possible to the tester.
X
XOriginally this module was designed not to have external requirements,
Xhowever, the features provided by Sub::Exporter over what Exporter
Xprovides is just to great to pass up.
X
XTest::Output ties STDOUT and STDERR using Test::Output::Tie.
X
XWWW:	http://search.cpan.org/dist/Test-Output/
END-of-p5-Test-Output/pkg-descr
echo x - p5-Test-Output/Makefile
sed 's/^X//' >p5-Test-Output/Makefile << 'END-of-p5-Test-Output/Makefile'
X# New ports collection makefile for:	p5-Test-Output
X# Date created:		2006-07-19
X# Whom:			Gea-Suan Lin <gslin@gslin.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Test-Output
XPORTVERSION=	0.10
XCATEGORIES=	devel perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	Test
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	gslin@gslin.org
XCOMMENT=	Utilities to test STDOUT and STDERR messages
X
XRUN_DEPENDS=	${SITE_PERL}/Sub/Exporter.pm:${PORTSDIR}/devel/p5-Sub-Exporter \
X		${SITE_PERL}/Test/Tester.pm:${PORTSDIR}/devel/p5-Test-Tester
X
XPERL_CONFIGURE=	yes
X
XMAN3=		Test::Output::Tie.3 Test::Output.3
X
X.include <bsd.port.pre.mk>
X
X.if ${PERL_LEVEL} < 500800	# Inherited from devel/p5-Sub-Exporter
XIGNORE=		requires perl 5.8.0 or later. Install lang/perl5.8 and try again
X.endif
X
X.include <bsd.port.post.mk>
END-of-p5-Test-Output/Makefile
echo x - p5-Test-Output/pkg-plist
sed 's/^X//' >p5-Test-Output/pkg-plist << 'END-of-p5-Test-Output/pkg-plist'
X@comment $FreeBSD$
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/Output/.packlist
X%%SITE_PERL%%/Test/Output.pm
X%%SITE_PERL%%/Test/Output/Tie.pm
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/Output
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Test
X@dirrmtry %%SITE_PERL%%/Test/Output
X@dirrmtry %%SITE_PERL%%/Test
END-of-p5-Test-Output/pkg-plist
echo x - p5-Test-Output/distinfo
sed 's/^X//' >p5-Test-Output/distinfo << 'END-of-p5-Test-Output/distinfo'
XMD5 (Test-Output-0.10.tar.gz) = dcf67296e04a41a9f73f70c10fe5f825
XSHA256 (Test-Output-0.10.tar.gz) = b72813be2639d49dda2a3f87928b7ce185633f3afaa25300afbfb844b12deea4
XSIZE (Test-Output-0.10.tar.gz) = 9838
END-of-p5-Test-Output/distinfo
exit
--- p5-Test-Output-0.10.shar ends here ---

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



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