1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00

Add p5-Test-HTTP-LocalServer 0.68

Test::HTTP::LocalServer implements a tiny web server suitable for running "live"
tests of HTTP clients against it. It also takes care of cleaning %ENV from
settings that influence the use of a local proxy etc.

Use this web server if you write an HTTP client and want to exercise its
behaviour in your test suite without talking to the outside world.

WWW: https://metacpan.org/release/Test-HTTP-LocalServer
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2019-09-30 11:30:05 +00:00
parent 5d09dbcd9b
commit 1455b770a8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=513351
5 changed files with 45 additions and 0 deletions

View File

@ -1191,6 +1191,7 @@
SUBDIR += p5-Template-Toolkit-Simple
SUBDIR += p5-Tenjin
SUBDIR += p5-Test-HTTP
SUBDIR += p5-Test-HTTP-LocalServer
SUBDIR += p5-Test-HTTP-Server-Simple
SUBDIR += p5-Test-LWP-UserAgent
SUBDIR += p5-Test-Nginx

View File

@ -0,0 +1,28 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= Test-HTTP-LocalServer
PORTVERSION= 0.68
CATEGORIES= www perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Spawn a local HTTP server for testing
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= p5-CGI>=0:www/p5-CGI \
p5-HTTP-Daemon>=6.05:www/p5-HTTP-Daemon \
p5-HTTP-Message>=0:www/p5-HTTP-Message \
p5-HTTP-Request-AsCGI>=0:www/p5-HTTP-Request-AsCGI \
p5-URI>=0:net/p5-URI
USES= perl5
USE_PERL5= configure
NO_ARCH= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1569832440
SHA256 (Test-HTTP-LocalServer-0.68.tar.gz) = 8b96e20243cab7155f089fd85558ee373d399ced02000905b9a6822833d52e94
SIZE (Test-HTTP-LocalServer-0.68.tar.gz) = 27878

View File

@ -0,0 +1,8 @@
Test::HTTP::LocalServer implements a tiny web server suitable for running "live"
tests of HTTP clients against it. It also takes care of cleaning %ENV from
settings that influence the use of a local proxy etc.
Use this web server if you write an HTTP client and want to exercise its
behaviour in your test suite without talking to the outside world.
WWW: https://metacpan.org/release/Test-HTTP-LocalServer

View File

@ -0,0 +1,5 @@
%%SITE_PERL%%/Test/HTTP/LocalServer.pm
%%SITE_PERL%%/Test/HTTP/cookie-server
%%SITE_PERL%%/Test/HTTP/gzip-streamed.psgi
%%SITE_PERL%%/Test/HTTP/log-server
%%PERL5_MAN3%%/Test::HTTP::LocalServer.3.gz