diff options
Diffstat (limited to 'meta/recipes-devtools/perl/libtest-needs-perl_0.002009.bb')
| -rw-r--r-- | meta/recipes-devtools/perl/libtest-needs-perl_0.002009.bb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/libtest-needs-perl_0.002009.bb b/meta/recipes-devtools/perl/libtest-needs-perl_0.002009.bb new file mode 100644 index 0000000000..2234f6a74b --- /dev/null +++ b/meta/recipes-devtools/perl/libtest-needs-perl_0.002009.bb | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | SUMMARY = "Skip tests when modules not available" | ||
| 2 | DESCRIPTION = "Skip test scripts if modules are not available. \ | ||
| 3 | The requested modules will be loaded, and optionally have their versions \ | ||
| 4 | checked. If the module is missing, the test script will be skipped. Modules \ | ||
| 5 | that are found but fail to compile will exit with an error rather than skip." | ||
| 6 | |||
| 7 | HOMEPAGE = "https://metacpan.org/release/Test-Needs" | ||
| 8 | SECTION = "libs" | ||
| 9 | LICENSE = "Artistic-1.0 | GPL-1.0+" | ||
| 10 | |||
| 11 | CPAN_NAME = "Test-Needs" | ||
| 12 | CPAN_AUTHOR = "HAARG" | ||
| 13 | |||
| 14 | LIC_FILES_CHKSUM = "file://README;md5=3f3ccd21a0a48aa313db212cc3b1bc09;beginline=88;endline=89" | ||
| 15 | |||
| 16 | DEPENDS += "perl" | ||
| 17 | |||
| 18 | SRC_URI = "https://cpan.metacpan.org/authors/id/H/HA/${CPAN_AUTHOR}/${CPAN_NAME}-${PV}.tar.gz" | ||
| 19 | |||
| 20 | SRC_URI[md5sum] = "5643cd323afb77d20363acbaf9b12bcc" | ||
| 21 | SRC_URI[sha256sum] = "571c21193ad16195df58b06b268798796a391b398c443271721d2cc0fb7c4ac3" | ||
| 22 | |||
| 23 | S = "${WORKDIR}/${CPAN_NAME}-${PV}" | ||
| 24 | |||
| 25 | inherit cpan ptest-perl | ||
| 26 | |||
| 27 | RDEPENDS_${PN}-ptest += "perl-module-test-more perl-module-ipc-open3 perl-module-lib perl-module-version" | ||
| 28 | |||
| 29 | BBCLASSEXTEND = "native" | ||
