wok rev 24217
updated perl-html-parser (3.72 -> 3.76)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 16:34:31 2021 +0100 (2021-12-31) |
parents | bf59fe730c78 |
children | b8a9f5292b56 |
files | perl-html-parser/description.txt perl-html-parser/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/perl-html-parser/description.txt Fri Dec 31 16:34:31 2021 +0100 1.3 @@ -0,0 +1,22 @@ 1.4 +Objects of the HTML::Parser class will recognize markup and 1.5 +separate it from plain text (alias data content) in HTML 1.6 +documents. 1.7 +As different kinds of markup and text are recognized, the 1.8 +corresponding event handlers are invoked. 1.9 + 1.10 +HTML::Parser is not a generic SGML parser. We have tried to 1.11 +make it able to deal with the HTML that is actually "out there", 1.12 +and it normally parses as closely as possible to the way the 1.13 +popular web browsers do it instead of strictly following one 1.14 +of the many HTML specifications from W3C. 1.15 +Where there is disagreement, there is often an option that 1.16 +you can enable to get the official behaviour. 1.17 + 1.18 +The document to be parsed may be supplied in arbitrary chunks. 1.19 +This makes on-the-fly parsing as documents are received from 1.20 +the network possible. 1.21 + 1.22 +If event driven parsing does not feel right for your application, 1.23 +you might want to use HTML::PullParser. 1.24 +This is an HTML::Parser subclass that allows a more conventional 1.25 +program structure.
2.1 --- a/perl-html-parser/receipt Fri Dec 31 16:29:31 2021 +0100 2.2 +++ b/perl-html-parser/receipt Fri Dec 31 16:34:31 2021 +0100 2.3 @@ -1,17 +1,19 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="perl-html-parser" 2.7 -VERSION="3.72" 2.8 +VERSION="3.76" 2.9 CATEGORY="development" 2.10 SHORT_DESC="HTML::Parser module is a Perl extension." 2.11 MAINTAINER="pascal.bellard@slitaz.org" 2.12 LICENSE="GPL" 2.13 +WEB_SITE="https://metacpan.org/pod/HTML::Parser" 2.14 +REPOLOGY="perl:html-parser" 2.15 +SOURCE="HTML-Parser" 2.16 +TARBALL="$SOURCE-$VERSION.tar.gz" 2.17 +WGET_URL="https://www.cpan.org/modules/by-module/HTML/$TARBALL" 2.18 + 2.19 DEPENDS="perl perl-html-tagset" 2.20 BUILD_DEPENDS="perl perl-html-tagset" 2.21 -SOURCE="HTML-Parser" 2.22 -TARBALL="$SOURCE-$VERSION.tar.gz" 2.23 -WEB_SITE="https://metacpan.org/release/HTML-Parser" 2.24 -WGET_URL="https://cpan.metacpan.org/CPAN/authors/id/G/GA/GAAS/$TARBALL" 2.25 2.26 current_version() 2.27 { 2.28 @@ -24,12 +26,11 @@ 2.29 { 2.30 perl Makefile.PL && 2.31 make && 2.32 - make DESTDIR=$DESTDIR install 2.33 + make install DESTDIR=$DESTDIR 2.34 } 2.35 2.36 # Rules to gen a SliTaz package suitable for Tazpkg. 2.37 genpkg_rules() 2.38 { 2.39 - mkdir -p $fs/usr 2.40 - cp -a $install/usr/lib $fs/usr 2.41 + cook_copy_folders lib 2.42 }