From 0c030b025549a321d35e654668b8df90a3e87691 Mon Sep 17 00:00:00 2001 From: Jason Schonberg Date: Sun, 12 Oct 2025 15:04:10 -0400 Subject: libhtml-tree-perl: upgrade 5.04 -> 5.05 License-Update: change offset because README file got longer. Checksum is unchanged. 5.05 2017-04-26 [FIXES] * Revert Dist::Zilla Removal - https://github.com/jfearn/HTML-Tree/issues/7 - Vendor note: It should be simpler to compare 5.03 and 5.05 than to compare 5.04 and 5.05, or 5.03 and 5.05. - Fixes RT#12230: Undeclared dep on Test::Fatal - https://rt.cpan.org/Ticket/Display.html?id=121230 * Proper fix for '.' in @INC - https://rt.cpan.org/Ticket/Display.html?id=120521 Signed-off-by: Jason Schonberg Signed-off-by: Khem Raj --- .../recipes-perl/libhtml/libhtml-tree-perl_5.04.bb | 50 ---------------------- .../recipes-perl/libhtml/libhtml-tree-perl_5.05.bb | 50 ++++++++++++++++++++++ 2 files changed, 50 insertions(+), 50 deletions(-) delete mode 100644 meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.04.bb create mode 100644 meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.05.bb (limited to 'meta-perl/recipes-perl/libhtml') diff --git a/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.04.bb b/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.04.bb deleted file mode 100644 index 59bab0c748..0000000000 --- a/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.04.bb +++ /dev/null @@ -1,50 +0,0 @@ -SUMMARY = "HTML::TreeBuilder - Parser that builds a HTML syntax tree" -DESCRIPTION = "This distribution contains a suite of modules for representing, \ -creating, and extracting information from HTML syntax trees; there is \ -also relevent documentation. These modules used to be part of the \ -libwww-perl distribution, but are now unbundled in order to facilitate \ -a separate development track." -SECTION = "libs" - -HOMEPAGE = "https://metacpan.org/release/JFEARN/HTML-Tree-5.04/source/README" - -LICENSE = "Artistic-1.0 | GPL-1.0-or-later" -LIC_FILES_CHKSUM = "file://README;beginline=74;endline=91;md5=260d31d31370658947ae050eef27aca9" - -SRC_URI = "${CPAN_MIRROR}/authors/id/J/JF/JFEARN/HTML-Tree-${PV}.tar.gz \ - file://bin-htmltree-fix-shebang.patch \ -" -SRC_URI[sha256sum] = "1959ea2f7a9f1491903238d3a2cbef3a8e9aaaa75963f7114dbf54dca791b7be" - -S = "${UNPACKDIR}/HTML-Tree-${PV}" - -inherit cpan_build - -export PERL_USE_UNSAFE_INC = "1" - -DEPENDS += "libmodule-build-perl-native \ -" - -do_install:append() { - sed -i \ - -e 's|${TMPDIR}||g' \ - `find ${D}/usr/share/doc/perl/html/site/lib/HTML/ -type f` \ - `find ${D}/usr/lib/perl5 -type f -name .packlist` -} - -RPROVIDES:${PN} = " libhtml-element-perl \ - libhtml-tree-assubs-perl \ - libhtml-tree-perl \ - libhtml-treebuilder-perl \ -" - -RDEPENDS:${PN} = " perl-module-b \ - perl-module-base \ - perl-module-strict \ - perl-module-warnings \ - perl-module-exporter \ - perl-module-carp \ -" - -BBCLASSEXTEND = "native" - diff --git a/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.05.bb b/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.05.bb new file mode 100644 index 0000000000..332eabb153 --- /dev/null +++ b/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.05.bb @@ -0,0 +1,50 @@ +SUMMARY = "HTML::TreeBuilder - Parser that builds a HTML syntax tree" +DESCRIPTION = "This distribution contains a suite of modules for representing, \ +creating, and extracting information from HTML syntax trees; there is \ +also relevent documentation. These modules used to be part of the \ +libwww-perl distribution, but are now unbundled in order to facilitate \ +a separate development track." +SECTION = "libs" + +HOMEPAGE = "https://metacpan.org/release/KENTNL/HTML-Tree-5.05/source/README" + +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" +LIC_FILES_CHKSUM = "file://README;beginline=88;endline=105;md5=260d31d31370658947ae050eef27aca9" + +SRC_URI = "${CPAN_MIRROR}/authors/id/K/KE/KENTNL/HTML-Tree-${PV}.tar.gz \ + file://bin-htmltree-fix-shebang.patch \ +" +SRC_URI[sha256sum] = "9c0461e9058d4d1bf1dca353bb1266cf99c99c8adabd9d3ca97d2bc4a5e8bd0f" + +S = "${UNPACKDIR}/HTML-Tree-${PV}" + +inherit cpan_build + +export PERL_USE_UNSAFE_INC = "1" + +DEPENDS += "libmodule-build-perl-native \ +" + +do_install:append() { + sed -i \ + -e 's|${TMPDIR}||g' \ + `find ${D}/usr/share/doc/perl/html/site/lib/HTML/ -type f` \ + `find ${D}/usr/lib/perl5 -type f -name .packlist` +} + +RPROVIDES:${PN} = " libhtml-element-perl \ + libhtml-tree-assubs-perl \ + libhtml-tree-perl \ + libhtml-treebuilder-perl \ +" + +RDEPENDS:${PN} = " perl-module-b \ + perl-module-base \ + perl-module-strict \ + perl-module-warnings \ + perl-module-exporter \ + perl-module-carp \ +" + +BBCLASSEXTEND = "native" + -- cgit v1.2.3-54-g00ecf