mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- 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@gmail.com
This commit is contained in:
parent
286229a52b
commit
de9070e5ff
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=375886
2 changed files with 27 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
PORTNAME= Git-PurePerl
|
PORTNAME= Git-PurePerl
|
||||||
PORTVERSION= 0.50
|
PORTVERSION= 0.50
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
CATEGORIES= devel perl5
|
CATEGORIES= devel perl5
|
||||||
MASTER_SITES= CPAN
|
MASTER_SITES= CPAN
|
||||||
MASTER_SITE_SUBDIR= CPAN:BROQ
|
MASTER_SITE_SUBDIR= CPAN:BROQ
|
||||||
|
@ -12,7 +12,11 @@ PKGNAMEPREFIX= p5-
|
||||||
MAINTAINER= perl@FreeBSD.org
|
MAINTAINER= perl@FreeBSD.org
|
||||||
COMMENT= Pure Perl interface to Git repositories
|
COMMENT= Pure Perl interface to Git repositories
|
||||||
|
|
||||||
|
LICENSE= ART10 GPLv1
|
||||||
|
LICENSE_COMB= dual
|
||||||
|
|
||||||
BUILD_DEPENDS= p5-Archive-Extract>=0:${PORTSDIR}/archivers/p5-Archive-Extract \
|
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-Data-Stream-Bulk>=0:${PORTSDIR}/devel/p5-Data-Stream-Bulk \
|
||||||
p5-Moose>=0:${PORTSDIR}/devel/p5-Moose \
|
p5-Moose>=0:${PORTSDIR}/devel/p5-Moose \
|
||||||
p5-MooseX-StrictConstructor>=0:${PORTSDIR}/devel/p5-MooseX-StrictConstructor \
|
p5-MooseX-StrictConstructor>=0:${PORTSDIR}/devel/p5-MooseX-StrictConstructor \
|
||||||
|
@ -20,10 +24,15 @@ BUILD_DEPENDS= p5-Archive-Extract>=0:${PORTSDIR}/archivers/p5-Archive-Extract \
|
||||||
p5-DateTime>=0:${PORTSDIR}/devel/p5-DateTime \
|
p5-DateTime>=0:${PORTSDIR}/devel/p5-DateTime \
|
||||||
p5-Digest-SHA1>=0:${PORTSDIR}/security/p5-Digest-SHA1 \
|
p5-Digest-SHA1>=0:${PORTSDIR}/security/p5-Digest-SHA1 \
|
||||||
p5-File-Find-Rule>0:${PORTSDIR}/devel/p5-File-Find-Rule \
|
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}
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
||||||
|
TEST_DEPENDS= p5-Test-utf8>=0:${PORTSDIR}/devel/p5-Test-utf8
|
||||||
|
|
||||||
USES= perl5
|
USES= perl5
|
||||||
USE_PERL5= configure
|
USE_PERL5= configure
|
||||||
|
NO_ARCH= yes
|
||||||
|
|
||||||
|
#pre-install: test
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
16
devel/p5-Git-PurePerl/files/patch-t_protocol__gpp.t
Normal file
16
devel/p5-Git-PurePerl/files/patch-t_protocol__gpp.t
Normal file
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue