wok rev 24255

updated perl-test-fatal (0.014 -> 0.016)
author Hans-G?nter Theisgen
date Sun Jan 02 09:59:54 2022 +0100 (2022-01-02)
parents 5376bbd57905
children fb93ed2f2940
files perl-test-fatal/description.txt perl-test-fatal/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/perl-test-fatal/description.txt	Sun Jan 02 09:59:54 2022 +0100
     1.3 @@ -0,0 +1,13 @@
     1.4 +Test::Fatal is an alternative to the popular Test::Exception.
     1.5 +It does much less, but should allow greater flexibility in testing
     1.6 +exception-throwing code with about the same amount of typing.
     1.7 +
     1.8 +It exports one routine by default: exception.
     1.9 +
    1.10 +Attention!
    1.11 +exception intentionally does not manipulate the call stack.
    1.12 +User-written test functions that use exception must be careful to
    1.13 +avoid false positives if exceptions use stack traces that show
    1.14 +arguments.
    1.15 +For a more magical approach involving globally overriding caller,
    1.16 +see Test::Exception.
     2.1 --- a/perl-test-fatal/receipt	Sun Jan 02 09:57:13 2022 +0100
     2.2 +++ b/perl-test-fatal/receipt	Sun Jan 02 09:59:54 2022 +0100
     2.3 @@ -1,17 +1,19 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="perl-test-fatal"
     2.7 -VERSION="0.014"
     2.8 +VERSION="0.016"
     2.9  CATEGORY="development"
    2.10  SHORT_DESC="Test::Fatal is a perl module"
    2.11  MAINTAINER="nneul@neulinger.org"
    2.12  LICENSE="GPL"
    2.13 -WEB_SITE="https://metacpan.org/release/Test-Fatal"
    2.14 +WEB_SITE="https://metacpan.org/pod/Test::Fatal"
    2.15 +REPOLOGY="perl:test-fatal"
    2.16 +
    2.17  SOURCE="Test-Fatal"
    2.18  TARBALL="$SOURCE-$VERSION.tar.gz"
    2.19 -WGET_URL="http://www.cpan.org/authors/id/R/RJ/RJBS/$TARBALL"
    2.20 +WGET_URL="https://www.cpan.org/modules/by-module/Test/$TARBALL"
    2.21  
    2.22 -DEPENDS="perl perl-try-tiny perl-test-simple"
    2.23 +DEPENDS="perl perl-test-simple perl-try-tiny"
    2.24  BUILD_DEPENDS="$DEPENDS"
    2.25  
    2.26  current_version()
    2.27 @@ -23,14 +25,13 @@
    2.28  # Rules to configure and make the package.
    2.29  compile_rules()
    2.30  {
    2.31 -	cd $src
    2.32  	perl Makefile.PL &&
    2.33  	make &&
    2.34 -	make DESTDIR=$DESTDIR install
    2.35 +	make install DESTDIR=$DESTDIR
    2.36  }
    2.37  
    2.38  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.39  genpkg_rules()
    2.40  {
    2.41 -	cp -a $install/usr $fs
    2.42 +	cook_copy_folders	lib
    2.43  }