svn commit: r377319 - in head/www: . p5-Test-LWP-UserAgent
Kurt Jaeger
pi at FreeBSD.org
Sun Jan 18 10:55:56 UTC 2015
Author: pi
Date: Sun Jan 18 10:55:54 2015
New Revision: 377319
URL: https://svnweb.freebsd.org/changeset/ports/377319
QAT: https://qat.redports.org/buildarchive/r377319/
Log:
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/
Added:
head/www/p5-Test-LWP-UserAgent/
head/www/p5-Test-LWP-UserAgent/Makefile (contents, props changed)
head/www/p5-Test-LWP-UserAgent/distinfo (contents, props changed)
head/www/p5-Test-LWP-UserAgent/pkg-descr (contents, props changed)
head/www/p5-Test-LWP-UserAgent/pkg-plist (contents, props changed)
Modified:
head/www/Makefile
Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile Sun Jan 18 10:39:51 2015 (r377318)
+++ head/www/Makefile Sun Jan 18 10:55:54 2015 (r377319)
@@ -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
Added: head/www/p5-Test-LWP-UserAgent/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/p5-Test-LWP-UserAgent/Makefile Sun Jan 18 10:55:54 2015 (r377319)
@@ -0,0 +1,34 @@
+# $FreeBSD$
+
+PORTNAME= Test-LWP-UserAgent
+PORTVERSION= 0.026
+CATEGORIES= www perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= pi at 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>
Added: head/www/p5-Test-LWP-UserAgent/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/p5-Test-LWP-UserAgent/distinfo Sun Jan 18 10:55:54 2015 (r377319)
@@ -0,0 +1,2 @@
+SHA256 (Test-LWP-UserAgent-0.026.tar.gz) = 36ced207f85fb7b8d1b3207a2283e45b3a3a1b7af6975ff69e8ffe4322d3258b
+SIZE (Test-LWP-UserAgent-0.026.tar.gz) = 41968
Added: head/www/p5-Test-LWP-UserAgent/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/p5-Test-LWP-UserAgent/pkg-descr Sun Jan 18 10:55:54 2015 (r377319)
@@ -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/
Added: head/www/p5-Test-LWP-UserAgent/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/p5-Test-LWP-UserAgent/pkg-plist Sun Jan 18 10:55:54 2015 (r377319)
@@ -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
More information about the svn-ports-head
mailing list