# HG changeset patch # User Hans-G?nter Theisgen # Date 1641113994 -3600 # Node ID 932ab43ca54ac9566064e2811ce1d99974ab2c34 # Parent 5376bbd5790508fd33712bea5bbb7cd0ecdbc4b9 updated perl-test-fatal (0.014 -> 0.016) diff -r 5376bbd57905 -r 932ab43ca54a perl-test-fatal/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-test-fatal/description.txt Sun Jan 02 09:59:54 2022 +0100 @@ -0,0 +1,13 @@ +Test::Fatal is an alternative to the popular Test::Exception. +It does much less, but should allow greater flexibility in testing +exception-throwing code with about the same amount of typing. + +It exports one routine by default: exception. + +Attention! +exception intentionally does not manipulate the call stack. +User-written test functions that use exception must be careful to +avoid false positives if exceptions use stack traces that show +arguments. +For a more magical approach involving globally overriding caller, +see Test::Exception. diff -r 5376bbd57905 -r 932ab43ca54a perl-test-fatal/receipt --- a/perl-test-fatal/receipt Sun Jan 02 09:57:13 2022 +0100 +++ b/perl-test-fatal/receipt Sun Jan 02 09:59:54 2022 +0100 @@ -1,17 +1,19 @@ # SliTaz package receipt. PACKAGE="perl-test-fatal" -VERSION="0.014" +VERSION="0.016" CATEGORY="development" SHORT_DESC="Test::Fatal is a perl module" MAINTAINER="nneul@neulinger.org" LICENSE="GPL" -WEB_SITE="https://metacpan.org/release/Test-Fatal" +WEB_SITE="https://metacpan.org/pod/Test::Fatal" +REPOLOGY="perl:test-fatal" + SOURCE="Test-Fatal" TARBALL="$SOURCE-$VERSION.tar.gz" -WGET_URL="http://www.cpan.org/authors/id/R/RJ/RJBS/$TARBALL" +WGET_URL="https://www.cpan.org/modules/by-module/Test/$TARBALL" -DEPENDS="perl perl-try-tiny perl-test-simple" +DEPENDS="perl perl-test-simple perl-try-tiny" BUILD_DEPENDS="$DEPENDS" current_version() @@ -23,14 +25,13 @@ # Rules to configure and make the package. compile_rules() { - cd $src perl Makefile.PL && make && - make DESTDIR=$DESTDIR install + make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - cp -a $install/usr $fs + cook_copy_folders lib }