mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
- New depends added in previous commit are actually test depends.
- Two tests are failed when $ENV{HTTP_TIMEOUT} and $ENV{HTTP_PROXY} is defined. Fix them.
This commit is contained in:
parent
baea503411
commit
f3a28dc8ea
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=295181
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= HTTP-Engine
|
||||
PORTVERSION= 0.03005
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= www perl5
|
||||
MASTER_SITES= CPAN
|
||||
PKGNAMEPREFIX= p5-
|
||||
@ -15,19 +15,21 @@ PKGNAMEPREFIX= p5-
|
||||
MAINTAINER= kuriyama@FreeBSD.org
|
||||
COMMENT= Perl extension for HTTP Server Engine Drivers
|
||||
|
||||
BUILD_DEPENDS= p5-Any-Moose>=0.13:${PORTSDIR}/devel/p5-Any-Moose \
|
||||
p5-CGI-Simple>=1.103:${PORTSDIR}/www/p5-CGI-Simple \
|
||||
p5-Filter>0:${PORTSDIR}/devel/p5-Filter \
|
||||
p5-HTTP-Body>=1.05:${PORTSDIR}/www/p5-HTTP-Body \
|
||||
p5-HTTP-Headers-Fast>=0.11:${PORTSDIR}/www/p5-HTTP-Headers-Fast \
|
||||
p5-HTTP-Request-AsCGI>0:${PORTSDIR}/www/p5-HTTP-Request-AsCGI \
|
||||
p5-HTTP-Server-Simple>=0.35:${PORTSDIR}/www/p5-HTTP-Server-Simple \
|
||||
p5-IO-stringy>=0:${PORTSDIR}/devel/p5-IO-stringy \
|
||||
p5-Mouse>=0.62:${PORTSDIR}/devel/p5-Moose \
|
||||
p5-MouseX-Types>=0.05:${PORTSDIR}/devel/p5-MouseX-Types \
|
||||
p5-URI>=1.36:${PORTSDIR}/net/p5-URI \
|
||||
p5-YAML>=0:${PORTSDIR}/textproc/p5-YAML
|
||||
BUILD_DEPENDS= \
|
||||
p5-Any-Moose>=0.13:${PORTSDIR}/devel/p5-Any-Moose \
|
||||
p5-CGI-Simple>=1.103:${PORTSDIR}/www/p5-CGI-Simple \
|
||||
p5-Filter>0:${PORTSDIR}/devel/p5-Filter \
|
||||
p5-HTTP-Body>=1.05:${PORTSDIR}/www/p5-HTTP-Body \
|
||||
p5-HTTP-Headers-Fast>=0.11:${PORTSDIR}/www/p5-HTTP-Headers-Fast \
|
||||
p5-HTTP-Server-Simple>=0.35:${PORTSDIR}/www/p5-HTTP-Server-Simple \
|
||||
p5-Mouse>=0.62:${PORTSDIR}/devel/p5-Moose \
|
||||
p5-URI>=1.36:${PORTSDIR}/net/p5-URI
|
||||
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
||||
TEST_DEPENDS= \
|
||||
p5-HTTP-Request-AsCGI>0:${PORTSDIR}/www/p5-HTTP-Request-AsCGI \
|
||||
p5-YAML>0:${PORTSDIR}/textproc/p5-YAML \
|
||||
p5-IO-stringy>0:${PORTSDIR}/devel/p5-IO-stringy \
|
||||
p5-MouseX-Types>=0.05:${PORTSDIR}/devel/p5-MouseX-Types
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
|
12
www/p5-HTTP-Engine/files/patch-request-as_http_request.t
Normal file
12
www/p5-HTTP-Engine/files/patch-request-as_http_request.t
Normal file
@ -0,0 +1,12 @@
|
||||
--- t/010_core/request-as_http_request.t.orig 2012-04-21 18:30:16.644155273 +0900
|
||||
+++ t/010_core/request-as_http_request.t 2012-04-21 18:30:36.825851307 +0900
|
||||
@@ -4,6 +4,9 @@
|
||||
use HTTP::Engine::Request;
|
||||
use t::Utils;
|
||||
|
||||
+delete $ENV{HTTP_PROXY};
|
||||
+delete $ENV{HTTP_TIMEOUT};
|
||||
+
|
||||
test_req( gen_request()->as_http_request );
|
||||
|
||||
sub gen_request {
|
12
www/p5-HTTP-Engine/files/patch-request-as_string.t
Normal file
12
www/p5-HTTP-Engine/files/patch-request-as_string.t
Normal file
@ -0,0 +1,12 @@
|
||||
--- t/010_core/request-as_string.t.orig 2012-04-21 19:35:27.611579798 +0900
|
||||
+++ t/010_core/request-as_string.t 2012-04-21 19:35:44.449321956 +0900
|
||||
@@ -4,6 +4,9 @@
|
||||
use HTTP::Engine;
|
||||
use t::Utils;
|
||||
|
||||
+delete $ENV{HTTP_PROXY};
|
||||
+delete $ENV{HTTP_TIMEOUT};
|
||||
+
|
||||
test_req( gen_request() );
|
||||
|
||||
sub gen_request {
|
Loading…
Reference in New Issue
Block a user