summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/perl/libtest-fatal-perl_0.017.bb
blob: 1c3a7e5136efc1065372dfe11b77d10e926ce49c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
SUMMARY = "Incredibly simple helpers for testing code with exceptions"
DESCRIPTION = "Test::Fatal is an alternative to the popular Test::Exception.\
It does much less, but should allow greater flexibility in testing \
exception-throwing code with about the same amount of typing."
HOMEPAGE = "https://github.com/rjbs/Test-Fatal"
BUGTRACKER = "https://github.com/rjbs/Test-Fatal/issues"
SECTION = "libs"
LICENSE = "Artistic-1.0 | GPL-1.0-or-later"

LIC_FILES_CHKSUM = "file://LICENSE;md5=b5c851290cab1dda12fcfb0e9ec43639"

SRC_URI = "${CPAN_MIRROR}/authors/id/R/RJ/RJBS/Test-Fatal-${PV}.tar.gz"

SRC_URI[sha256sum] = "37dfffdafb84b762efe96b02fb2aa41f37026c73e6b83590db76229697f3c4a6"

S = "${WORKDIR}/Test-Fatal-${PV}"

inherit cpan ptest-perl

RDEPENDS:${PN} += "\
    libtry-tiny-perl \
    perl-module-carp \
    perl-module-exporter \
    perl-module-test-builder \
"

RDEPENDS:${PN}-ptest += "\
    perl-module-extutils-makemaker \
    perl-module-extutils-mm-unix \
    perl-module-file-spec \
    perl-module-overload \
    perl-module-test-builder-tester \
    perl-module-test-more \
"

BBCLASSEXTEND = "native nativesdk"