mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Add p5-Test-ClassAPI 1.02, provides basic first-pass API testing for
large class trees.
This commit is contained in:
parent
e5be53418d
commit
d0efc3fdad
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=132206
5 changed files with 45 additions and 0 deletions
|
@ -1070,6 +1070,7 @@
|
||||||
SUBDIR += p5-Term-Size
|
SUBDIR += p5-Term-Size
|
||||||
SUBDIR += p5-Test-Builder-Tester
|
SUBDIR += p5-Test-Builder-Tester
|
||||||
SUBDIR += p5-Test-Class
|
SUBDIR += p5-Test-Class
|
||||||
|
SUBDIR += p5-Test-ClassAPI
|
||||||
SUBDIR += p5-Test-Cmd
|
SUBDIR += p5-Test-Cmd
|
||||||
SUBDIR += p5-Test-Deep
|
SUBDIR += p5-Test-Deep
|
||||||
SUBDIR += p5-Test-Differences
|
SUBDIR += p5-Test-Differences
|
||||||
|
|
31
devel/p5-Test-ClassAPI/Makefile
Normal file
31
devel/p5-Test-ClassAPI/Makefile
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
# New ports collection makefile for: devel/p5-Test-ClassAPI
|
||||||
|
# Date created: 24 March 2005
|
||||||
|
# Whom: Lars Thegler <lth@FreeBSD.org>
|
||||||
|
#
|
||||||
|
# $FreeBSD$
|
||||||
|
#
|
||||||
|
|
||||||
|
PORTNAME= Test-ClassAPI
|
||||||
|
PORTVERSION= 1.02
|
||||||
|
CATEGORIES= devel perl5
|
||||||
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||||
|
MASTER_SITE_SUBDIR= Test
|
||||||
|
PKGNAMEPREFIX= p5-
|
||||||
|
|
||||||
|
MAINTAINER= lth@FreeBSD.org
|
||||||
|
COMMENT= Provides basic first-pass API testing for large class trees
|
||||||
|
|
||||||
|
BUILD_DEPENDS= ${SITE_PERL}/Class/Inspector.pm:${PORTSDIR}/devel/p5-Class-Inspector \
|
||||||
|
${SITE_PERL}/Config/Tiny.pm:${PORTSDIR}/devel/p5-Config-Tiny
|
||||||
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||||
|
|
||||||
|
PERL_CONFIGURE= yes
|
||||||
|
|
||||||
|
MAN3= Test::ClassAPI.3
|
||||||
|
|
||||||
|
.include <bsd.port.pre.mk>
|
||||||
|
.if ${PERL_LEVEL} <= 500503
|
||||||
|
post-patch:
|
||||||
|
@${PERL} -pi -e 's,\r,,' ${WRKSRC}/lib/Test/ClassAPI.pm
|
||||||
|
.endif
|
||||||
|
.include <bsd.port.post.mk>
|
2
devel/p5-Test-ClassAPI/distinfo
Normal file
2
devel/p5-Test-ClassAPI/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
MD5 (Test-ClassAPI-1.02.tar.gz) = f242a7d8ca652d7207a50461e328dafc
|
||||||
|
SIZE (Test-ClassAPI-1.02.tar.gz) = 14175
|
6
devel/p5-Test-ClassAPI/pkg-descr
Normal file
6
devel/p5-Test-ClassAPI/pkg-descr
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
For many APIs with large numbers of classes, it can be very useful
|
||||||
|
to be able to do a quick once-over to make sure that classes,
|
||||||
|
methods, and inheritance is correct, before doing more comprehensive
|
||||||
|
testing. This module aims to provide such a capability.
|
||||||
|
|
||||||
|
WWW: http://search.cpan.org/dist/Test-ClassAPI
|
5
devel/p5-Test-ClassAPI/pkg-plist
Normal file
5
devel/p5-Test-ClassAPI/pkg-plist
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
%%SITE_PERL%%/Test/ClassAPI.pm
|
||||||
|
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/ClassAPI/.packlist
|
||||||
|
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/ClassAPI
|
||||||
|
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Test 2>/dev/null || true
|
||||||
|
@unexec rmdir %D/%%SITE_PERL%%/Test 2>/dev/null || true
|
Loading…
Add table
Reference in a new issue