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 /meta/recipes-devtools | |
| 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>
Diffstat (limited to 'meta/recipes-devtools')
| -rw-r--r-- | meta/recipes-devtools/perl/libtry-tiny-perl_0.31.bb | 36 |
1 files changed, 36 insertions, 0 deletions
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" | ||
