summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl
diff options
context:
space:
mode:
authorTim Orling <timothy.t.orling@linux.intel.com>2018-03-04 04:41:50 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-03-06 06:19:18 -0800
commit8a0727360debf6c8b57a9ed3f8083d3fb752e132 (patch)
tree2d713ddaf13ff85e2bfc3d171ab8bfe7191529e4 /meta/recipes-devtools/perl
parentd41bcbdebfbb4356a6b0388cf3c660dbd5ef9065 (diff)
downloadpoky-8a0727360debf6c8b57a9ed3f8083d3fb752e132.tar.gz
libtest-needs-perl: add 0.002005
Skip tests when modules not available * Dependency for ptest of liburi-perl (From OE-Core rev: 2735e7bfe20a31497a6b975c67ac689eccd5950e) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/perl')
-rw-r--r--meta/recipes-devtools/perl/libtest-needs-perl_0.002005.bb29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/libtest-needs-perl_0.002005.bb b/meta/recipes-devtools/perl/libtest-needs-perl_0.002005.bb
new file mode 100644
index 0000000000..e5ab7a33c7
--- /dev/null
+++ b/meta/recipes-devtools/perl/libtest-needs-perl_0.002005.bb
@@ -0,0 +1,29 @@
1SUMMARY = "Skip tests when modules not available"
2DESCRIPTION = "Skip test scripts if modules are not available. \
3The requested modules will be loaded, and optionally have their versions \
4checked. If the module is missing, the test script will be skipped. Modules \
5that are found but fail to compile will exit with an error rather than skip."
6
7HOMEPAGE = "https://metacpan.org/release/Test-Needs"
8SECTION = "libs"
9LICENSE = "Artistic-1.0 | GPL-1.0+"
10
11CPAN_NAME = "Test-Needs"
12CPAN_AUTHOR = "HAARG"
13
14LIC_FILES_CHKSUM = "file://README;md5=3f3ccd21a0a48aa313db212cc3b1bc09;beginline=81;endline=82"
15
16DEPENDS += "perl"
17
18SRC_URI = "http://www.cpan.org/authors/id/H/HA/${CPAN_AUTHOR}/${CPAN_NAME}-${PV}.tar.gz"
19
20SRC_URI[md5sum] = "356634a56c99282e8059f290f5d534c8"
21SRC_URI[sha256sum] = "5a4f33983586edacdbe00a3b429a9834190140190dab28d0f873c394eb7df399"
22
23S = "${WORKDIR}/${CPAN_NAME}-${PV}"
24
25inherit cpan ptest-perl
26
27RDEPENDS_${PN}-ptest += "perl-module-test-more"
28
29BBCLASSEXTEND = "native"