svn commit: r375886 - in head/devel/p5-Git-PurePerl: . files
Wen Heping
wen at FreeBSD.org
Wed Dec 31 14:15:57 UTC 2014
Author: wen
Date: Wed Dec 31 14:15:55 2014
New Revision: 375886
URL: https://svnweb.freebsd.org/changeset/ports/375886
QAT: https://qat.redports.org/buildarchive/r375886/
Log:
- Add missing DEPENDS
- Add LICENSE
- Add a FreeBSD patch to provide a relevant message when running
perl built-in tests from within a poudriere jail, which does not
have connection to the Internet.
PR: 194873
Submitted by: svysh.fbsd at gmail.com
Added:
head/devel/p5-Git-PurePerl/files/
head/devel/p5-Git-PurePerl/files/patch-t_protocol__gpp.t (contents, props changed)
Modified:
head/devel/p5-Git-PurePerl/Makefile
Modified: head/devel/p5-Git-PurePerl/Makefile
==============================================================================
--- head/devel/p5-Git-PurePerl/Makefile Wed Dec 31 13:49:06 2014 (r375885)
+++ head/devel/p5-Git-PurePerl/Makefile Wed Dec 31 14:15:55 2014 (r375886)
@@ -3,7 +3,7 @@
PORTNAME= Git-PurePerl
PORTVERSION= 0.50
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:BROQ
@@ -12,7 +12,11 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl at FreeBSD.org
COMMENT= Pure Perl interface to Git repositories
+LICENSE= ART10 GPLv1
+LICENSE_COMB= dual
+
BUILD_DEPENDS= p5-Archive-Extract>=0:${PORTSDIR}/archivers/p5-Archive-Extract \
+ p5-Config-GitLike>=0:${PORTSDIR}/devel/p5-Config-GitLike \
p5-Data-Stream-Bulk>=0:${PORTSDIR}/devel/p5-Data-Stream-Bulk \
p5-Moose>=0:${PORTSDIR}/devel/p5-Moose \
p5-MooseX-StrictConstructor>=0:${PORTSDIR}/devel/p5-MooseX-StrictConstructor \
@@ -20,10 +24,15 @@ BUILD_DEPENDS= p5-Archive-Extract>=0:${P
p5-DateTime>=0:${PORTSDIR}/devel/p5-DateTime \
p5-Digest-SHA1>=0:${PORTSDIR}/security/p5-Digest-SHA1 \
p5-File-Find-Rule>0:${PORTSDIR}/devel/p5-File-Find-Rule \
- p5-IO-Digest>0:${PORTSDIR}/devel/p5-IO-Digest
+ p5-IO-Digest>0:${PORTSDIR}/devel/p5-IO-Digest \
+ p5-namespace-autoclean>=0:${PORTSDIR}/devel/p5-namespace-autoclean
RUN_DEPENDS:= ${BUILD_DEPENDS}
+TEST_DEPENDS= p5-Test-utf8>=0:${PORTSDIR}/devel/p5-Test-utf8
USES= perl5
USE_PERL5= configure
+NO_ARCH= yes
+
+#pre-install: test
.include <bsd.port.mk>
Added: head/devel/p5-Git-PurePerl/files/patch-t_protocol__gpp.t
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/p5-Git-PurePerl/files/patch-t_protocol__gpp.t Wed Dec 31 14:15:55 2014 (r375886)
@@ -0,0 +1,16 @@
+--- t/protocol_gpp.t.orig 2013-08-26 11:24:05 UTC
++++ t/protocol_gpp.t
+@@ -6,6 +6,13 @@ use IO::File;
+ use Path::Class;
+ use Test::More;
+
++my $socket = IO::Socket::INET->new("www.google.com:80");
++if ($socket) {
++ close ($socket);
++} else {
++ plan skip_all => 'No Internet connection?';
++}
++
+ my $directory = 'test-protocol';
+ dir($directory)->rmtree;
+
More information about the svn-ports-head
mailing list