From owner-svn-ports-head@FreeBSD.ORG Sun Jan 18 10:55:56 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5E49BD1D; Sun, 18 Jan 2015 10:55:56 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 491A8AFA; Sun, 18 Jan 2015 10:55:56 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t0IAtuAT059867; Sun, 18 Jan 2015 10:55:56 GMT (envelope-from pi@FreeBSD.org) Received: (from pi@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t0IAtt2p059860; Sun, 18 Jan 2015 10:55:55 GMT (envelope-from pi@FreeBSD.org) Message-Id: <201501181055.t0IAtt2p059860@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: pi set sender to pi@FreeBSD.org using -f From: Kurt Jaeger Date: Sun, 18 Jan 2015 10:55:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r377319 - in head/www: . p5-Test-LWP-UserAgent X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jan 2015 10:55:56 -0000 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@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 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