pkgsrc/www/p5-Test-WWW-Mechanize/Makefile

28 lines
961 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.13 2012/01/22 19:34:14 abs Exp $
DISTNAME= Test-WWW-Mechanize-1.38
PKGNAME= p5-${DISTNAME}
SVR4_PKGNAME= p5twm
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Test/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Test-WWW-Mechanize/
COMMENT= Perl5 module providing testing-specific WWW::Mechanize subclass
Update p5-Test-WWW-Mechanize to 1.34. Changes from previous: 1.34 Tue Jul 5 16:23:24 CDT 2011 ------------------------------------ [ENHANCEMENTS] Added $mech->lacks_uncapped_inputs() to check for <input> tags that don't have a maxlength attribute. We've been using this for years at work, and I'm just now moving it into Test::WWW::Mechanize. Added $mech->grep_inputs() and $mech->grep_submits() to easily pull input fields from the page. I'd like to get this moved up to base WWW::Mechanize, because it has use outside of the Test:: world. $mech->followable_links() now finds file: URLs, too. $mech->content_contains(), $mech->content_lacks(), $mech->text_contains(0 and $mech->text_lacks() all fail if a reference is passed instead of a string. [FIXES] $mech->text_contains() was not calling $mech->text(), so was not taking advantage of the caching of the parsed text. [INTERNALS] Most tests no longer use TestServer.pm class. All tests now run under -T and have plan counts. 1.31_01 Wed May 4 16:07:31 CDT 2011 ------------------------------------ [ENHANCEMENTS] The methods that look at the text of the page, ->text_like() and ->text_unlike(), now use the WWW::Mechanize method ->text() which caches the text. This will be a big speedup if you call these methods more than once. [FIXED]Normalized the use of single vs. double quotes in the default descriptions. Fixed tests that fail under newer versions of LWP. Fixed tests that fail if http_proxy or HTTP_PROXY are set. Fixed tests that fail on Perl 5.14.
2011-10-16 15:55:27 +02:00
LICENSE= ${PERL5_LICENSE}
2008-06-12 04:14:13 +02:00
PKG_DESTDIR_SUPPORT= user-destdir
PERL5_PACKLIST= auto/Test/WWW/Mechanize/.packlist
DEPENDS+= p5-Carp-Assert-More-[0-9]*:../../devel/p5-Carp-Assert-More
DEPENDS+= p5-HTML-Tree-[0-9]*:../../www/p5-HTML-Tree
DEPENDS+= p5-HTTP-Server-Simple>=0.42:../../www/p5-HTTP-Server-Simple
Update p5-Test-WWW-Mechanize to 1.34. Changes from previous: 1.34 Tue Jul 5 16:23:24 CDT 2011 ------------------------------------ [ENHANCEMENTS] Added $mech->lacks_uncapped_inputs() to check for <input> tags that don't have a maxlength attribute. We've been using this for years at work, and I'm just now moving it into Test::WWW::Mechanize. Added $mech->grep_inputs() and $mech->grep_submits() to easily pull input fields from the page. I'd like to get this moved up to base WWW::Mechanize, because it has use outside of the Test:: world. $mech->followable_links() now finds file: URLs, too. $mech->content_contains(), $mech->content_lacks(), $mech->text_contains(0 and $mech->text_lacks() all fail if a reference is passed instead of a string. [FIXES] $mech->text_contains() was not calling $mech->text(), so was not taking advantage of the caching of the parsed text. [INTERNALS] Most tests no longer use TestServer.pm class. All tests now run under -T and have plan counts. 1.31_01 Wed May 4 16:07:31 CDT 2011 ------------------------------------ [ENHANCEMENTS] The methods that look at the text of the page, ->text_like() and ->text_unlike(), now use the WWW::Mechanize method ->text() which caches the text. This will be a big speedup if you call these methods more than once. [FIXED]Normalized the use of single vs. double quotes in the default descriptions. Fixed tests that fail under newer versions of LWP. Fixed tests that fail if http_proxy or HTTP_PROXY are set. Fixed tests that fail on Perl 5.14.
2011-10-16 15:55:27 +02:00
DEPENDS+= p5-libwww>=6.02:../../www/p5-libwww
DEPENDS+= p5-Test-LongString>=0.15:../../devel/p5-Test-LongString
DEPENDS+= p5-URI-[0-9]*:../../www/p5-URI
DEPENDS+= p5-WWW-Mechanize>=1.68:../../www/p5-WWW-Mechanize
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"