diff options
| author | Tim Orling <ticotimo@gmail.com> | 2022-11-18 09:52:04 -0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-11-22 12:26:45 +0000 |
| commit | e7acf25c74b71b852512def4bb4e37c55f291e92 (patch) | |
| tree | 2e0026ac85af50a4c281cae3d2db810a8287405d | |
| parent | 82a6e73384e3f40d99b4e5e742766b27cc814145 (diff) | |
| download | poky-e7acf25c74b71b852512def4bb4e37c55f291e92.tar.gz | |
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>
| -rw-r--r-- | meta/conf/distro/include/maintainers.inc | 1 | ||||
| -rw-r--r-- | meta/conf/distro/include/ptest-packagelists.inc | 1 | ||||
| -rw-r--r-- | meta/recipes-devtools/perl/libtry-tiny-perl_0.31.bb | 36 |
3 files changed, 38 insertions, 0 deletions
diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index 03db94824d..144abcb4a0 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b/meta/conf/distro/include/maintainers.inc | |||
| @@ -394,6 +394,7 @@ RECIPE_MAINTAINER:pn-libtirpc = "Anuj Mittal <anuj.mittal@intel.com>" | |||
| 394 | RECIPE_MAINTAINER:pn-libtool = "Robert Yang <liezhi.yang@windriver.com>" | 394 | RECIPE_MAINTAINER:pn-libtool = "Robert Yang <liezhi.yang@windriver.com>" |
| 395 | RECIPE_MAINTAINER:pn-libtool-cross = "Robert Yang <liezhi.yang@windriver.com>" | 395 | RECIPE_MAINTAINER:pn-libtool-cross = "Robert Yang <liezhi.yang@windriver.com>" |
| 396 | RECIPE_MAINTAINER:pn-libtool-native = "Robert Yang <liezhi.yang@windriver.com>" | 396 | RECIPE_MAINTAINER:pn-libtool-native = "Robert Yang <liezhi.yang@windriver.com>" |
| 397 | RECIPE_MAINTAINER:pn-libtry-tiny-perl = "Tim Orling <tim.orling@konsulko.com>" | ||
| 397 | RECIPE_MAINTAINER:pn-libucontext = "Khem Raj <raj.khem@gmail.com>" | 398 | RECIPE_MAINTAINER:pn-libucontext = "Khem Raj <raj.khem@gmail.com>" |
| 398 | RECIPE_MAINTAINER:pn-libunistring = "Anuj Mittal <anuj.mittal@intel.com>" | 399 | RECIPE_MAINTAINER:pn-libunistring = "Anuj Mittal <anuj.mittal@intel.com>" |
| 399 | RECIPE_MAINTAINER:pn-libunwind = "Bruce Ashfield <bruce.ashfield@gmail.com>" | 400 | RECIPE_MAINTAINER:pn-libunwind = "Bruce Ashfield <bruce.ashfield@gmail.com>" |
diff --git a/meta/conf/distro/include/ptest-packagelists.inc b/meta/conf/distro/include/ptest-packagelists.inc index 3c9ff43bd9..b0925e13dd 100644 --- a/meta/conf/distro/include/ptest-packagelists.inc +++ b/meta/conf/distro/include/ptest-packagelists.inc | |||
| @@ -34,6 +34,7 @@ PTESTS_FAST = "\ | |||
| 34 | libssh2-ptest \ | 34 | libssh2-ptest \ |
| 35 | libtimedate-perl-ptest \ | 35 | libtimedate-perl-ptest \ |
| 36 | libtest-needs-perl-ptest \ | 36 | libtest-needs-perl-ptest \ |
| 37 | libtry-tiny-perl-ptest \ | ||
| 37 | liburi-perl-ptest \ | 38 | liburi-perl-ptest \ |
| 38 | libusb1-ptest \ | 39 | libusb1-ptest \ |
| 39 | libxml-namespacesupport-perl-ptest \ | 40 | libxml-namespacesupport-perl-ptest \ |
diff --git a/meta/recipes-devtools/perl/libtry-tiny-perl_0.31.bb b/meta/recipes-devtools/perl/libtry-tiny-perl_0.31.bb new file mode 100644 index 0000000000..a3728d8435 --- /dev/null +++ b/meta/recipes-devtools/perl/libtry-tiny-perl_0.31.bb | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | SUMMARY = "Try::Tiny - Minimal try/catch with proper preservation of $@" | ||
| 2 | DESCRIPTION = "This module provides bare bones try/catch/finally statements \ | ||
| 3 | that are designed to minimize common mistakes with eval blocks, and NOTHING \ | ||
| 4 | else." | ||
| 5 | HOMEPAGE = "https://github.com/p5sagit/Try-Tiny" | ||
| 6 | BUGTRACKER = "https://rt.cpan.org/Public/Dist/Display.html?Name=Try-Tiny" | ||
| 7 | SECTION = "libs" | ||
| 8 | LICENSE = "MIT" | ||
| 9 | |||
| 10 | LIC_FILES_CHKSUM = "file://LICENCE;md5=5dc332c2d4aade55f5db244681000091" | ||
| 11 | |||
| 12 | SRC_URI = "${CPAN_MIRROR}/authors/id/E/ET/ETHER/Try-Tiny-${PV}.tar.gz" | ||
| 13 | |||
| 14 | SRC_URI[sha256sum] = "3300d31d8a4075b26d8f46ce864a1d913e0e8467ceeba6655d5d2b2e206c11be" | ||
| 15 | |||
| 16 | S = "${WORKDIR}/Try-Tiny-${PV}" | ||
| 17 | |||
| 18 | inherit cpan ptest-perl | ||
| 19 | |||
| 20 | RDEPENDS:${PN} += "\ | ||
| 21 | perl-module-carp \ | ||
| 22 | perl-module-constant \ | ||
| 23 | perl-module-exporter \ | ||
| 24 | " | ||
| 25 | RRECOMMENDS:${PN} += "\ | ||
| 26 | perl-module-sub-util \ | ||
| 27 | " | ||
| 28 | RDEPENDS:${PN}-ptest += "\ | ||
| 29 | perl-module-extutils-makemaker \ | ||
| 30 | perl-module-extutils-mm-unix \ | ||
| 31 | perl-module-file-spec \ | ||
| 32 | perl-module-if \ | ||
| 33 | perl-module-test-more \ | ||
| 34 | " | ||
| 35 | |||
| 36 | BBCLASSEXTEND = "native nativesdk" | ||
