diff mbox series

[meta-oe] libio-pty-perl: upgrade 1.16 -> 1.17; enable ptest

Message ID 20221117012415.1506049-1-tim.orling@konsulko.com
State Under Review
Headers show
Series [meta-oe] libio-pty-perl: upgrade 1.16 -> 1.17; enable ptest | expand

Commit Message

Tim Orling Nov. 17, 2022, 1:24 a.m. UTC
* Fix RDEPENDS for a minimal image
* Inherit ptest-perl and add RDEPENDS

1.17 2022-11-11 Todd Rinaldo <toddr@cpan.org>
    * 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 <tim.orling@konsulko.com>
---
 ...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 mbox series

Patch

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 0f1c71b70c..684788f199 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/"