libtry-tiny-perl: add recipe for 0.31

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)

(From OE-Core rev: c26f9a01f6c94cc65b5811cad31f88e4f432a162)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Tim Orling
2022-11-18 09:52:04 -08:00
committed by Richard Purdie
parent 82a6e73384
commit e7acf25c74
3 changed files with 38 additions and 0 deletions

View File

@@ -394,6 +394,7 @@ RECIPE_MAINTAINER:pn-libtirpc = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER:pn-libtool = "Robert Yang <liezhi.yang@windriver.com>"
RECIPE_MAINTAINER:pn-libtool-cross = "Robert Yang <liezhi.yang@windriver.com>"
RECIPE_MAINTAINER:pn-libtool-native = "Robert Yang <liezhi.yang@windriver.com>"
RECIPE_MAINTAINER:pn-libtry-tiny-perl = "Tim Orling <tim.orling@konsulko.com>"
RECIPE_MAINTAINER:pn-libucontext = "Khem Raj <raj.khem@gmail.com>"
RECIPE_MAINTAINER:pn-libunistring = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER:pn-libunwind = "Bruce Ashfield <bruce.ashfield@gmail.com>"

View File

@@ -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 \

View File

@@ -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"