diff options
author | Tim Orling <ticotimo@gmail.com> | 2022-11-18 09:52:05 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-11-22 12:26:45 +0000 |
commit | 9b331dbb58704911de577aa1118f94a5116f5020 (patch) | |
tree | ddafff8689c3c2c5aede4843b9e74b2062d985ab | |
parent | e7acf25c74b71b852512def4bb4e37c55f291e92 (diff) | |
download | poky-9b331dbb58704911de577aa1118f94a5116f5020.tar.gz |
libtest-fatal-perl: add recipe for 0.016
Test::Fatal - incredibly simple helpers for testing code with exceptions
https://metacpan.org/release/RJBS/Test-Fatal-0.016
* Dependency for liburi-perl ptest.
* Add self as maintainer
* Add to ptest-packages.inc (fast)
(From OE-Core rev: 285643275ef0ac04bdc3ce500a79f49629e7ebba)
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/libtest-fatal-perl_0.016.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 144abcb4a0..79c52a662f 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b/meta/conf/distro/include/maintainers.inc | |||
@@ -387,6 +387,7 @@ RECIPE_MAINTAINER:pn-libsoup-2.4 = "Anuj Mittal <anuj.mittal@intel.com>" | |||
387 | RECIPE_MAINTAINER:pn-libssh2 = "Unassigned <unassigned@yoctoproject.org>" | 387 | RECIPE_MAINTAINER:pn-libssh2 = "Unassigned <unassigned@yoctoproject.org>" |
388 | RECIPE_MAINTAINER:pn-libssp-nonshared = "Khem Raj <raj.khem@gmail.com>" | 388 | RECIPE_MAINTAINER:pn-libssp-nonshared = "Khem Raj <raj.khem@gmail.com>" |
389 | RECIPE_MAINTAINER:pn-libtasn1 = "Anuj Mittal <anuj.mittal@intel.com>" | 389 | RECIPE_MAINTAINER:pn-libtasn1 = "Anuj Mittal <anuj.mittal@intel.com>" |
390 | RECIPE_MAINTAINER:pn-libtest-fatal-perl = "Tim Orling <tim.orling@konsulko.com>" | ||
390 | RECIPE_MAINTAINER:pn-libtest-needs-perl = "Tim Orling <tim.orling@konsulko.com>" | 391 | RECIPE_MAINTAINER:pn-libtest-needs-perl = "Tim Orling <tim.orling@konsulko.com>" |
391 | RECIPE_MAINTAINER:pn-libtheora = "Alexander Kanavin <alex.kanavin@gmail.com>" | 392 | RECIPE_MAINTAINER:pn-libtheora = "Alexander Kanavin <alex.kanavin@gmail.com>" |
392 | RECIPE_MAINTAINER:pn-libtimedate-perl = "Tim Orling <tim.orling@konsulko.com>" | 393 | RECIPE_MAINTAINER:pn-libtimedate-perl = "Tim Orling <tim.orling@konsulko.com>" |
diff --git a/meta/conf/distro/include/ptest-packagelists.inc b/meta/conf/distro/include/ptest-packagelists.inc index b0925e13dd..983f1dd72a 100644 --- a/meta/conf/distro/include/ptest-packagelists.inc +++ b/meta/conf/distro/include/ptest-packagelists.inc | |||
@@ -33,6 +33,7 @@ PTESTS_FAST = "\ | |||
33 | libpcre-ptest \ | 33 | libpcre-ptest \ |
34 | libssh2-ptest \ | 34 | libssh2-ptest \ |
35 | libtimedate-perl-ptest \ | 35 | libtimedate-perl-ptest \ |
36 | libtest-fatal-perl-ptest \ | ||
36 | libtest-needs-perl-ptest \ | 37 | libtest-needs-perl-ptest \ |
37 | libtry-tiny-perl-ptest \ | 38 | libtry-tiny-perl-ptest \ |
38 | liburi-perl-ptest \ | 39 | liburi-perl-ptest \ |
diff --git a/meta/recipes-devtools/perl/libtest-fatal-perl_0.016.bb b/meta/recipes-devtools/perl/libtest-fatal-perl_0.016.bb new file mode 100644 index 0000000000..6d36c94eeb --- /dev/null +++ b/meta/recipes-devtools/perl/libtest-fatal-perl_0.016.bb | |||
@@ -0,0 +1,36 @@ | |||
1 | SUMMARY = "Incredibly simple helpers for testing code with exceptions" | ||
2 | DESCRIPTION = "Test::Fatal is an alternative to the popular Test::Exception.\ | ||
3 | It does much less, but should allow greater flexibility in testing \ | ||
4 | exception-throwing code with about the same amount of typing." | ||
5 | HOMEPAGE = "https://github.com/rjbs/Test-Fatal" | ||
6 | BUGTRACKER = "https://github.com/rjbs/Test-Fatal/issues" | ||
7 | SECTION = "libs" | ||
8 | LICENSE = "Artistic-1.0 | GPL-1.0-or-later" | ||
9 | |||
10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=f7c73bf24be1bc7759bde9c15000db6c" | ||
11 | |||
12 | SRC_URI = "${CPAN_MIRROR}/authors/id/R/RJ/RJBS/Test-Fatal-${PV}.tar.gz" | ||
13 | |||
14 | SRC_URI[sha256sum] = "7283d430f2ba2030b8cd979ae3039d3f1b2ec3dde1a11ca6ae09f992a66f788f" | ||
15 | |||
16 | S = "${WORKDIR}/Test-Fatal-${PV}" | ||
17 | |||
18 | inherit cpan ptest-perl | ||
19 | |||
20 | RDEPENDS:${PN} += "\ | ||
21 | libtry-tiny-perl \ | ||
22 | perl-module-carp \ | ||
23 | perl-module-exporter \ | ||
24 | perl-module-test-builder \ | ||
25 | " | ||
26 | |||
27 | RDEPENDS:${PN}-ptest += "\ | ||
28 | perl-module-extutils-makemaker \ | ||
29 | perl-module-extutils-mm-unix \ | ||
30 | perl-module-file-spec \ | ||
31 | perl-module-overload \ | ||
32 | perl-module-test-builder-tester \ | ||
33 | perl-module-test-more \ | ||
34 | " | ||
35 | |||
36 | BBCLASSEXTEND = "native nativesdk" | ||