wok-current rev 24265

updated perl-try-tiny (0.30 -> 0.31)
author Hans-G?nter Theisgen
date Sun Jan 02 10:25:53 2022 +0100 (2022-01-02)
parents 964f5e08b2d8
children 32b8576ff8ab
files perl-try-tiny/description.txt perl-try-tiny/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/perl-try-tiny/description.txt	Sun Jan 02 10:25:53 2022 +0100
     1.3 @@ -0,0 +1,17 @@
     1.4 +This module provides bare bones try, catch, finally statements that are designed
     1.5 +to minimize common mistakes with eval blocks, and NOTHING else.
     1.6 +
     1.7 +This is unlike TryCatch which provides a nice syntax and avoids adding another
     1.8 +call stack layer, and supports calling return from the try block to return from
     1.9 +the parent subroutine. These extra features come at a cost of a few dependencies,
    1.10 +namely Devel::Declare and Scope::Upper which are occasionally problematic, and
    1.11 +the additional catch filtering uses Moose type constraints which may not be
    1.12 +desirable either.
    1.13 +
    1.14 +The main focus of this module is to provide simple and reliable error handling
    1.15 +for those having a hard time installing TryCatch, but who still want to write
    1.16 +correct eval blocks without 5 lines of boilerplate each time.
    1.17 +
    1.18 +It's designed to work as correctly as possible in light of the various
    1.19 +pathological edge cases and to be compatible with any style of error values
    1.20 +(simple strings, references, objects, overloaded objects, etc).
     2.1 --- a/perl-try-tiny/receipt	Sun Jan 02 10:23:39 2022 +0100
     2.2 +++ b/perl-try-tiny/receipt	Sun Jan 02 10:25:53 2022 +0100
     2.3 @@ -1,19 +1,20 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="perl-try-tiny"
     2.7 -VERSION="0.30"
     2.8 +VERSION="0.31"
     2.9  CATEGORY="development"
    2.10  SHORT_DESC="Perl extension Try::Tiny."
    2.11  MAINTAINER="nneul@neulinger.org"
    2.12  LICENSE="GPL"
    2.13 -WEB_SITE="https://metacpan.org/release/Try-Tiny"
    2.14 +WEB_SITE="https://metacpan.org/pod/Try::Tiny"
    2.15 +REPOLOGY="perl:try-tiny"
    2.16  
    2.17  SOURCE="Try-Tiny"
    2.18  TARBALL="$SOURCE-$VERSION.tar.gz"
    2.19  WGET_URL="https://cpan.metacpan.org/authors/id/E/ET/ETHER/$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  }