wok rev 24260

updated perl-test-warnings (0.030 -> 0.031)
author Hans-G?nter Theisgen
date Sun Jan 02 10:12:58 2022 +0100 (2022-01-02)
parents 3e367c02357d
children c9d198607d5c
files perl-test-warnings/description.txt perl-test-warnings/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/perl-test-warnings/description.txt	Sun Jan 02 10:12:58 2022 +0100
     1.3 @@ -0,0 +1,11 @@
     1.4 +If you've ever tried to use Test::NoWarnings to confirm there are no warnings
     1.5 +generated by your tests, combined with the convenience of done_testing to not
     1.6 +have to declare a test count, you'll have discovered that these two features
     1.7 +do not play well together, as the test count will be calculated before the
     1.8 +warnings test is run, resulting in a TAP error.
     1.9 +
    1.10 +This module is intended to be used as a drop-in replacement for
    1.11 +Test::NoWarnings: it also adds an extra test, but runs this test before
    1.12 +done_testing calculates the test count, rather than after.
    1.13 +It does this by hooking into done_testing as well as via an END block.
    1.14 +You can declare a plan, or not, and things will still Just Work.
     2.1 --- a/perl-test-warnings/receipt	Sun Jan 02 10:10:22 2022 +0100
     2.2 +++ b/perl-test-warnings/receipt	Sun Jan 02 10:12:58 2022 +0100
     2.3 @@ -1,19 +1,20 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="perl-test-warnings"
     2.7 -VERSION="0.030"
     2.8 +VERSION="0.031"
     2.9  CATEGORY="development"
    2.10  SHORT_DESC="Perl extension Test::Warnings."
    2.11  MAINTAINER="nneul@neulinger.org"
    2.12  LICENSE="GPL"
    2.13 -WEB_SITE="https://metacpan.org/release/Test-Warnings"
    2.14 +WEB_SITE="https://metacpan.org/pod/Test::Warnings"
    2.15 +REPOLOGY="perl:test-warnings"
    2.16  
    2.17  SOURCE="Test-Warnings"
    2.18  TARBALL="$SOURCE-$VERSION.tar.gz"
    2.19  WGET_URL="https://www.cpan.org/modules/by-module/Test/$TARBALL"
    2.20  
    2.21  DEPENDS="perl"
    2.22 -BUILD_DEPENDS="$DEPENDS"
    2.23 +BUILD_DEPENDS="perl"
    2.24  
    2.25  current_version()
    2.26  {
    2.27 @@ -26,11 +27,11 @@
    2.28  {
    2.29  	perl Makefile.PL &&
    2.30  	make &&
    2.31 -	make DESTDIR=$DESTDIR install
    2.32 +	make install DESTDIR=$DESTDIR
    2.33  }
    2.34  
    2.35  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.36  genpkg_rules()
    2.37  {
    2.38 -	cp -a $install/usr	$fs
    2.39 +	cook_copy_folders	lib
    2.40  }