wok rev 24256

updated perl-test-mockmodule (0.172.0 -> 0.177.0)
author Hans-G?nter Theisgen
date Sun Jan 02 10:02:41 2022 +0100 (2022-01-02)
parents 932ab43ca54a
children 0fff78d6404b
files perl-test-mockmodule/description.txt perl-test-mockmodule/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/perl-test-mockmodule/description.txt	Sun Jan 02 10:02:41 2022 +0100
     1.3 @@ -0,0 +1,7 @@
     1.4 +Test::MockModule lets you temporarily redefine subroutines in other packages
     1.5 +for the purposes of unit testing.
     1.6 +
     1.7 +A Test::MockModule object is set up to mock subroutines for a given module.
     1.8 +The object remembers the original subroutine so it can be easily restored.
     1.9 +This happens automatically when all MockModule objects for the given module
    1.10 +go out of scope, or when you unmock() the subroutine.
     2.1 --- a/perl-test-mockmodule/receipt	Sun Jan 02 09:59:54 2022 +0100
     2.2 +++ b/perl-test-mockmodule/receipt	Sun Jan 02 10:02:41 2022 +0100
     2.3 @@ -1,18 +1,19 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="perl-test-mockmodule"
     2.7 -VERSION="0.172.0"
     2.8 +VERSION="0.177.0"
     2.9  CATEGORY="development"
    2.10  SHORT_DESC="Perl extension Test::MockModule."
    2.11  MAINTAINER="pascal.bellard@slitaz.org"
    2.12  LICENSE="GPL"
    2.13 -WEB_SITE="https://metacpan.org/release/Test-MockModule"
    2.14 +WEB_SITE="https://metacpan.org/pod/Test::MockModule"
    2.15 +REPOLOGY="perl:test-mockmodule"
    2.16  
    2.17  SOURCE="Test-MockModule"
    2.18  TARBALL="$SOURCE-v$VERSION.tar.gz"
    2.19  WGET_URL="https://www.cpan.org/modules/by-module/Test/$TARBALL"
    2.20  
    2.21 -DEPENDS="perl-sub-identify perl-super perl-test-warnings"
    2.22 +DEPENDS="perl perl-sub-identify perl-super perl-test-warnings"
    2.23  BUILD_DEPENDS="$DEPENDS"
    2.24  
    2.25  current_version()
    2.26 @@ -33,6 +34,5 @@
    2.27  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.28  genpkg_rules()
    2.29  {
    2.30 -	mkdir -p $fs/usr
    2.31 -	cp -a $install/usr/lib	$fs/usr
    2.32 +	cook_copy_folders	lib
    2.33  }