From 8a0c1647395c07f69d296cf982d0bccd9cc9bff0 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Thu, 1 Feb 2024 13:23:49 +0800 Subject: liburi-perl: upgrade 5.21 -> 5.25 Changelog: ============== - cache scheme so it never attempt to load it again - Really revert "use Scalar::Util::reftype instead of ref to check for ARRAY" - Revert the reftype change introduced in 5.22 as it causes warnings. - Use Scalar::Util::reftype instead of ref to check for ARRAY (From OE-Core rev: 84fb221f02abb8e34a3fc8efab7c2725e6c1d144) Signed-off-by: Wang Mingyu Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- meta/recipes-devtools/perl/liburi-perl_5.21.bb | 56 -------------------------- meta/recipes-devtools/perl/liburi-perl_5.25.bb | 56 ++++++++++++++++++++++++++ 2 files changed, 56 insertions(+), 56 deletions(-) delete mode 100644 meta/recipes-devtools/perl/liburi-perl_5.21.bb create mode 100644 meta/recipes-devtools/perl/liburi-perl_5.25.bb (limited to 'meta/recipes-devtools/perl') diff --git a/meta/recipes-devtools/perl/liburi-perl_5.21.bb b/meta/recipes-devtools/perl/liburi-perl_5.21.bb deleted file mode 100644 index 0356469d98..0000000000 --- a/meta/recipes-devtools/perl/liburi-perl_5.21.bb +++ /dev/null @@ -1,56 +0,0 @@ -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 = "https://metacpan.org/dist/URI" -SECTION = "libs" -LICENSE = "Artistic-1.0 | GPL-1.0-or-later" - -LIC_FILES_CHKSUM = "file://LICENSE;md5=9944b87af51186f848ae558344aded9f" - -SRC_URI = "${CPAN_MIRROR}/authors/id/O/OA/OALDERS/URI-${PV}.tar.gz \ - file://0001-Skip-TODO-test-cases-that-fail.patch \ - " - -SRC_URI[sha256sum] = "96265860cd61bde16e8415dcfbf108056de162caa0ac37f81eb695c9d2e0ab77" - -S = "${WORKDIR}/URI-${PV}" - -EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}" - -inherit cpan ptest-perl - -do_compile() { - export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')" - cpan_do_compile -} - -do_install:prepend() { - # these tests require "-T" (taint) command line option - rm -rf ${B}/t/cwd.t - rm -rf ${B}/t/file.t -} - -RDEPENDS:${PN} += "\ - perl-module-integer \ - perl-module-mime-base64 \ -" - -RDEPENDS:${PN}-ptest += " \ - libtest-fatal-perl \ - libtest-needs-perl \ - 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" diff --git a/meta/recipes-devtools/perl/liburi-perl_5.25.bb b/meta/recipes-devtools/perl/liburi-perl_5.25.bb new file mode 100644 index 0000000000..0305955524 --- /dev/null +++ b/meta/recipes-devtools/perl/liburi-perl_5.25.bb @@ -0,0 +1,56 @@ +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 = "https://metacpan.org/dist/URI" +SECTION = "libs" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" + +LIC_FILES_CHKSUM = "file://LICENSE;md5=9944b87af51186f848ae558344aded9f" + +SRC_URI = "${CPAN_MIRROR}/authors/id/O/OA/OALDERS/URI-${PV}.tar.gz \ + file://0001-Skip-TODO-test-cases-that-fail.patch \ + " + +SRC_URI[sha256sum] = "ef61941da09fff2503cea3692c4f2fc48c0e4442486e2a28345cb32d44d0d271" + +S = "${WORKDIR}/URI-${PV}" + +EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}" + +inherit cpan ptest-perl + +do_compile() { + export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')" + cpan_do_compile +} + +do_install:prepend() { + # these tests require "-T" (taint) command line option + rm -rf ${B}/t/cwd.t + rm -rf ${B}/t/file.t +} + +RDEPENDS:${PN} += "\ + perl-module-integer \ + perl-module-mime-base64 \ +" + +RDEPENDS:${PN}-ptest += " \ + libtest-fatal-perl \ + libtest-needs-perl \ + 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" -- cgit v1.2.3-54-g00ecf