On Wed, Jul 26, 2017 at 05:24:30PM +0200, Alexander Bluhm wrote:
> On Thu, Jul 20, 2017 at 09:49:14PM +0200, Alexander Bluhm wrote:
> > Test::use::ok is now in base Perl, version there is 0.16.  So remove
> > the obsolete p5-Test-use-ok from ports.
> > 
> > ok?
> 
> Anyone?

Seems like a good plan to me.

$ locate use/ok.pm | grep /usr/libdata
/usr/libdata/perl5/Test/use/ok.pm

Need to remove the TEST_DEPENDS from other modules first though. (or is
my ports tree out of date?)

$ find /usr/ports -name Makefile -exec grep p5-Test-use-ok {} +
/usr/ports/databases/p5-DBICx-TestDatabase/Makefile:            
devel/p5-Test-use-ok
/usr/ports/devel/Makefile:     SUBDIR += p5-Test-use-ok
/usr/ports/devel/p5-Context-Preserve/Makefile:                  
devel/p5-Test-use-ok
/usr/ports/devel/p5-Data-Visitor/Makefile:              devel/p5-Test-use-ok
/usr/ports/devel/p5-Devel-PartialDump/Makefile:                 
devel/p5-Test-use-ok \
/usr/ports/devel/p5-Hash-Util-FieldHash-Compat/Makefile:TEST_DEPENDS =  
devel/p5-Test-use-ok
/usr/ports/devel/p5-Log-Dispatch-Binlog/Makefile:TEST_DEPENDS=          
devel/p5-Test-use-ok \
/usr/ports/devel/p5-MooseX-Clone/Makefile:TEST_DEPENDS =        
devel/p5-Test-use-ok
/usr/ports/devel/p5-MooseX-Traits/Makefile:                     
devel/p5-Test-use-ok
/usr/ports/devel/p5-MooseX-Types-DateTime/Makefile:TEST_DEPENDS=                
devel/p5-Test-use-ok \
/usr/ports/devel/p5-Test-TempDir/Makefile:                      
devel/p5-Test-use-ok
/usr/ports/devel/p5-Tie-ToObject/Makefile:RUN_DEPENDS = devel/p5-Test-use-ok
/usr/ports/textproc/p5-Catalyst-Plugin-Unicode/Makefile:                
devel/p5-Test-use-ok
/usr/ports/www/p5-CGI-Cookie-Splitter/Makefile:TEST_DEPENDS =           
devel/p5-Test-use-ok


> 
> > Index: devel/Makefile
> > ===================================================================
> > RCS file: /data/mirror/openbsd/cvs/ports/devel/Makefile,v
> > retrieving revision 1.1628
> > diff -u -p -r1.1628 Makefile
> > --- devel/Makefile  17 Jul 2017 00:24:11 -0000      1.1628
> > +++ devel/Makefile  20 Jul 2017 19:19:49 -0000
> > @@ -1124,7 +1124,6 @@
> >       SUBDIR += p5-Test-XML
> >       SUBDIR += p5-Test-YAML
> >       SUBDIR += p5-Test-YAML-Valid
> > -     SUBDIR += p5-Test-use-ok
> >       SUBDIR += p5-Text-FixEOL
> >       SUBDIR += p5-Text-vFile-asData
> >       SUBDIR += p5-Throwable
> > Index: devel/p5-Test-use-ok/Makefile
> > ===================================================================
> > RCS file: devel/p5-Test-use-ok/Makefile
> > diff -N devel/p5-Test-use-ok/Makefile
> > --- devel/p5-Test-use-ok/Makefile   20 Mar 2016 19:56:39 -0000      1.11
> > +++ /dev/null       1 Jan 1970 00:00:00 -0000
> > @@ -1,13 +0,0 @@
> > -# $OpenBSD: Makefile,v 1.11 2016/03/20 19:56:39 naddy Exp $
> > -
> > -COMMENT=        alternative to Test::More
> > -
> > -MODULES=   cpan
> > -PKG_ARCH=  *
> > -DISTNAME = Test-use-ok-0.11
> > -CATEGORIES=     devel perl5
> > -
> > -# CC0 1.0 Universal
> > -PERMIT_PACKAGE_CDROM=      Yes
> > -
> > -.include <bsd.port.mk>
> > Index: devel/p5-Test-use-ok/distinfo
> > ===================================================================
> > RCS file: devel/p5-Test-use-ok/distinfo
> > diff -N devel/p5-Test-use-ok/distinfo
> > --- devel/p5-Test-use-ok/distinfo   23 Dec 2014 17:31:40 -0000      1.3
> > +++ /dev/null       1 Jan 1970 00:00:00 -0000
> > @@ -1,2 +0,0 @@
> > -SHA256 (Test-use-ok-0.11.tar.gz) = 
> > hBBDiirPEnv/zxq5IgW3R6YVtIfoCkjow9C7n6Dbsqg=
> > -SIZE (Test-use-ok-0.11.tar.gz) = 24815
> > Index: devel/p5-Test-use-ok/pkg/DESCR
> > ===================================================================
> > RCS file: devel/p5-Test-use-ok/pkg/DESCR
> > diff -N devel/p5-Test-use-ok/pkg/DESCR
> > --- devel/p5-Test-use-ok/pkg/DESCR  15 Apr 2010 13:56:35 -0000      1.2
> > +++ /dev/null       1 Jan 1970 00:00:00 -0000
> > @@ -1,7 +0,0 @@
> > -According to the Test::More documentation, it is recommended to run
> > -"use_ok()" inside a "BEGIN" block, so functions are exported at
> > -compile-time and prototypes are properly honored.
> > -
> > -With this module, simply change all "use_ok" in test scripts to "use
> > -ok", and they will be executed at "BEGIN" time. The explicit space after
> > -"use" makes it clear that this is a single compile-time action.
> > Index: devel/p5-Test-use-ok/pkg/PLIST
> > ===================================================================
> > RCS file: devel/p5-Test-use-ok/pkg/PLIST
> > diff -N devel/p5-Test-use-ok/pkg/PLIST
> > --- devel/p5-Test-use-ok/pkg/PLIST  4 Nov 2006 15:04:02 -0000       1.1.1.1
> > +++ /dev/null       1 Jan 1970 00:00:00 -0000
> > @@ -1,7 +0,0 @@
> > -@comment $OpenBSD: PLIST,v 1.1.1.1 2006/11/04 15:04:02 espie Exp $
> > -${P5SITE}/Test/
> > -${P5SITE}/Test/use/
> > -${P5SITE}/Test/use/ok.pm
> > -${P5SITE}/ok.pm
> > -@man man/man3p/Test::use::ok.3p
> > -@man man/man3p/ok.3p
> > Index: devel/p5-Tie-ToObject/Makefile
> > ===================================================================
> > RCS file: /data/mirror/openbsd/cvs/ports/devel/p5-Tie-ToObject/Makefile,v
> > retrieving revision 1.10
> > diff -u -p -r1.10 Makefile
> > --- devel/p5-Tie-ToObject/Makefile  20 Mar 2016 19:56:40 -0000      1.10
> > +++ devel/p5-Tie-ToObject/Makefile  20 Jul 2017 19:25:20 -0000
> > @@ -5,13 +5,10 @@ COMMENT = tie to an existing object
> >  MODULES =  cpan
> >  PKG_ARCH = *
> >  DISTNAME = Tie-ToObject-0.03
> > -REVISION = 2
> > +REVISION = 3
> >  CATEGORIES =       devel
> >  
> >  # Perl
> >  PERMIT_PACKAGE_CDROM =     Yes
> > -
> > -BUILD_DEPENDS =    ${RUN_DEPENDS}
> > -RUN_DEPENDS =      devel/p5-Test-use-ok
> >  
> >  .include <bsd.port.mk>
> > Index: devel/quirks/Makefile
> > ===================================================================
> > RCS file: /data/mirror/openbsd/cvs/ports/devel/quirks/Makefile,v
> > retrieving revision 1.498
> > diff -u -p -r1.498 Makefile
> > --- devel/quirks/Makefile   17 Jul 2017 21:09:01 -0000      1.498
> > +++ devel/quirks/Makefile   20 Jul 2017 19:20:20 -0000
> > @@ -5,7 +5,7 @@ CATEGORIES =        devel databases
> >  DISTFILES =
> >  
> >  # API.rev
> > -PKGNAME =  quirks-2.343
> > +PKGNAME =  quirks-2.344
> >  PKG_ARCH = *
> >  MAINTAINER =       Marc Espie <es...@openbsd.org>
> >  
> > Index: devel/quirks/files/Quirks.pm
> > ===================================================================
> > RCS file: /data/mirror/openbsd/cvs/ports/devel/quirks/files/Quirks.pm,v
> > retrieving revision 1.510
> > diff -u -p -r1.510 Quirks.pm
> > --- devel/quirks/files/Quirks.pm    17 Jul 2017 21:09:01 -0000      1.510
> > +++ devel/quirks/files/Quirks.pm    20 Jul 2017 19:24:34 -0000
> > @@ -99,6 +99,8 @@ my $base_exceptions = {
> >     'flex' => '/usr/bin/flex',
> >  # 6.0
> >     'p5-Term-ReadKey' => "$p5a/Term/ReadKey.pm",
> > +# 6.2
> > +   'p5-Test-use-ok' => "$p5/Test/use/ok.pm",
> >  };
> >  
> >  my $stem_extensions = {
> 

Reply via email to