wok-6.x rev 24185
updated perl-common-sense (3.74 -> 3.75)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 14:04:57 2021 +0100 (2021-12-31) |
parents | 68df3e2fffec |
children | fe9734ecfefc |
files | perl-class-singleton/description.txt perl-common-sense/description.txt perl-common-sense/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/perl-class-singleton/description.txt Fri Dec 31 14:04:57 2021 +0100 1.3 @@ -0,0 +1,11 @@ 1.4 +This is the Class::Singleton module. 1.5 +A Singleton describes an object class that can have only one 1.6 +instance in any system. 1.7 +An example of a Singleton might be a print spooler or system 1.8 +registry. 1.9 +This module implements a Singleton class from which other 1.10 +classes can be derived. By itself, the Class::Singleton module 1.11 +does very little other than manage the instantiation of a 1.12 +single object. In deriving a class from Class::Singleton, 1.13 +your module will inherit the Singleton instantiation method and 1.14 +can implement whatever specific functionality is required.
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/perl-common-sense/description.txt Fri Dec 31 14:04:57 2021 +0100 2.3 @@ -0,0 +1,14 @@ 2.4 +This module implements some sane defaults for Perl programs, 2.5 +as defined by two typical (or not so typical - use your 2.6 +common sense) specimens of Perl coders. 2.7 +In fact, after working out details on which warnings and 2.8 +strict modes to enable and make fatal, we found that we 2.9 +(and our code written so far, and others) fully agree on 2.10 +every option, even though we never used warnings before, 2.11 +so it seems this module indeed reflects a "common" sense 2.12 +among some long-time Perl coders. 2.13 + 2.14 +The basic philosophy behind the choices made in common::sense 2.15 +can be summarised as: "enforcing strict policies to catch as 2.16 +many bugs as possible, while at the same time, not limiting 2.17 +the expressive power available to the programmer".
3.1 --- a/perl-common-sense/receipt Fri Dec 31 14:00:12 2021 +0100 3.2 +++ b/perl-common-sense/receipt Fri Dec 31 14:04:57 2021 +0100 3.3 @@ -1,16 +1,17 @@ 3.4 # SliTaz package receipt. 3.5 3.6 PACKAGE="perl-common-sense" 3.7 -VERSION="3.74" 3.8 +VERSION="3.75" 3.9 CATEGORY="development" 3.10 SHORT_DESC="Perl extension common::sense." 3.11 MAINTAINER="pascal.bellard@slitaz.org" 3.12 LICENSE="GPL" 3.13 -WEB_SITE="https://metacpan.org/release/common-sense" 3.14 +WEB_SITE="https://metacpan.org/pod/common::sense" 3.15 +REPOLOGY="perl:common-sense" 3.16 3.17 SOURCE="common-sense" 3.18 TARBALL="$SOURCE-$VERSION.tar.gz" 3.19 -WGET_URL="http://cpan.org/authors/id/M/ML/MLEHMANN/$TARBALL" 3.20 +WGET_URL="https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/$TARBALL" 3.21 3.22 DEPENDS="perl" 3.23 BUILD_DEPENDS="perl" 3.24 @@ -24,14 +25,13 @@ 3.25 # Rules to configure and make the package. 3.26 compile_rules() 3.27 { 3.28 - perl Makefile.PL 3.29 - make 3.30 - make DESTDIR=$DESTDIR install 3.31 + perl Makefile.PL && 3.32 + make && 3.33 + make install DESTDIR=$DESTDIR 3.34 } 3.35 3.36 # Rules to gen a SliTaz package suitable for Tazpkg. 3.37 genpkg_rules() 3.38 { 3.39 - mkdir -p $fs/usr 3.40 - cp -a $install/usr/lib $fs/usr 3.41 + cook_copy_folders lib 3.42 }