update to version 0.55, set CPAN_AUTHOR, remove trash from PLIST, adjust

REGRESS_DEPENDS, push fix for annoying warnings upstream and remove
USE_GROFF

from Gleydson Soares, with small tweaks by me
comments and ok jasper@
This commit is contained in:
simon 2011-04-16 11:57:01 +00:00
parent 02a9289240
commit ca9af25795
3 changed files with 29 additions and 9 deletions

View File

@ -1,12 +1,12 @@
# $OpenBSD: Makefile,v 1.6 2010/12/03 11:46:53 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.7 2011/04/16 11:57:01 simon Exp $
COMMENT= module to get weather information from weather.com
MODULES= cpan
DISTNAME= Weather-Com-0.5.3
REVISION= 0
DISTNAME= Weather-Com-0.5.5
CATEGORIES= www
USE_GROFF = Yes
CPAN_AUTHOR= SCHNUECK
MAINTAINER= Simon Bertrang <simon@openbsd.org>
@ -20,5 +20,9 @@ RUN_DEPENDS= devel/p5-Time-Format \
textproc/p5-XML-Simple \
www/p5-URI \
www/p5-libwww
REGRESS_DEPENDS= devel/p5-Test-MockObject
pre-configure:
@rm ${WRKSRC}/lib/Weather/Com/Base.pm.orig
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
MD5 (Weather-Com-0.5.3.tar.gz) = tEMrDof53VPLBpebLIprGg==
RMD160 (Weather-Com-0.5.3.tar.gz) = RzJID7qeXsoWeG/hDhd2Fc9cLVs=
SHA1 (Weather-Com-0.5.3.tar.gz) = p8qBo235kePT5aCUSW/qS6y2RRA=
SHA256 (Weather-Com-0.5.3.tar.gz) = ZgkN0+WqxjgxcOoy9AZ27hLO+OseYrHQvlNTf1DCxMM=
SIZE (Weather-Com-0.5.3.tar.gz) = 47192
MD5 (Weather-Com-0.5.5.tar.gz) = BOPVoCNn/wvmoMNgIe6Zmw==
RMD160 (Weather-Com-0.5.5.tar.gz) = O4UXQxCHdCDUXz7W0hbagsbREws=
SHA1 (Weather-Com-0.5.5.tar.gz) = O8fB3EUYOZgb+OZT+Xav9acMY1s=
SHA256 (Weather-Com-0.5.5.tar.gz) = ADLHnUGB9gPQLbwB3UlnJiOaSM4/zSlF4hEVWq4XbTQ=
SIZE (Weather-Com-0.5.5.tar.gz) = 47599

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-lib_Weather_Com_Base_pm,v 1.1 2011/04/16 11:57:01 simon Exp $
Bug #67228 for Weather-Com: test suite under perl 5.12 outputs warnings
https://rt.cpan.org/Public/Bug/Display.html?id=67228
--- lib/Weather/Com/Base.pm.orig Tue Feb 24 14:01:12 2009
+++ lib/Weather/Com/Base.pm Sat Apr 16 12:42:46 2011
@@ -308,7 +308,7 @@ sub _getWebPage {
my $request = HTTP::Request->new( "GET" => $path );
$ua->proxy( 'http', $self->{PROXY} )
- if ( lc( $self->{PROXY} ) ne "none" );
+ if ( lc( $self->{PROXY} || '' ) ne "none" );
$request->proxy_authorization_basic( $self->{PROXY_USER},
$self->{PROXY_PASS} )
if ( lc( $self->{PROXY_USER} ) ne "none" );