Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Sep 2002 11:12:42 +0200 (CEST)
From:      Erwin Lansing <erwin@lansing.dk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/42687: New port: p5-Test-Inline 
Message-ID:  <20020912091242.054E9CB9090@guineapig.pil.dk>

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

>Number:         42687
>Category:       ports
>Synopsis:       New port: p5-Test-Inline
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 12 02:20:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Erwin Lansing
>Release:        FreeBSD 4.6.2-RELEASE i386
>Organization:
pil.dk 
>Environment:
System: FreeBSD guineapig.pil.dk 4.6.2-RELEASE FreeBSD 4.6.2-RELEASE #13: Tue Aug 20 07:59:55 CEST 2002 root@prison.pil.dk:/usr/obj/usr/src/sys/PRISON i386


	
>Description:
New port: Test::Inline

Inlining your tests next to the code being tested. 

>How-To-Repeat:
	
>Fix:

	

--- p5-Test-Inline.sh 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-Inline/
#	p5-Test-Inline/pkg-plist
#	p5-Test-Inline/pkg-descr
#	p5-Test-Inline/pkg-comment
#	p5-Test-Inline/distinfo
#	p5-Test-Inline/Makefile
#
echo c - p5-Test-Inline/
mkdir -p p5-Test-Inline/ > /dev/null 2>&1
echo x - p5-Test-Inline/pkg-plist
sed 's/^X//' >p5-Test-Inline/pkg-plist << 'END-of-p5-Test-Inline/pkg-plist'
Xbin/pod2test
Xlib/perl5/site_perl/5.005/Test/Inline/Tutorial.pod
Xlib/perl5/site_perl/5.005/Test/Inline.pm
Xlib/perl5/site_perl/5.005/Pod/Tests.pm
Xlib/perl5/site_perl/5.005/Pod/Tests/Tutorial.pod
X@dirrm lib/perl5/site_perl/5.005/Test/Inline
X@unexec rmdir %D/lib/perl5/site_perl/5.005/Test 2>/dev/null || true
X@dirrm lib/perl5/site_perl/5.005/Pod/Tests
X@unexec rmdir %D/lib/perl5/site_perl/5.005/Pod 2>/dev/null || true
END-of-p5-Test-Inline/pkg-plist
echo x - p5-Test-Inline/pkg-descr
sed 's/^X//' >p5-Test-Inline/pkg-descr << 'END-of-p5-Test-Inline/pkg-descr'
XEmbedding tests allows tests to be placed near the code its testing.
XThis is a nice supplement to the traditional .t files.
XIt's like XUnit, Perl-style.
X
XTest::Tutorial is just documentation. To actually get anything done you
Xuse pod2test. Read the Test::Inline::Tutoral, really. 
X
XAuthor: Michael G Schwern <schwern@pobox.com> 
XWWW: http://search.cpan.org/search?dist=Test-Inline
X
X--Erwin Lansing <erwin@lansing.dk>
END-of-p5-Test-Inline/pkg-descr
echo x - p5-Test-Inline/pkg-comment
sed 's/^X//' >p5-Test-Inline/pkg-comment << 'END-of-p5-Test-Inline/pkg-comment'
XTest::Inline - Inlining your tests next to the code being tested
END-of-p5-Test-Inline/pkg-comment
echo x - p5-Test-Inline/distinfo
sed 's/^X//' >p5-Test-Inline/distinfo << 'END-of-p5-Test-Inline/distinfo'
XMD5 (Test-Inline-0.15.tar.gz) = 8b1128b4102578c093a01ad0b86f6616
END-of-p5-Test-Inline/distinfo
echo x - p5-Test-Inline/Makefile
sed 's/^X//' >p5-Test-Inline/Makefile << 'END-of-p5-Test-Inline/Makefile'
X# New ports collection makefile for:	p5-Test-Inline
X# Date created:				Mon Sep 12
X# Whom:					Erwin Lansing <erwin@lansing.dk>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Test-Inline
XPORTVERSION=	0.15
XCATEGORIES=	devel perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	Test
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	erwin@lansing.dk
X
XBUILD_DEPENDS=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Test/Harness.pm:${PORTSDIR}/devel/p5-Test-Harness
XRUN_DEPENDS=	${BUILD_DEPENDS}
X
XPERL_CONFIGURE=	yes
X
XMAN1=		pod2test.1
XMAN3PREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
XMAN3=		Pod::Tests.3 Pod::Tests::Tutorial.3 Test::Inline.3
X
X.include <bsd.port.mk>
END-of-p5-Test-Inline/Makefile
exit
--- p5-Test-Inline.sh ends here ---


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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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