mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-08 06:48:28 +00:00
Portable filename comparison.
Many cross-platform test failures -- particularly on Win32 -- are due to hard-coded file paths being used in comparison tests. This simple module provides some handy functions to convert all those path separators automatically so filename tests will just DWIM. WWW: http://search.cpan.org/dist/Test-Filename/
This commit is contained in:
parent
62d87cd1c8
commit
6800bb7aae
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=312318
@ -2720,6 +2720,7 @@
|
||||
SUBDIR += p5-Test-File
|
||||
SUBDIR += p5-Test-File-Contents
|
||||
SUBDIR += p5-Test-File-ShareDir
|
||||
SUBDIR += p5-Test-Filename
|
||||
SUBDIR += p5-Test-Fixme
|
||||
SUBDIR += p5-Test-Fixture-DBIC-Schema
|
||||
SUBDIR += p5-Test-Group
|
||||
|
22
devel/p5-Test-Filename/Makefile
Normal file
22
devel/p5-Test-Filename/Makefile
Normal file
@ -0,0 +1,22 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= Test-Filename
|
||||
PORTVERSION= 0.03
|
||||
CATEGORIES= devel perl5
|
||||
MASTER_SITES= CPAN
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= kuriyama@FreeBSD.org
|
||||
COMMENT= Perl extension for portable filename comparison
|
||||
|
||||
RUN_DEPENDS= \
|
||||
p5-Path-Tiny>0:${PORTSDIR}/devel/p5-Path-Tiny
|
||||
BUILD_DEPENDS= ${RUN_DEPENDS}
|
||||
TEST_DEPENDS= \
|
||||
p5-Test-Tester>0:${PORTSDIR}/devel/p5-Test-Tester
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
MAN3= Test::Filename.3
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/p5-Test-Filename/distinfo
Normal file
2
devel/p5-Test-Filename/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (Test-Filename-0.03.tar.gz) = 6a450cc4c6281ed1129f32a1c0741f228967feda2e32a2915ff621c36525fcbe
|
||||
SIZE (Test-Filename-0.03.tar.gz) = 10757
|
9
devel/p5-Test-Filename/pkg-descr
Normal file
9
devel/p5-Test-Filename/pkg-descr
Normal file
@ -0,0 +1,9 @@
|
||||
Portable filename comparison.
|
||||
|
||||
Many cross-platform test failures -- particularly on Win32 -- are due
|
||||
to hard-coded file paths being used in comparison tests.
|
||||
|
||||
This simple module provides some handy functions to convert all those
|
||||
path separators automatically so filename tests will just DWIM.
|
||||
|
||||
WWW: http://search.cpan.org/dist/Test-Filename/
|
5
devel/p5-Test-Filename/pkg-plist
Normal file
5
devel/p5-Test-Filename/pkg-plist
Normal file
@ -0,0 +1,5 @@
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/Filename/.packlist
|
||||
%%SITE_PERL%%/Test/Filename.pm
|
||||
@dirrmtry %%SITE_PERL%%/Test
|
||||
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/Filename
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Test
|
Loading…
Reference in New Issue
Block a user