summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2018-06-24 10:00:36 +0000
committerwiz <wiz@pkgsrc.org>2018-06-24 10:00:36 +0000
commit7b67a9fa9a81d019f4e15a49893444bd375b37c1 (patch)
tree3e5d3a67891e925206d5df74ec702425676c634e /devel
parent661641c24ca3c43a9bd184fe6a5cd054114b4518 (diff)
downloadpkgsrc-7b67a9fa9a81d019f4e15a49893444bd375b37c1.tar.gz
devel/p5-Test-HTTP-LocalServer: import Test-HTTP-LocalServer-0.63
This module 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.
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-Test-HTTP-LocalServer/DESCR7
-rw-r--r--devel/p5-Test-HTTP-LocalServer/Makefile19
-rw-r--r--devel/p5-Test-HTTP-LocalServer/distinfo6
3 files changed, 32 insertions, 0 deletions
diff --git a/devel/p5-Test-HTTP-LocalServer/DESCR b/devel/p5-Test-HTTP-LocalServer/DESCR
new file mode 100644
index 00000000000..5945b945605
--- /dev/null
+++ b/devel/p5-Test-HTTP-LocalServer/DESCR
@@ -0,0 +1,7 @@
+This module 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.
diff --git a/devel/p5-Test-HTTP-LocalServer/Makefile b/devel/p5-Test-HTTP-LocalServer/Makefile
new file mode 100644
index 00000000000..1549e20e5c9
--- /dev/null
+++ b/devel/p5-Test-HTTP-LocalServer/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2018/06/24 10:00:36 wiz Exp $
+
+DISTNAME= Test-HTTP-LocalServer-0.63
+CATEGORIES= devel
+MASTER_SITES= https://cpan.metacpan.org/authors/id/C/CO/CORION/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://metacpan.org/pod/Test::HTTP::LocalServer
+COMMENT= Perl module for spawning a local HTTP server for testing
+LICENSE= ${PERL5_LICENSE}
+
+DEPENDS+= p5-CGI-[0-9]*:../../www/p5-CGI
+DEPENDS+= p5-libwww-[0-9]*:../../www/p5-libwww
+DEPENDS+= p5-HTTP-Request-AsCGI-[0-9]*:../../www/p5-HTTP-Request-AsCGI
+
+PERL5_PACKLIST= auto/Test/HTTP/LocalServer/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/p5-Test-HTTP-LocalServer/distinfo b/devel/p5-Test-HTTP-LocalServer/distinfo
new file mode 100644
index 00000000000..b2dddd618a5
--- /dev/null
+++ b/devel/p5-Test-HTTP-LocalServer/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/06/24 10:00:36 wiz Exp $
+
+SHA1 (Test-HTTP-LocalServer-0.63.tar.gz) = 67ac43386e97072de2537f3b242b655ea1cc90cc
+RMD160 (Test-HTTP-LocalServer-0.63.tar.gz) = 3aa62cd8814ea4aaa7d4243d5e0399cd10fc773b
+SHA512 (Test-HTTP-LocalServer-0.63.tar.gz) = ced6a9ca2aa84d986f81c2e242154a358bae15e4739dd6b7b5744284fd0492b7a62e1b88b9028622fed23a13e5713732e3828cf2066efe40218f515e08963aec
+Size (Test-HTTP-LocalServer-0.63.tar.gz) = 20483 bytes