summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-05-18 09:25:16 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-05-18 09:25:16 +0000
commitc1b4b977ce42b7b6f4b9158ea161e9d94025d945 (patch)
treeaf500cc7671198f6925c504de39c7c00edee4967 /net
parent- Update to 0.2801 (diff)
- Update to 0.1501
- Use TEST_DEPENDS for test-only dependencies Changes: http://search.cpan.org/dist/Net-Google-Spreadsheets/Changes PR: ports/167438 Submitted by: sunpoet (myself) Approved by: maintainer (timeout, 18 days)
Notes
Notes: svn path=/head/; revision=296894
Diffstat (limited to 'net')
-rw-r--r--net/p5-Net-Google-Spreadsheets/Makefile31
-rw-r--r--net/p5-Net-Google-Spreadsheets/distinfo4
2 files changed, 21 insertions, 14 deletions
diff --git a/net/p5-Net-Google-Spreadsheets/Makefile b/net/p5-Net-Google-Spreadsheets/Makefile
index 47692af82f1c..8d41543fb3c1 100644
--- a/net/p5-Net-Google-Spreadsheets/Makefile
+++ b/net/p5-Net-Google-Spreadsheets/Makefile
@@ -6,26 +6,27 @@
#
PORTNAME= Net-Google-Spreadsheets
-PORTVERSION= 0.14
+PORTVERSION= 0.15.01
CATEGORIES= net perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
+DISTNAME= ${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E}
MAINTAINER= gunter@six-two.net
COMMENT= A Perl module for using Google Spreadhseets API
-BUILD_DEPENDS= ${SITE_PERL}/XML/Atom.pm:${PORTSDIR}/textproc/p5-XML-Atom \
- ${SITE_PERL}/Net/Google/AuthSub.pm:${PORTSDIR}/net/p5-Net-Google-AuthSub \
- ${SITE_PERL}/Net/Google/DataAPI.pm:${PORTSDIR}/net/p5-Net-Google-DataAPI \
- ${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI \
- ${SITE_PERL}/namespace/autoclean.pm:${PORTSDIR}/devel/p5-namespace-autoclean \
- ${SITE_PERL}/Any/Moose.pm:${PORTSDIR}/devel/p5-Any-Moose \
- ${SITE_PERL}/Test/Exception.pm:${PORTSDIR}/devel/p5-Test-Exception \
- ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple \
- ${SITE_PERL}/Test/MockModule.pm:${PORTSDIR}/devel/p5-Test-MockModule \
- ${SITE_PERL}/Test/MockObject.pm:${PORTSDIR}/devel/p5-Test-MockObject
+BUILD_DEPENDS= p5-Any-Moose>=0:${PORTSDIR}/devel/p5-Any-Moose \
+ p5-Mouse>=0.51:${PORTSDIR}/devel/p5-Mouse \
+ p5-Net-Google-AuthSub>=0:${PORTSDIR}/net/p5-Net-Google-AuthSub \
+ p5-Net-Google-DataAPI>=0.27:${PORTSDIR}/net/p5-Net-Google-DataAPI \
+ p5-URI>=0:${PORTSDIR}/net/p5-URI \
+ p5-XML-Atom>=0:${PORTSDIR}/textproc/p5-XML-Atom
RUN_DEPENDS:= ${BUILD_DEPENDS}
+TEST_DEPENDS= p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception \
+ p5-Test-MockModule>=0:${PORTSDIR}/devel/p5-Test-MockModule \
+ p5-Test-MockObject>=0:${PORTSDIR}/devel/p5-Test-MockObject
+
PERL_CONFIGURE= yes
MAN3= Net::Google::Spreadsheets.3 \
@@ -36,4 +37,10 @@ MAN3= Net::Google::Spreadsheets.3 \
Net::Google::Spreadsheets::Table.3 \
Net::Google::Spreadsheets::Worksheet.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501001
+TEST_DEPENDS+= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/net/p5-Net-Google-Spreadsheets/distinfo b/net/p5-Net-Google-Spreadsheets/distinfo
index 70a24c632259..2baf3e0ba3e6 100644
--- a/net/p5-Net-Google-Spreadsheets/distinfo
+++ b/net/p5-Net-Google-Spreadsheets/distinfo
@@ -1,2 +1,2 @@
-SHA256 (Net-Google-Spreadsheets-0.14.tar.gz) = e889ea3d9293490dc1d0aec1c75b5a179c7f4c0de96553d6d8cb0a6ce7374ffc
-SIZE (Net-Google-Spreadsheets-0.14.tar.gz) = 60583
+SHA256 (Net-Google-Spreadsheets-0.1501.tar.gz) = ee9ed7e3521268df73894ff1871831be469f0ccd3c31c88e521633b00a4d3f22
+SIZE (Net-Google-Spreadsheets-0.1501.tar.gz) = 32813