From b6383d47e3065a2632f93b4d7b04c7d76307e4da Mon Sep 17 00:00:00 2001 From: Tim Orling Date: Wed, 16 Nov 2022 17:24:15 -0800 Subject: [PATCH] libio-pty-perl: upgrade 1.16 -> 1.17; enable ptest * Fix RDEPENDS for a minimal image * Inherit ptest-perl and add RDEPENDS 1.17 2022-11-11 Todd Rinaldo * Switch changelog entries to metacpan friendly format * #29 - Fix printf format conversion specifiers in croak to support size_t on all platforms * #11,#30 - Tty.pm: pre-allocate buffer for ioctl but leave it length 0 * #28 - Use $arg to match @ARGV in Makefile.PL https://metacpan.org/release/TODDR/IO-Tty-1.17 Signed-off-by: Tim Orling Signed-off-by: Khem Raj --- ...o-pty-perl_1.16.bb => libio-pty-perl_1.17.bb} | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) rename meta-oe/recipes-devtools/perl/{libio-pty-perl_1.16.bb => libio-pty-perl_1.17.bb} (60%) diff --git a/meta-oe/recipes-devtools/perl/libio-pty-perl_1.16.bb b/meta-oe/recipes-devtools/perl/libio-pty-perl_1.17.bb similarity index 60% rename from meta-oe/recipes-devtools/perl/libio-pty-perl_1.16.bb rename to meta-oe/recipes-devtools/perl/libio-pty-perl_1.17.bb index 0f1c71b70c5..684788f1997 100644 --- a/meta-oe/recipes-devtools/perl/libio-pty-perl_1.16.bb +++ b/meta-oe/recipes-devtools/perl/libio-pty-perl_1.17.bb @@ -7,12 +7,22 @@ SRC_URI = "http://www.cpan.org/modules/by-module/IO/IO-Tty-${PV}.tar.gz \ file://0001-Tty.xs-Do-not-mark-strlcpy-as-static.patch \ " -SRC_URI[md5sum] = "5ee30bf7c76f00cc69f92388ad776e2a" -SRC_URI[sha256sum] = "8f1a09c070738adc695df903f2e7f74308dd8d991b914c0bc390a0e6021294dd" +SRC_URI[sha256sum] = "a5f1a83020bc5b5dd6c1b570f48c7546e0a8f7fac10a068740b03925ad9e14e8" S = "${WORKDIR}/IO-Tty-${PV}" -inherit cpan +inherit cpan ptest-perl + +RDEPENDS:${PN} += "\ + perl-module-carp \ + perl-module-exporter \ + perl-module-io-handle \ + perl-module-posix \ +" + +RDEPENDS:${PN}-ptest += "\ + perl-module-test-more \ +" FILES:${PN}-dbg += "${libdir}/perl/vendor_perl/*/auto/IO/Tty/.debug/"