summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Orling <ticotimo@gmail.com>2022-11-18 09:52:06 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-11-22 12:26:45 +0000
commitf78f852ef4f786f54f8664f3783573c25dcf4b10 (patch)
treee11b88bae10c4184eaf96eb18fe896ef43237a87
parent9b331dbb58704911de577aa1118f94a5116f5020 (diff)
downloadpoky-f78f852ef4f786f54f8664f3783573c25dcf4b10.tar.gz
libtest-warnings-perl: move from meta-perl
liburi-perl in oe-core now RDEPENDS on libtest-warnings-perl for ptest * Update HOMEPAGE; fix syntax * Add SUMMARY * Add BUGTRACKER * Use CPAN_MIRROR for SRC_URI * Use actual LICENCE file for LIC_FILES_CHKSUM * Add RDEPENDS * Add RDEPENDS on perl-modules for ptest - Too many hidden dependencies that fail silently, but pass with full perl-modules * Add self as maintainer * Add to ptest-packagelists (fast) (From OE-Core rev: b1582fb0ec6620312b9a26c6afc48a63984617a0) 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.inc1
-rw-r--r--meta/conf/distro/include/ptest-packagelists.inc1
-rw-r--r--meta/recipes-devtools/perl/libtest-warnings-perl_0.031.bb39
3 files changed, 41 insertions, 0 deletions
diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc
index 79c52a662f..7437beda4d 100644
--- a/meta/conf/distro/include/maintainers.inc
+++ b/meta/conf/distro/include/maintainers.inc
@@ -389,6 +389,7 @@ RECIPE_MAINTAINER:pn-libssp-nonshared = "Khem Raj <raj.khem@gmail.com>"
389RECIPE_MAINTAINER:pn-libtasn1 = "Anuj Mittal <anuj.mittal@intel.com>" 389RECIPE_MAINTAINER:pn-libtasn1 = "Anuj Mittal <anuj.mittal@intel.com>"
390RECIPE_MAINTAINER:pn-libtest-fatal-perl = "Tim Orling <tim.orling@konsulko.com>" 390RECIPE_MAINTAINER:pn-libtest-fatal-perl = "Tim Orling <tim.orling@konsulko.com>"
391RECIPE_MAINTAINER:pn-libtest-needs-perl = "Tim Orling <tim.orling@konsulko.com>" 391RECIPE_MAINTAINER:pn-libtest-needs-perl = "Tim Orling <tim.orling@konsulko.com>"
392RECIPE_MAINTAINER:pn-libtest-warnings-perl = "Tim Orling <tim.orling@konsulko.com>"
392RECIPE_MAINTAINER:pn-libtheora = "Alexander Kanavin <alex.kanavin@gmail.com>" 393RECIPE_MAINTAINER:pn-libtheora = "Alexander Kanavin <alex.kanavin@gmail.com>"
393RECIPE_MAINTAINER:pn-libtimedate-perl = "Tim Orling <tim.orling@konsulko.com>" 394RECIPE_MAINTAINER:pn-libtimedate-perl = "Tim Orling <tim.orling@konsulko.com>"
394RECIPE_MAINTAINER:pn-libtirpc = "Anuj Mittal <anuj.mittal@intel.com>" 395RECIPE_MAINTAINER:pn-libtirpc = "Anuj Mittal <anuj.mittal@intel.com>"
diff --git a/meta/conf/distro/include/ptest-packagelists.inc b/meta/conf/distro/include/ptest-packagelists.inc
index 983f1dd72a..cf1b57e186 100644
--- a/meta/conf/distro/include/ptest-packagelists.inc
+++ b/meta/conf/distro/include/ptest-packagelists.inc
@@ -35,6 +35,7 @@ PTESTS_FAST = "\
35 libtimedate-perl-ptest \ 35 libtimedate-perl-ptest \
36 libtest-fatal-perl-ptest \ 36 libtest-fatal-perl-ptest \
37 libtest-needs-perl-ptest \ 37 libtest-needs-perl-ptest \
38 libtest-warnings-perl-ptest \
38 libtry-tiny-perl-ptest \ 39 libtry-tiny-perl-ptest \
39 liburi-perl-ptest \ 40 liburi-perl-ptest \
40 libusb1-ptest \ 41 libusb1-ptest \
diff --git a/meta/recipes-devtools/perl/libtest-warnings-perl_0.031.bb b/meta/recipes-devtools/perl/libtest-warnings-perl_0.031.bb
new file mode 100644
index 0000000000..e03deaf15f
--- /dev/null
+++ b/meta/recipes-devtools/perl/libtest-warnings-perl_0.031.bb
@@ -0,0 +1,39 @@
1# Copyright (C) 2020 Jens Rehsack <sno@netbsd.org>
2# Released under the MIT license (see COPYING.MIT for the terms)
3
4SUMMARY = "Test::Warnings - Test for warnings and the lack of them"
5DESCRIPTION = "If you've ever tried to use Test::NoWarnings to confirm there are no \
6warnings generated by your tests, combined with the convenience of \
7\\"done_testing\\" to not have to declare a test count, you'll have discovered \
8that these two features do not play well together, as the test count will \
9be calculated *before* the warnings test is run, resulting in a TAP error. \
10(See "examples/test_nowarnings.pl" in this distribution for a \
11demonstration.)"
12HOMEPAGE = "https://github.com/karenetheridge/Test-Warnings"
13BUGTRACKER = "https://rt.cpan.org/Public/Dist/Display.html?Name=Test-Warnings"
14SECTION = "libs"
15LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
16
17LIC_FILES_CHKSUM = "file://LICENCE;md5=6f2b02f39e7d359efd9525fbc56c84a1"
18
19SRC_URI = "${CPAN_MIRROR}/authors/id/E/ET/ETHER/Test-Warnings-${PV}.tar.gz"
20
21SRC_URI[sha256sum] = "1e542909fef305e45563e9878ea1c3b0c7cef1b28bb7ae07eba2e1efabec477b"
22
23S = "${WORKDIR}/Test-Warnings-${PV}"
24
25inherit cpan ptest-perl
26
27RDEPENDS:${PN} += "\
28 perl-module-test-builder \
29"
30
31# Many hidden dependencies and mysterious failures occur without full perl-modules
32RDEPENDS:${PN}-ptest += "perl-modules"
33
34do_install_ptest_perl:append () {
35 cp -r ${B}/t/lib ${D}${PTEST_PATH}/t/
36 chown -R root:root ${D}${PTEST_PATH}/t/lib
37}
38
39BBCLASSEXTEND = "native nativesdk"