diff options
Diffstat (limited to 'meta/recipes-devtools/perl/liberror-perl_0.17028.bb')
-rw-r--r-- | meta/recipes-devtools/perl/liberror-perl_0.17028.bb | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/liberror-perl_0.17028.bb b/meta/recipes-devtools/perl/liberror-perl_0.17028.bb new file mode 100644 index 0000000000..8c6bbcba94 --- /dev/null +++ b/meta/recipes-devtools/perl/liberror-perl_0.17028.bb @@ -0,0 +1,47 @@ +SUMMARY = "Error - Error/exception handling in an OO-ish way" +DESCRIPTION = "The Error package provides two interfaces. Firstly \ +Error provides a procedural interface to exception handling. \ +Secondly Error is a base class for errors/exceptions that can \ +either be thrown, for subsequent catch, or can simply be recorded." +HOMEPAGE = "https://github.com/shlomif/perl-error.pm" +SECTION = "libs" +LICENSE = "Artistic-1.0 | GPL-1.0+" + +LIC_FILES_CHKSUM = "file://LICENSE;md5=8f3499d09ee74a050c0319391ff9d100" + +DEPENDS += "perl" + +RDEPENDS_${PN} += " \ + perl-module-carp \ + perl-module-exporter \ + perl-module-scalar-util \ + perl-module-overload \ + perl-module-strict \ + perl-module-vars \ + perl-module-warnings \ +" + +RDEPENDS_${PN}-ptest += " \ + perl-module-base \ + perl-module-file-spec \ + perl-module-io-handle \ + perl-module-ipc-open3 \ + perl-module-lib \ + perl-module-test-more \ +" + +SRC_URI = "http://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/Error-${PV}.tar.gz" + +SRC_URI[md5sum] = "ec3522c60a43a368f19c0f89e2205cb1" +SRC_URI[sha256sum] = "3ad85c5e58b31c8903006298424a51bba39f1840e324f5ae612eabc8b935e960" + +S = "${WORKDIR}/Error-${PV}" + +inherit cpan ptest-perl + +do_install_prepend() { + # test requires "-T" (taint) command line option + rm -rf ${B}/t/pod-coverage.t +} + +BBCLASSEXTEND = "native" |