diff options
Diffstat (limited to 'meta-perl/recipes-perl/liberror/liberror-perl_0.17030.bb')
-rw-r--r-- | meta-perl/recipes-perl/liberror/liberror-perl_0.17030.bb | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/meta-perl/recipes-perl/liberror/liberror-perl_0.17030.bb b/meta-perl/recipes-perl/liberror/liberror-perl_0.17030.bb new file mode 100644 index 0000000000..7b28d59228 --- /dev/null +++ b/meta-perl/recipes-perl/liberror/liberror-perl_0.17030.bb | |||
@@ -0,0 +1,47 @@ | |||
1 | SUMMARY = "Error - Error/exception handling in an OO-ish way" | ||
2 | DESCRIPTION = "The Error package provides two interfaces. Firstly \ | ||
3 | Error provides a procedural interface to exception handling. \ | ||
4 | Secondly Error is a base class for errors/exceptions that can \ | ||
5 | either be thrown, for subsequent catch, or can simply be recorded." | ||
6 | HOMEPAGE = "https://github.com/shlomif/perl-error.pm" | ||
7 | SECTION = "libs" | ||
8 | LICENSE = "Artistic-1.0 | GPL-1.0-or-later" | ||
9 | |||
10 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8f3499d09ee74a050c0319391ff9d100" | ||
11 | |||
12 | |||
13 | DEPENDS += "perl" | ||
14 | |||
15 | RDEPENDS:${PN} += " \ | ||
16 | perl-module-carp \ | ||
17 | perl-module-exporter \ | ||
18 | perl-module-scalar-util \ | ||
19 | perl-module-overload \ | ||
20 | perl-module-strict \ | ||
21 | perl-module-vars \ | ||
22 | perl-module-warnings \ | ||
23 | " | ||
24 | |||
25 | RDEPENDS:${PN}-ptest += " \ | ||
26 | perl-module-base \ | ||
27 | perl-module-file-spec \ | ||
28 | perl-module-io-handle \ | ||
29 | perl-module-ipc-open3 \ | ||
30 | perl-module-lib \ | ||
31 | perl-module-test-more \ | ||
32 | " | ||
33 | |||
34 | SRC_URI = "${CPAN_MIRROR}/authors/id/S/SH/SHLOMIF/Error-${PV}.tar.gz" | ||
35 | |||
36 | SRC_URI[sha256sum] = "34d382276c0fb0d6b38355b94c96a30b12d834d5662eb53f088ee25e3e712924" | ||
37 | |||
38 | S = "${UNPACKDIR}/Error-${PV}" | ||
39 | |||
40 | inherit cpan ptest-perl | ||
41 | |||
42 | do_install:prepend() { | ||
43 | # test requires "-T" (taint) command line option | ||
44 | rm -rf ${B}/t/pod-coverage.t | ||
45 | } | ||
46 | |||
47 | BBCLASSEXTEND = "native" | ||