1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

New port: www/p5-Test-LWP-UserAgent

LWP::UserAgent suitable for simulating and testing network calls.

It overrides a few key low-level methods of LWP::UserAgent that are
concerned with actually sending your request over the network,
allowing an interception of that request and simulating a particular
response. This greatly facilitates testing of client networking
code where the server follows a known protocol.

WWW: http://search.cpan.org/dist/Test-LWP-UserAgent/
This commit is contained in:
Kurt Jaeger 2015-01-18 10:55:54 +00:00
parent 6e5edf87e4
commit 8466e166a9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=377319
5 changed files with 50 additions and 0 deletions

View File

@ -1193,6 +1193,7 @@
SUBDIR += p5-Tenjin
SUBDIR += p5-Test-HTTP
SUBDIR += p5-Test-HTTP-Server-Simple
SUBDIR += p5-Test-LWP-UserAgent
SUBDIR += p5-Test-Nginx
SUBDIR += p5-TestGen4Web-Runner
SUBDIR += p5-Text-MultiMarkdown-ApacheHandler

View File

@ -0,0 +1,34 @@
# $FreeBSD$
PORTNAME= Test-LWP-UserAgent
PORTVERSION= 0.026
CATEGORIES= www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= pi@FreeBSD.org
COMMENT= LWP::UserAgent suitable for simulating and testing network calls
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
BUILD_DEPENDS= p5-libwww>=0:${PORTSDIR}/www/p5-libwww \
p5-URI>=0:${PORTSDIR}/net/p5-URI \
p5-namespace-clean>=0:${PORTSDIR}/devel/p5-namespace-clean \
p5-HTTP-Date>=0:${PORTSDIR}/www/p5-HTTP-Date \
p5-Safe-Isa>=0:${PORTSDIR}/devel/p5-Safe-Isa \
p5-Try-Tiny>=0:${PORTSDIR}/lang/p5-Try-Tiny
RUN_DEPENDS:= ${BUILD_DEPENDS}
TEST_DEPENDS= p5-ExtUtils-MakeMaker>=0:${PORTSDIR}/devel/p5-ExtUtils-MakeMaker \
p5-Plack>=0:${PORTSDIR}/www/p5-Plack \
p5-Path-Tiny>=0:${PORTSDIR}/devel/p5-Path-Tiny \
p5-Test-Deep>=0:${PORTSDIR}/devel/p5-Test-Deep \
p5-Test-Fatal>=0:${PORTSDIR}/devel/p5-Test-Fatal \
p5-Test-Simple>=0:${PORTSDIR}/devel/p5-Test-Simple \
p5-Test-Requires>=0:${PORTSDIR}/devel/p5-Test-Requires \
p5-Test-Warnings>=0:${PORTSDIR}/devel/p5-Test-Warnings
USE_PERL5= configure
USES= perl5
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (Test-LWP-UserAgent-0.026.tar.gz) = 36ced207f85fb7b8d1b3207a2283e45b3a3a1b7af6975ff69e8ffe4322d3258b
SIZE (Test-LWP-UserAgent-0.026.tar.gz) = 41968

View File

@ -0,0 +1,9 @@
LWP::UserAgent suitable for simulating and testing network calls.
It overrides a few key low-level methods of LWP::UserAgent that are
concerned with actually sending your request over the network,
allowing an interception of that request and simulating a particular
response. This greatly facilitates testing of client networking
code where the server follows a known protocol.
WWW: http://search.cpan.org/dist/Test-LWP-UserAgent/

View File

@ -0,0 +1,4 @@
%%SITE_PERL%%/Test/LWP/UserAgent.pm
%%SITE_PERL%%/Test/LWP/advent_2012.pod
%%PERL5_MAN3%%/Test::LWP::UserAgent.3.gz
%%PERL5_MAN3%%/Test::LWP::advent_2012.3.gz