Still waiting for an OK.

On Mon, Oct 01, 2012 at 02:35:32AM +0200, Alexander Bluhm wrote:
> Hi,
> 
> - update p5-Time-Format to 1.12
> - use no groff
> - patch broken tests
> 
> For some reasons the regression tests produced errors like this.
> Can't locate package Date::Manip::Obj for @Date::Manip::TZ::ISA at 
> /usr/local/libdata/perl5/site_perl/Date/Manip/TZ.pm line 1305, <DATA> line 1.
> This already failed with 1.11, I don't know when that was introduced.
> 
> It happens after some perl namespace manipulation when the test
> tried to figure out wether Date::Manip tests should be skipped.  We
> have converters/p5-DateManip in REGRESS_DEPENDS so I just removed
> the skip detection code.
> 
> ok?
> 
> bluhm
> 
> Index: devel/p5-Time-Format/Makefile
> ===================================================================
> RCS file: /data/mirror/openbsd/cvs/ports/devel/p5-Time-Format/Makefile,v
> retrieving revision 1.8
> diff -u -p -r1.8 Makefile
> --- devel/p5-Time-Format/Makefile     3 Dec 2010 11:44:38 -0000       1.8
> +++ devel/p5-Time-Format/Makefile     30 Sep 2012 15:30:42 -0000
> @@ -2,8 +2,7 @@
>  
>  COMMENT=             easy-to-use date/time formatting
>  
> -DISTNAME=            Time-Format-1.11
> -REVISION=            0
> +DISTNAME=            Time-Format-1.12
>  CATEGORIES=          devel
>  
>  MAINTAINER=          Alexander Bluhm <bl...@openbsd.org>
> @@ -15,7 +14,6 @@ PERMIT_DISTFILES_CDROM=     Yes
>  PERMIT_DISTFILES_FTP=        Yes
>  
>  MODULES=             cpan
> -USE_GROFF =          Yes
>  REGRESS_DEPENDS=     converters/p5-DateManip \
>                       devel/p5-DateTime
>  
> Index: devel/p5-Time-Format/distinfo
> ===================================================================
> RCS file: /data/mirror/openbsd/cvs/ports/devel/p5-Time-Format/distinfo,v
> retrieving revision 1.5
> diff -u -p -r1.5 distinfo
> --- devel/p5-Time-Format/distinfo     18 Aug 2009 23:00:53 -0000      1.5
> +++ devel/p5-Time-Format/distinfo     30 Sep 2012 15:19:55 -0000
> @@ -1,5 +1,2 @@
> -MD5 (Time-Format-1.11.tar.gz) = ILbxO2fGhAoFJ6ZZfJhhsg==
> -RMD160 (Time-Format-1.11.tar.gz) = 8kwj7EMrZw1b0RaqMV3bbNw4C4E=
> -SHA1 (Time-Format-1.11.tar.gz) = BdOcjJSb9Wt/tfxRzOdSgD2ks5A=
> -SHA256 (Time-Format-1.11.tar.gz) = 
> +zo56M+P2PR0YrT8L5nbrMUYlrxLfEb8uA9xt4DpvQk=
> -SIZE (Time-Format-1.11.tar.gz) = 30330
> +SHA256 (Time-Format-1.12.tar.gz) = 
> 75a6CQJopWg2fIPs3Kw0mwz+FkMpvDTen7zC2+ZrjJ4=
> +SIZE (Time-Format-1.12.tar.gz) = 38131
> Index: devel/p5-Time-Format/patches/patch-t_doc_t
> ===================================================================
> RCS file: devel/p5-Time-Format/patches/patch-t_doc_t
> diff -N devel/p5-Time-Format/patches/patch-t_doc_t
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ devel/p5-Time-Format/patches/patch-t_doc_t        1 Oct 2012 00:19:20 
> -0000
> @@ -0,0 +1,21 @@
> +$OpenBSD$
> +--- t/doc.t.orig     Thu Sep 27 18:32:39 2012
> ++++ t/doc.t  Mon Oct  1 02:18:22 2012
> +@@ -11,17 +11,6 @@ my $tl_notok;
> + BEGIN { $tl_notok = eval('use Time::Local; 1')? 0 : 1 }
> + my $dm_notok;
> + my $dm_notz;
> +-BEGIN
> +-{
> +-    $dm_notok = eval('use Date::Manip (); 1')? 0 : 1;
> +-    unless ($dm_notok)
> +-    {
> +-        # If Date::Manip can't determine the time zone, it'll bomb out of 
> the tests.
> +-        $dm_notz = eval('Date::Manip::Date_TimeZone (); 1')? 0 : 1;
> +-    }
> +-    delete $INC{'Date/Manip.pm'};
> +-    %Date::Manip:: = ();
> +-}
> + 
> + # Were all variables imported? (3)
> + is ref tied %time,     'Time::Format'   =>  '%time imported';
> Index: devel/p5-Time-Format/patches/patch-t_funcs_t
> ===================================================================
> RCS file: devel/p5-Time-Format/patches/patch-t_funcs_t
> diff -N devel/p5-Time-Format/patches/patch-t_funcs_t
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ devel/p5-Time-Format/patches/patch-t_funcs_t      1 Oct 2012 00:19:17 
> -0000
> @@ -0,0 +1,20 @@
> +$OpenBSD$
> +--- t/funcs.t.orig   Thu Sep 27 18:32:39 2012
> ++++ t/funcs.t        Mon Oct  1 02:18:49 2012
> +@@ -15,16 +15,6 @@ BEGIN {
> + }
> + my $manip_bad;
> + my $manip_notz;
> +-BEGIN {
> +-    $manip_bad = eval('use Date::Manip (); 1')? 0 : 1;
> +-    unless ($manip_bad)
> +-    {
> +-        # If Date::Manip can't determine the time zone, it'll bomb out of 
> the tests.
> +-        $manip_notz = eval ('Date::Manip::Date_TimeZone (); 1')? 0 : 1;
> +-    }
> +-    delete $INC{'Date/Manip.pm'};
> +-    %Date::Manip:: = ();
> +-}
> + 
> + # Get day/month names in current locale
> + my ($Thursday, $Thu, $June, $Jun);
> Index: devel/p5-Time-Format/patches/patch-t_manip_t
> ===================================================================
> RCS file: devel/p5-Time-Format/patches/patch-t_manip_t
> diff -N devel/p5-Time-Format/patches/patch-t_manip_t
> --- /dev/null 1 Jan 1970 00:00:00 -0000
> +++ devel/p5-Time-Format/patches/patch-t_manip_t      1 Oct 2012 00:19:17 
> -0000
> @@ -0,0 +1,25 @@
> +$OpenBSD$
> +--- t/manip.t.orig   Thu Sep 27 18:32:39 2012
> ++++ t/manip.t        Mon Oct  1 02:19:07 2012
> +@@ -6,21 +6,6 @@ use Test::More tests => 6;
> + BEGIN { $Time::Format::NOXS = 1 }
> + BEGIN { use_ok 'Time::Format', qw(%manip) }
> + my $manip_bad;
> +-BEGIN
> +-{
> +-    unless (eval 'use Date::Manip (); 1')
> +-    {
> +-        $manip_bad = 'Date::Manip is not available';
> +-    }
> +-    else
> +-    {
> +-        # If Date::Manip can't determine the time zone, it'll bomb out of 
> the tests.
> +-        $manip_bad = 'Date::Manip cannot determine time zone'
> +-            unless eval 'Date::Manip::Date_TimeZone(); 1';
> +-    }
> +-    delete $INC{'Date/Manip.pm'};
> +-    %Date::Manip:: = ();
> +-}
> + 
> + my $t = 'first thursday in june 2003';
> + 

Reply via email to