diff options
author | pi <pi@FreeBSD.org> | 2015-01-18 18:55:54 +0800 |
---|---|---|
committer | pi <pi@FreeBSD.org> | 2015-01-18 18:55:54 +0800 |
commit | db4b42e19a9f1ea81ebea586157ba2dab1b10bb1 (patch) | |
tree | 7fb0e13d4c4e7410acac7297edfdbcf5da9bd525 /www | |
parent | 46e7b9a0e7e218ec32c734e1f6d28e4d290123f1 (diff) | |
download | freebsd-ports-gnome-db4b42e19a9f1ea81ebea586157ba2dab1b10bb1.tar.gz freebsd-ports-gnome-db4b42e19a9f1ea81ebea586157ba2dab1b10bb1.tar.zst freebsd-ports-gnome-db4b42e19a9f1ea81ebea586157ba2dab1b10bb1.zip |
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/
Diffstat (limited to 'www')
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/p5-Test-LWP-UserAgent/Makefile | 34 | ||||
-rw-r--r-- | www/p5-Test-LWP-UserAgent/distinfo | 2 | ||||
-rw-r--r-- | www/p5-Test-LWP-UserAgent/pkg-descr | 9 | ||||
-rw-r--r-- | www/p5-Test-LWP-UserAgent/pkg-plist | 4 |
5 files changed, 50 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index d7ba20708667..57045a150727 100644 --- a/www/Makefile +++ b/www/Makefile @@ -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 diff --git a/www/p5-Test-LWP-UserAgent/Makefile b/www/p5-Test-LWP-UserAgent/Makefile new file mode 100644 index 000000000000..983d0e751153 --- /dev/null +++ b/www/p5-Test-LWP-UserAgent/Makefile @@ -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> diff --git a/www/p5-Test-LWP-UserAgent/distinfo b/www/p5-Test-LWP-UserAgent/distinfo new file mode 100644 index 000000000000..6c989a631468 --- /dev/null +++ b/www/p5-Test-LWP-UserAgent/distinfo @@ -0,0 +1,2 @@ +SHA256 (Test-LWP-UserAgent-0.026.tar.gz) = 36ced207f85fb7b8d1b3207a2283e45b3a3a1b7af6975ff69e8ffe4322d3258b +SIZE (Test-LWP-UserAgent-0.026.tar.gz) = 41968 diff --git a/www/p5-Test-LWP-UserAgent/pkg-descr b/www/p5-Test-LWP-UserAgent/pkg-descr new file mode 100644 index 000000000000..1f7170a453f3 --- /dev/null +++ b/www/p5-Test-LWP-UserAgent/pkg-descr @@ -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/ diff --git a/www/p5-Test-LWP-UserAgent/pkg-plist b/www/p5-Test-LWP-UserAgent/pkg-plist new file mode 100644 index 000000000000..59c06fab6e70 --- /dev/null +++ b/www/p5-Test-LWP-UserAgent/pkg-plist @@ -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 |