pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/p5-Test-use-ok Remove p5-Test-use-ok since it is...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/879de245f433
branches:  trunk
changeset: 365829:879de245f433
user:      wen <wen%pkgsrc.org@localhost>
date:      Thu Jul 27 08:18:22 2017 +0000

description:
Remove p5-Test-use-ok since it is in perl base now and no other
ports depends on it.

Reviewed by:    wiz@

diffstat:

 devel/p5-Test-use-ok/DESCR                     |  21 ---------------------
 devel/p5-Test-use-ok/Makefile                  |  18 ------------------
 devel/p5-Test-use-ok/distinfo                  |   7 -------
 devel/p5-Test-use-ok/patches/patch-Makefile.PL |  13 -------------
 4 files changed, 0 insertions(+), 59 deletions(-)

diffs (75 lines):

diff -r 3bf381622ec9 -r 879de245f433 devel/p5-Test-use-ok/DESCR
--- a/devel/p5-Test-use-ok/DESCR        Thu Jul 27 08:06:46 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,21 +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.
-
-That is, instead of writing this:
-
-    use_ok( 'Some::Module' );
-    use_ok( 'Other::Module' );
-
-One should write this:
-
-    BEGIN { use_ok( 'Some::Module' ); }
-    BEGIN { use_ok( 'Other::Module' ); }
-
-However, people often either forget to add BEGIN, or mistakenly group
-use_ok with other tests in a single BEGIN block, which can create subtle
-differences in execution order.
-
-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.
diff -r 3bf381622ec9 -r 879de245f433 devel/p5-Test-use-ok/Makefile
--- a/devel/p5-Test-use-ok/Makefile     Thu Jul 27 08:06:46 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-# $NetBSD: Makefile,v 1.14 2017/06/05 14:23:48 ryoon Exp $
-
-DISTNAME=      Test-use-ok-0.11
-PKGNAME=       p5-${DISTNAME}
-PKGREVISION=   5
-CATEGORIES=    devel perl5
-MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Test/}
-
-MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://search.cpan.org/dist/Test-use-ok/
-COMMENT=       Alternative to Test::More::use_ok
-LICENSE=       cc0-1.0-universal
-
-USE_LANGUAGES= # empty
-PERL5_PACKLIST=        auto/Test/use/ok/.packlist
-
-.include "../../lang/perl5/module.mk"
-.include "../../mk/bsd.pkg.mk"
diff -r 3bf381622ec9 -r 879de245f433 devel/p5-Test-use-ok/distinfo
--- a/devel/p5-Test-use-ok/distinfo     Thu Jul 27 08:06:46 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-$NetBSD: distinfo,v 1.4 2017/06/08 12:57:15 ryoon Exp $
-
-SHA1 (Test-use-ok-0.11.tar.gz) = 5b6601a573771db31bfbdbcfe45162bb4f8e558b
-RMD160 (Test-use-ok-0.11.tar.gz) = ae9e2029f3bbcff2f0349761bcd570c9d1f57397
-SHA512 (Test-use-ok-0.11.tar.gz) = ff831546c7a34edfd1a9e574300f6b299fa280ea7d3be6b3285cf173f8695d2dc51a302954dae95d2b1bb5c3f1b945081a06dc703c465ac0d4e229ce81d45293
-Size (Test-use-ok-0.11.tar.gz) = 24815 bytes
-SHA1 (patch-Makefile.PL) = eb762ab6ff77c82c3d23b19816662fceb1e51190
diff -r 3bf381622ec9 -r 879de245f433 devel/p5-Test-use-ok/patches/patch-Makefile.PL
--- a/devel/p5-Test-use-ok/patches/patch-Makefile.PL    Thu Jul 27 08:06:46 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-Makefile.PL,v 1.1 2017/06/08 12:57:15 ryoon Exp $
-
-* Fix build with Perl 5.26.0
-
---- Makefile.PL.orig   2012-09-11 18:23:06.000000000 +0000
-+++ Makefile.PL
-@@ -1,4 +1,6 @@
- #!/usr/bin/perl
-+use FindBin;
-+use lib $FindBin::Bin;
- use inc::Module::Package 'Au:dry';
- all_from 'lib/Test/use/ok.pm';
- __END__



Home | Main Index | Thread Index | Old Index