Skip to contentSkip to conversation

liburi-perl upgrade

PATCH In review Tim Orling 2 participants 11 messages Nov 18, 2022

lore
Share & tools
lore

Tim Orling

author
#0 lore raw

cover liburi-perl upgrade

AUH has been missing upgrades to liburi-perl because the author changed back from ETHER to OALDERS, which changes the SRC_URI. In the mean time, the dependencies for -ptest have grown a little bit, so we add two new recipes and import one from meta-perl.

While we are at it, correct the redirects in CPAN_MIRROR.

The following changes since commit 44bb88cc869f3b42440d6f7aad000e706b739a2b:

mesa: do not rely on native llvm-config in target sysroot (2022-11-15 09:38:38 +0000)

are available in the Git repository at:

https://git.yoctoproject.org/git/poky-contrib timo/recipe-upgrades
http://git.yoctoproject.org/cgit.cgi/git/poky-contrib/log/?h=timo/recipe-upgrades

Tim Orling (5):
mirrors.bbclass: update CPAN_MIRROR
libtry-tiny-perl: add recipe for 0.31
libtest-fatal-perl: add recipe for 0.016
libtest-warnings-perl: move from meta-perl
liburi-perl: upgrade 5.08 -> 5.17

 meta/classes-global/mirrors.bbclass           |   3 +-
 meta/conf/distro/include/maintainers.inc      |   3 +
 .../distro/include/ptest-packagelists.inc     |   3 +
 .../perl/libtest-fatal-perl_0.016.bb          |  36 ++++++
 .../perl/libtest-warnings-perl_0.031.bb       |  39 +++++++
 .../perl/libtry-tiny-perl_0.31.bb             |  36 ++++++
 .../0001-Skip-TODO-test-cases-that-fail.patch | 110 ++++++++++++++++++
 ...iburi-perl_5.08.bb => liburi-perl_5.17.bb} |  34 +++---
 8 files changed, 248 insertions(+), 16 deletions(-)
 create mode 100644 meta/recipes-devtools/perl/libtest-fatal-perl_0.016.bb
 create mode 100644 meta/recipes-devtools/perl/libtest-warnings-perl_0.031.bb
 create mode 100644 meta/recipes-devtools/perl/libtry-tiny-perl_0.31.bb
 create mode 100644 meta/recipes-devtools/perl/liburi-perl/0001-Skip-TODO-test-cases-that-fail.patch
 rename meta/recipes-devtools/perl/{liburi-perl_5.08.bb => liburi-perl_5.17.bb} (65%)
Signature · 1 line
2.30.2
author
#1 lore raw

PATCH 1/5 mirrors.bbclass: update CPAN_MIRROR

Both of these redirect to https://cpan.metacpan.org/:
http://cpan.metacpan.org/
http://search.cpan.org/CPAN/

---
 meta/classes-global/mirrors.bbclass | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta/classes-global/mirrors.bbclass +1 -2
index 8b984de3bfe..cda431ce891 100644
@@ -67,8 +67,7 @@ osc://.*/.*     http://sources.openembedded.org/ \
 https?://.*/.*  http://sources.openembedded.org/ \
 ftp://.*/.*     http://sources.openembedded.org/ \
 npm://.*/?.*    http://sources.openembedded.org/ \
-${CPAN_MIRROR}  http://cpan.metacpan.org/ \
-${CPAN_MIRROR}  http://search.cpan.org/CPAN/ \
+${CPAN_MIRROR}  https://cpan.metacpan.org/ \
 https?://downloads.yoctoproject.org/releases/uninative/ https://mirrors.kernel.org/yocto/uninative/ \
 https?://downloads.yoctoproject.org/mirror/sources/ https://mirrors.kernel.org/yocto-sources/ \
 "
Signature · 1 line
2.30.2
author
#2 lore raw

PATCH 2/5 libtry-tiny-perl: add recipe for 0.31

In reply to Tim Orling

Try::Tiny - Minimal try/catch with proper preservation of $@

https://metacpan.org/release/ETHER/Try-Tiny-0.31

* Dependency for libtest-fatal-perl
* Add self as maintainer
* Add to ptest-packagelists.inc (fast)

---
 meta/conf/distro/include/maintainers.inc      |  1 +
 .../distro/include/ptest-packagelists.inc     |  1 +
 .../perl/libtry-tiny-perl_0.31.bb             | 36 +++++++++++++++++++
 3 files changed, 38 insertions(+)
 create mode 100644 meta/recipes-devtools/perl/libtry-tiny-perl_0.31.bb
meta/conf/distro/include/maintainers.inc +1 -0
index 5b7ce77c3cc..141578a7a99 100644
@@ -396,6 +396,7 @@ RECIPE_MAINTAINER:pn-libtirpc = "Anuj Mittal <[email protected]>"
 RECIPE_MAINTAINER:pn-libtool = "Robert Yang <[email protected]>"
 RECIPE_MAINTAINER:pn-libtool-cross = "Robert Yang <[email protected]>"
 RECIPE_MAINTAINER:pn-libtool-native = "Robert Yang <[email protected]>"
+RECIPE_MAINTAINER:pn-libtry-tiny-perl = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-libucontext = "Khem Raj <[email protected]>"
 RECIPE_MAINTAINER:pn-libunistring = "Anuj Mittal <[email protected]>"
 RECIPE_MAINTAINER:pn-libunwind = "Bruce Ashfield <[email protected]>"
meta/conf/distro/include/ptest-packagelists.inc +1 -0
index 3c9ff43bd9b..b0925e13dd0 100644
@@ -34,6 +34,7 @@ PTESTS_FAST = "\
     libssh2-ptest \
     libtimedate-perl-ptest \
     libtest-needs-perl-ptest \
+    libtry-tiny-perl-ptest \
     liburi-perl-ptest \
     libusb1-ptest \
     libxml-namespacesupport-perl-ptest \
meta/recipes-devtools/perl/libtry-tiny-perl_0.31.bb new file +36 -0
new file mode 100644
index 00000000000..a3728d84356
@@ -0,0 +1,36 @@
+SUMMARY = "Try::Tiny - Minimal try/catch with proper preservation of $@"
+DESCRIPTION = "This module provides bare bones try/catch/finally statements \
+that are designed to minimize common mistakes with eval blocks, and NOTHING \
+else."
+HOMEPAGE = "https://github.com/p5sagit/Try-Tiny"
+BUGTRACKER = "https://rt.cpan.org/Public/Dist/Display.html?Name=Try-Tiny"
+SECTION = "libs"
+LICENSE = "MIT"
+
+LIC_FILES_CHKSUM = "file://LICENCE;md5=5dc332c2d4aade55f5db244681000091"
+
+SRC_URI = "${CPAN_MIRROR}/authors/id/E/ET/ETHER/Try-Tiny-${PV}.tar.gz"
+
+SRC_URI[sha256sum] = "3300d31d8a4075b26d8f46ce864a1d913e0e8467ceeba6655d5d2b2e206c11be"
+
+S = "${WORKDIR}/Try-Tiny-${PV}"
+
+inherit cpan ptest-perl
+
+RDEPENDS:${PN} += "\
+    perl-module-carp \
+    perl-module-constant \
+    perl-module-exporter \
+"
+RRECOMMENDS:${PN} += "\
+    perl-module-sub-util \
+"
+RDEPENDS:${PN}-ptest += "\
+    perl-module-extutils-makemaker \
+    perl-module-extutils-mm-unix \
+    perl-module-file-spec \
+    perl-module-if \
+    perl-module-test-more \
+"
+
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.30.2
author
#3 lore raw

PATCH 3/5 libtest-fatal-perl: add recipe for 0.016

In reply to Tim Orling

Test::Fatal - incredibly simple helpers for testing code with exceptions

https://metacpan.org/release/RJBS/Test-Fatal-0.016

* Dependency for liburi-perl ptest.
* Add self as maintainer
* Add to ptest-packages.inc (fast)

---
 meta/conf/distro/include/maintainers.inc      |  1 +
 .../distro/include/ptest-packagelists.inc     |  1 +
 .../perl/libtest-fatal-perl_0.016.bb          | 36 +++++++++++++++++++
 3 files changed, 38 insertions(+)
 create mode 100644 meta/recipes-devtools/perl/libtest-fatal-perl_0.016.bb
meta/conf/distro/include/maintainers.inc +1 -0
index 141578a7a99..42e705bda95 100644
@@ -389,6 +389,7 @@ RECIPE_MAINTAINER:pn-libsoup-2.4 = "Anuj Mittal <[email protected]>"
 RECIPE_MAINTAINER:pn-libssh2 = "Unassigned <[email protected]>"
 RECIPE_MAINTAINER:pn-libssp-nonshared = "Khem Raj <[email protected]>"
 RECIPE_MAINTAINER:pn-libtasn1 = "Anuj Mittal <[email protected]>"
+RECIPE_MAINTAINER:pn-libtest-fatal-perl = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-libtest-needs-perl = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-libtheora = "Alexander Kanavin <[email protected]>"
 RECIPE_MAINTAINER:pn-libtimedate-perl = "Tim Orling <[email protected]>"
meta/conf/distro/include/ptest-packagelists.inc +1 -0
index b0925e13dd0..983f1dd72a5 100644
@@ -33,6 +33,7 @@ PTESTS_FAST = "\
     libpcre-ptest \
     libssh2-ptest \
     libtimedate-perl-ptest \
+    libtest-fatal-perl-ptest \
     libtest-needs-perl-ptest \
     libtry-tiny-perl-ptest \
     liburi-perl-ptest \
meta/recipes-devtools/perl/libtest-fatal-perl_0.016.bb new file +36 -0
new file mode 100644
index 00000000000..6d36c94eeb5
@@ -0,0 +1,36 @@
+SUMMARY = "Incredibly simple helpers for testing code with exceptions"
+DESCRIPTION = "Test::Fatal is an alternative to the popular Test::Exception.\
+It does much less, but should allow greater flexibility in testing \
+exception-throwing code with about the same amount of typing."
+HOMEPAGE = "https://github.com/rjbs/Test-Fatal"
+BUGTRACKER = "https://github.com/rjbs/Test-Fatal/issues"
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
+
+LIC_FILES_CHKSUM = "file://LICENSE;md5=f7c73bf24be1bc7759bde9c15000db6c"
+
+SRC_URI = "${CPAN_MIRROR}/authors/id/R/RJ/RJBS/Test-Fatal-${PV}.tar.gz"
+
+SRC_URI[sha256sum] = "7283d430f2ba2030b8cd979ae3039d3f1b2ec3dde1a11ca6ae09f992a66f788f"
+
+S = "${WORKDIR}/Test-Fatal-${PV}"
+
+inherit cpan ptest-perl
+
+RDEPENDS:${PN} += "\
+    libtry-tiny-perl \
+    perl-module-carp \
+    perl-module-exporter \
+    perl-module-test-builder \
+"
+
+RDEPENDS:${PN}-ptest += "\
+    perl-module-extutils-makemaker \
+    perl-module-extutils-mm-unix \
+    perl-module-file-spec \
+    perl-module-overload \
+    perl-module-test-builder-tester \
+    perl-module-test-more \
+"
+
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.30.2
author
#4 lore raw

PATCH 4/5 libtest-warnings-perl: move from meta-perl

In reply to Tim Orling

liburi-perl in oe-core now RDEPENDS on libtest-warnings-perl for ptest

* Update HOMEPAGE; fix syntax
* Add SUMMARY
* Add BUGTRACKER
* Use CPAN_MIRROR for SRC_URI
* Use actual LICENCE file for LIC_FILES_CHKSUM
* Add RDEPENDS
* Add RDEPENDS on perl-modules for ptest
- Too many hidden dependencies that fail silently, but pass with full perl-modules
* Add self as maintainer
* Add to ptest-packagelists (fast)

---
 meta/conf/distro/include/maintainers.inc      |  1 +
 .../distro/include/ptest-packagelists.inc     |  1 +
 .../perl/libtest-warnings-perl_0.031.bb       | 39 +++++++++++++++++++
 3 files changed, 41 insertions(+)
 create mode 100644 meta/recipes-devtools/perl/libtest-warnings-perl_0.031.bb
meta/conf/distro/include/maintainers.inc +1 -0
index 42e705bda95..75931516323 100644
@@ -391,6 +391,7 @@ RECIPE_MAINTAINER:pn-libssp-nonshared = "Khem Raj <[email protected]>"
 RECIPE_MAINTAINER:pn-libtasn1 = "Anuj Mittal <[email protected]>"
 RECIPE_MAINTAINER:pn-libtest-fatal-perl = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-libtest-needs-perl = "Tim Orling <[email protected]>"
+RECIPE_MAINTAINER:pn-libtest-warnings-perl = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-libtheora = "Alexander Kanavin <[email protected]>"
 RECIPE_MAINTAINER:pn-libtimedate-perl = "Tim Orling <[email protected]>"
 RECIPE_MAINTAINER:pn-libtirpc = "Anuj Mittal <[email protected]>"
meta/conf/distro/include/ptest-packagelists.inc +1 -0
index 983f1dd72a5..cf1b57e1867 100644
@@ -35,6 +35,7 @@ PTESTS_FAST = "\
     libtimedate-perl-ptest \
     libtest-fatal-perl-ptest \
     libtest-needs-perl-ptest \
+    libtest-warnings-perl-ptest \
     libtry-tiny-perl-ptest \
     liburi-perl-ptest \
     libusb1-ptest \
meta/recipes-devtools/perl/libtest-warnings-perl_0.031.bb new file +39 -0
new file mode 100644
index 00000000000..e03deaf15fa
@@ -0,0 +1,39 @@
+# Copyright (C) 2020 Jens Rehsack <[email protected]>
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+SUMMARY = "Test::Warnings - Test for warnings and the lack of them"
+DESCRIPTION = "If you've ever tried to use Test::NoWarnings to confirm there are no \
+warnings generated by your tests, combined with the convenience of \
+\\"done_testing\\" to not have to declare a test count, you'll have discovered \
+that these two features do not play well together, as the test count will \
+be calculated *before* the warnings test is run, resulting in a TAP error. \
+(See "examples/test_nowarnings.pl" in this distribution for a \
+demonstration.)"
+HOMEPAGE = "https://github.com/karenetheridge/Test-Warnings"
+BUGTRACKER = "https://rt.cpan.org/Public/Dist/Display.html?Name=Test-Warnings"
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
+
+LIC_FILES_CHKSUM = "file://LICENCE;md5=6f2b02f39e7d359efd9525fbc56c84a1"
+
+SRC_URI = "${CPAN_MIRROR}/authors/id/E/ET/ETHER/Test-Warnings-${PV}.tar.gz"
+
+SRC_URI[sha256sum] = "1e542909fef305e45563e9878ea1c3b0c7cef1b28bb7ae07eba2e1efabec477b"
+
+S = "${WORKDIR}/Test-Warnings-${PV}"
+
+inherit cpan ptest-perl
+
+RDEPENDS:${PN} += "\
+    perl-module-test-builder \
+"
+
+# Many hidden dependencies and mysterious failures occur without full perl-modules
+RDEPENDS:${PN}-ptest += "perl-modules"
+
+do_install_ptest_perl:append () {
+    cp -r ${B}/t/lib ${D}${PTEST_PATH}/t/
+    chown -R root:root ${D}${PTEST_PATH}/t/lib
+}
+
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.30.2
author
#5 lore raw

PATCH 5/5 liburi-perl: upgrade 5.08 -> 5.17

In reply to Tim Orling

* Author changed back from ETHER to OALDERS
* Use CPAN_MIRROR for SRC_URI
* Update HOMEPAGE
* Update RPEPENDS for -ptest
* Patch to skip TODO test cases

For changes, see:
https://metacpan.org/release/OALDERS/URI-5.17/changes

License-Update: whitespace changes

---
 .../0001-Skip-TODO-test-cases-that-fail.patch | 110 ++++++++++++++++++
 ...iburi-perl_5.08.bb => liburi-perl_5.17.bb} |  34 +++---
 2 files changed, 130 insertions(+), 14 deletions(-)
 create mode 100644 meta/recipes-devtools/perl/liburi-perl/0001-Skip-TODO-test-cases-that-fail.patch
 rename meta/recipes-devtools/perl/{liburi-perl_5.08.bb => liburi-perl_5.17.bb} (65%)
meta/recipes-devtools/perl/liburi-perl/0001-Skip-TODO-test-cases-that-fail.patch new file +110 -0
new file mode 100644
index 00000000000..68ccd061202
@@ -0,0 +1,110 @@
+From 858daa5047b00e7d5aa795302a9fad5504c8f0b9 Mon Sep 17 00:00:00 2001
+From: Tim Orling <[email protected]>
+Date: Thu, 17 Nov 2022 16:33:20 -0800
+Subject: [PATCH] Skip TODO test cases that fail
+
+TODO cases report as "not ok" with ptest-runner
+
+Upstream-Status: Inappropriate [ptest-runner specific]
+
+Signed-off-by: Tim Orling <[email protected]>
+
+---
+ t/escape-char.t | 20 ++++++++++----------
+ t/iri.t         | 18 +++++++++---------
+ t/mailto.t      | 12 ++++++------
+ 3 files changed, 25 insertions(+), 25 deletions(-)
+
+diff --git a/t/escape-char.t b/t/escape-char.t
+index c6ce79c..5e62ad5 100644
+--- a/t/escape-char.t
++++ b/t/escape-char.t
+@@ -6,16 +6,16 @@ use warnings;
+ use Test::More;
+ use URI ();
+ 
+-TODO: {
+-    my $str = "http://foo/\xE9";
+-    utf8::upgrade($str);
+-    my $uri = URI->new($str);
+-
+-    local $TODO = 'URI::Escape::escape_char misunderstands utf8';
+-
+-    # http://foo/%C3%A9
+-    is("$uri", 'http://foo/%E9', 'correctly created a URI from a utf8-upgraded string');
+-}
++#TODO: {
++#    my $str = "http://foo/\xE9";
++#    utf8::upgrade($str);
++#    my $uri = URI->new($str);
++#
++#    local $TODO = 'URI::Escape::escape_char misunderstands utf8';
++#
++#    # http://foo/%C3%A9
++#    is("$uri", 'http://foo/%E9', 'correctly created a URI from a utf8-upgraded string');
++#}
+ 
+ {
+     my $str = "http://foo/\xE9";
+diff --git a/t/iri.t b/t/iri.t
+index 2eb64b2..9c663c9 100644
+--- a/t/iri.t
++++ b/t/iri.t
+@@ -6,7 +6,7 @@ use Test::More;
+ use Config qw( %Config );
+ 
+ if (defined $Config{useperlio}) {
+-    plan tests=>26;
++    plan tests=>24;
+ } else {
+     plan skip_all=>'this perl doesn\'t support PerlIO layers';
+ }
+@@ -60,17 +60,17 @@ is $u->as_iri, "http://➡.ws/";
+ # draft-duerst-iri-bis.txt examples (section 3.7.1):
+ is(URI->new("http://www.example.org/D%C3%BCrst")->as_iri, "http://www.example.org/D\xFCrst");
+ is(URI->new("http://www.example.org/D%FCrst")->as_iri, "http://www.example.org/D%FCrst");
+-TODO: {
+-    local $TODO = "some chars (like U+202E, RIGHT-TO-LEFT OVERRIDE) need to stay escaped";
+-is(URI->new("http://xn--99zt52a.example.org/%e2%80%ae")->as_iri, "http://\x{7D0D}\x{8C46}.example.org/%e2%80%ae");
+-}
++#TODO: {
++#    local $TODO = "some chars (like U+202E, RIGHT-TO-LEFT OVERRIDE) need to stay escaped";
++#is(URI->new("http://xn--99zt52a.example.org/%e2%80%ae")->as_iri, "http://\x{7D0D}\x{8C46}.example.org/%e2%80%ae");
++#}
+ 
+ # try some URLs that can't be IDNA encoded (fallback to encoded UTF8 bytes)
+ $u = URI->new("http://" . ("ü" x 128));
+ is $u, "http://" . ("%C3%BC" x 128);
+ is $u->host, ("\xC3\xBC" x 128);
+-TODO: {
+-    local $TODO = "should ihost decode UTF8 bytes?";
+-    is $u->ihost, ("ü" x 128);
+-}
++#TODO: {
++#    local $TODO = "should ihost decode UTF8 bytes?";
++#    is $u->ihost, ("ü" x 128);
++#}
+ is $u->as_iri, "http://" . ("ü" x 128);
+diff --git a/t/mailto.t b/t/mailto.t
+index 79e9a13..c68cfb2 100644
+--- a/t/mailto.t
++++ b/t/mailto.t
+@@ -48,12 +48,12 @@ $u = URI->new('mailto:[email protected]');
+ is $u->to, '[email protected]', 'subaddress with `+` parsed correctly';
+ is $u, 'mailto:[email protected]', '... and stringification works';
+ 
+-TODO: {
+-    local $TODO = "We can't handle quoted local parts without properly parsing the email addresses";
+-    $u = URI->new('mailto:"foo bar+baz"@example.com');
+-    is $u->to, '"foo bar+baz"@example.com', 'address with quoted local part containing spaces is parsed correctly';
+-    is $u, 'mailto:%22foo%20bar+baz%[email protected]', '... and stringification works';
+-}
++#TODO: {
++#    local $TODO = "We can't handle quoted local parts without properly parsing the email addresses";
++#    $u = URI->new('mailto:"foo bar+baz"@example.com');
++#    is $u->to, '"foo bar+baz"@example.com', 'address with quoted local part containing spaces is parsed correctly';
++#    is $u, 'mailto:%22foo%20bar+baz%[email protected]', '... and stringification works';
++#}
+ 
+ # RFC 5321 (4.1.3) - Address Literals
+ 
meta/recipes-devtools/perl/liburi-perl_5.17.bb renamed from meta/recipes-devtools/perl/liburi-perl_5.08.bb +20 -14
similarity index 65%
rename from meta/recipes-devtools/perl/liburi-perl_5.08.bb
rename to meta/recipes-devtools/perl/liburi-perl_5.17.bb
index 5428c9ddf9f..5e15004dd0f 100644
@@ -2,19 +2,17 @@ SUMMARY = "Perl module to manipulate and access URI strings"
 DESCRIPTION = "This package contains the URI.pm module with friends. \
 The module implements the URI class. URI objects can be used to access \
 and manipulate the various components that make up these strings."
-
-HOMEPAGE = "http://search.cpan.org/dist/URI/"
+HOMEPAGE = "https://metacpan.org/dist/URI"
 SECTION = "libs"
 LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
 
-LIC_FILES_CHKSUM = "file://LICENSE;md5=c453e94fae672800f83bc1bd7a38b53f"
-
-DEPENDS += "perl"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d8ca5f628bf2cd180bc4fa044cb8ef41"
 
-SRC_URI = "http://www.cpan.org/authors/id/E/ET/ETHER/URI-${PV}.tar.gz"
+SRC_URI = "${CPAN_MIRROR}/authors/id/O/OA/OALDERS/URI-${PV}.tar.gz \
+           file://0001-Skip-TODO-test-cases-that-fail.patch \
+           "
 
-SRC_URI[md5sum] = "cdbbf8f8ccdec5c162c8505077a35c2c"
-SRC_URI[sha256sum] = "7e2c6fe3b1d5947da334fa558a96e748aaa619213b85bcdce5b5347d4d26c46e"
+SRC_URI[sha256sum] = "5f7e42b769cb27499113cfae4b786c37d49e7c7d32dbb469602cd808308568f8"
 
 S = "${WORKDIR}/URI-${PV}"
 
@@ -33,18 +31,26 @@ do_install:prepend() {
 	rm -rf ${B}/t/file.t
 }
 
-RDEPENDS:${PN} += "perl-module-integer perl-module-mime-base64"
+RDEPENDS:${PN} += "\
+    perl-module-integer \
+    perl-module-mime-base64 \
+"
+
 RDEPENDS:${PN}-ptest += " \
+    libtest-fatal-perl \
     libtest-needs-perl \
-    perl-module-test-more \
-    perl-module-test \
-    perl-module-utf8 \
-    perl-module-extutils-makemaker \
-    perl-module-net-domain \
+    libtest-warnings-perl \
     perl-module-encode \
+    perl-module-encode-encoding \
+    perl-module-extutils-makemaker \
     perl-module-extutils-mm-unix \
     perl-module-file-spec-functions \
+    perl-module-net-domain \
     perl-module-perlio \
+    perl-module-perlio-encoding \
+    perl-module-test \
+    perl-module-test-more \
+    perl-module-utf8 \
 "
 
 BBCLASSEXTEND = "native"
Signature · 1 line
2.30.2
#6 lore raw
In reply to Tim Orling

I trust all of the affected recipes still pass 'devtool check-upgrade-status'? AUH won't work if that is broken.

Alex

Quoted 51 lines · Tim Orling

AUH has been missing upgrades to liburi-perl because the author changed back from ETHER to OALDERS, which changes the SRC_URI. In the mean time, the dependencies for -ptest have grown a little bit, so we add two new recipes and import one from meta-perl.

While we are at it, correct the redirects in CPAN_MIRROR.

The following changes since commit 44bb88cc869f3b42440d6f7aad000e706b739a2b:

mesa: do not rely on native llvm-config in target sysroot (2022-11-15 09:38:38 +0000)

are available in the Git repository at:

https://git.yoctoproject.org/git/poky-contrib timo/recipe-upgrades
http://git.yoctoproject.org/cgit.cgi/git/poky-contrib/log/?h=timo/recipe-upgrades

Tim Orling (5):
mirrors.bbclass: update CPAN_MIRROR
libtry-tiny-perl: add recipe for 0.31
libtest-fatal-perl: add recipe for 0.016
libtest-warnings-perl: move from meta-perl
liburi-perl: upgrade 5.08 -> 5.17

 meta/classes-global/mirrors.bbclass           |   3 +-
 meta/conf/distro/include/maintainers.inc      |   3 +
 .../distro/include/ptest-packagelists.inc     |   3 +
 .../perl/libtest-fatal-perl_0.016.bb          |  36 ++++++
 .../perl/libtest-warnings-perl_0.031.bb       |  39 +++++++
 .../perl/libtry-tiny-perl_0.31.bb             |  36 ++++++
 .../0001-Skip-TODO-test-cases-that-fail.patch | 110 ++++++++++++++++++
 ...iburi-perl_5.08.bb => liburi-perl_5.17.bb} |  34 +++---
 8 files changed, 248 insertions(+), 16 deletions(-)
 create mode 100644 meta/recipes-devtools/perl/libtest-fatal-perl_0.016.bb
 create mode 100644 meta/recipes-devtools/perl/libtest-warnings-perl_0.031.bb
 create mode 100644 meta/recipes-devtools/perl/libtry-tiny-perl_0.31.bb
 create mode 100644 meta/recipes-devtools/perl/liburi-perl/0001-Skip-TODO-test-cases-that-fail.patch
 rename meta/recipes-devtools/perl/{liburi-perl_5.08.bb => liburi-perl_5.17.bb} (65%)

--
2.30.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#173482): https://lists.openembedded.org/g/openembedded-core/message/173482
Mute This Topic: https://lists.openembedded.org/mt/95117529/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

author
#7 lore raw
Quoted 4 lines · Alexander Kanavin

I trust all of the affected recipes still pass 'devtool check-upgrade-status'? AUH won't work if that is broken.

It doesn't matter when the author changes and CPAN changes the URL out

from under us. Unless we figure out a different URL to use for the AUH query.
liburi-perl was happily reporting no change for a long time.

Quoted 64 lines

Alex

Quoted 9 lines · Tim Orling

AUH has been missing upgrades to liburi-perl because the author changed back from ETHER to OALDERS, which changes the SRC_URI. In the mean time, the dependencies for -ptest have grown a little bit, so we add two new recipes and import one from meta-perl.

While we are at it, correct the redirects in CPAN_MIRROR.

The following changes since commit

44bb88cc869f3b42440d6f7aad000e706b739a2b:

Quoted 2 lines

mesa: do not rely on native llvm-config in target sysroot (2022-11-15

09:38:38 +0000)

Quoted 5 lines

are available in the Git repository at:

https://git.yoctoproject.org/git/poky-contrib timo/recipe-upgrades

http://git.yoctoproject.org/cgit.cgi/git/poky-contrib/log/?h=timo/recipe-upgrades

Quoted 8 lines

Tim Orling (5):
mirrors.bbclass: update CPAN_MIRROR
libtry-tiny-perl: add recipe for 0.31
libtest-fatal-perl: add recipe for 0.016
libtest-warnings-perl: move from meta-perl
liburi-perl: upgrade 5.08 -> 5.17

Quoted 10 lines
 meta/classes-global/mirrors.bbclass           |   3 +-
 meta/conf/distro/include/maintainers.inc      |   3 +
 .../distro/include/ptest-packagelists.inc     |   3 +
 .../perl/libtest-fatal-perl_0.016.bb          |  36 ++++++
 .../perl/libtest-warnings-perl_0.031.bb       |  39 +++++++
 .../perl/libtry-tiny-perl_0.31.bb             |  36 ++++++
 .../0001-Skip-TODO-test-cases-that-fail.patch | 110 ++++++++++++++++++
 ...iburi-perl_5.08.bb => liburi-perl_5.17.bb} |  34 +++---
 8 files changed, 248 insertions(+), 16 deletions(-)
 create mode 100644 meta/recipes-devtools/perl/

libtest-fatal-perl_0.016.bb

Quoted 1 line
 create mode 100644 meta/recipes-devtools/perl/

libtest-warnings-perl_0.031.bb

Quoted 2 lines
 create mode 100644 meta/recipes-devtools/perl/libtry-tiny-perl_0.31.bb
 create mode 100644

meta/recipes-devtools/perl/liburi-perl/0001-Skip-TODO-test-cases-that-fail.patch

Quoted 1 line
 rename meta/recipes-devtools/perl/{liburi-perl_5.08.bb =>

liburi-perl_5.17.bb} (65%)

Quoted 8 lines

--
2.30.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#173482):

https://lists.openembedded.org/g/openembedded-core/message/173482

Quoted 3 lines

Mute This Topic: https://lists.openembedded.org/mt/95117529/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [

[email protected]]

Quoted 2 lines

-=-=-=-=-=-=-=-=-=-=-=-

#8 lore raw
Quoted 5 lines · Tim Orling
Quoted 3 lines

I trust all of the affected recipes still pass 'devtool check-upgrade-status'? AUH won't work if that is broken.

It doesn't matter when the author changes and CPAN changes the URL out from under us. Unless we figure out a different URL to use for the AUH query. liburi-perl was happily reporting no change for a long time.

What I mean is does version check work properly for the fixed recipe, and the ones that were newly introduced in your patchset?

Alex

author
#9 lore raw
Quoted 5 lines · Alexander Kanavin
Quoted 4 lines · Tim Orling
Quoted 3 lines

I trust all of the affected recipes still pass 'devtool check-upgrade-status'? AUH won't work if that is broken.

It doesn't matter when the author changes and CPAN changes the URL out

Quoted 8 lines

from under us. Unless we figure out a different URL to use for the AUH query.

Quoted 1 line

liburi-perl was happily reporting no change for a long time.

What I mean is does version check work properly for the fixed recipe, and the ones that were newly introduced in your patchset?

I know what you mean. Yes, all of them happily report back a value if you

run 'devtool check-upgrade-status'.

What I am trying to get across is that:
5.0.7 the author was OALDERS, so the URL was
https://cpan.metacpan.org/authors/id/O/OA/OALDERS/URI-5.07.tar.gz
5.0.8 the author was ETHER, so the URL was
https://cpan.metacpan.org/authors/id/E/ET/ETHER/URI-5.08.tar.gz
5.0.9+ the author went back to OALDERS so the URL became
https://cpan.metacpan.org/authors/id/O/OA/OALDERS/URI-${PV}.tar.gz again

So for ALL perl modules, we would need some other scheme for checking if the author changed. For example:
https://metacpan.org/pod/URI

Alex

Quoted 1 line
#10 lore raw
Quoted 2 lines · Tim Orling

So for ALL perl modules, we would need some other scheme for checking if the author changed. For example:
https://metacpan.org/pod/URI

This should work as UPSTREAM_CHECK_URI/REGEX, as long as the latest tarball is linked from it.

Alex