liberror-perl: move recipe from oe-core

While this package is deprecated by the upstream maintainer,
we do not know if there are any users in the wider OpenEmbedded
ecosystem, so move the recipe from oe-core to meta-perl.

[YOCTO #15461]

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Tim Orling 2024-03-28 09:28:50 -07:00 committed by Khem Raj
parent a81c30edea
commit 90668d6fc6
No known key found for this signature in database
GPG Key ID: BB053355919D3314
2 changed files with 49 additions and 0 deletions

View File

@ -11,6 +11,7 @@ PTESTS_FAST_META_PERL = "\
libcgi-perl \
libcrypt-openssl-random-perl \
libdigest-hmac-perl \
liberror-perl \
libextutils-config-perl \
libextutils-installpaths-perl \
libhtml-tagset-perl \

View File

@ -0,0 +1,48 @@
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-or-later"
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] = "6732b1c6207e4a9a3e2987c88368039a"
SRC_URI[sha256sum] = "1a23f7913032aed6d4b68321373a3899ca66590f4727391a091ec19c95bf7adc"
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"