From bc9447a9b30cf7bad8067aa91f297d46e3ceb5b3 Mon Sep 17 00:00:00 2001 From: Tim Orling Date: Sun, 2 Jun 2019 11:43:16 -0700 Subject: libstrictures-perl: upgrade 2.000003 -> 2.000006; enable ptest Add runtime and ptest dependencies. Upstream release notes: 2.000006 - 2019-03-10 - update internal list of warnings for categories added in blead (v5.29.9) - fix extras test to avoid any files in the temp directory's parent directories interfering (RT#128751) 2.000005 - 2018-04-20 - update internal list of warnings for categories added in 5.28.0 (no behaviour change) 2.000004 - 2018-04-19 - update bundled ExtUtils::HasCompiler to 0.021 - update internal list of warnings for categories added in 5.26.0 (no behavior change) Signed-off-by: Tim Orling Signed-off-by: Khem Raj --- .../libstrictures/libstrictures-perl_2.000003.bb | 45 -------------------- .../libstrictures/libstrictures-perl_2.000006.bb | 48 ++++++++++++++++++++++ 2 files changed, 48 insertions(+), 45 deletions(-) delete mode 100644 meta-perl/recipes-perl/libstrictures/libstrictures-perl_2.000003.bb create mode 100644 meta-perl/recipes-perl/libstrictures/libstrictures-perl_2.000006.bb diff --git a/meta-perl/recipes-perl/libstrictures/libstrictures-perl_2.000003.bb b/meta-perl/recipes-perl/libstrictures/libstrictures-perl_2.000003.bb deleted file mode 100644 index a6808d3f8e..0000000000 --- a/meta-perl/recipes-perl/libstrictures/libstrictures-perl_2.000003.bb +++ /dev/null @@ -1,45 +0,0 @@ -SUMMARY = "strictures - turn on strict and make all warnings fatal" -DESCRIPTION = "I've been writing the equivalent of this module at the top \ -of my code for about a year now. I figured it was time to make it shorter. \ -\ -Things like the importer in \"use Moose\" don't help me because they turn \ -warnings on but don't make them fatal -- which from my point of view is \ -useless because I want an exception to tell me my code isn't warnings-clean. \ -\ -Any time I see a warning from my code, that indicates a mistake. \ -\ -Any time my code encounters a mistake, I want a crash -- not spew to STDERR \ -and then unknown (and probably undesired) subsequent behaviour. \ -\ -I also want to ensure that obvious coding mistakes, like indirect object \ -syntax (and not so obvious mistakes that cause things to accidentally compile \ -as such) get caught, but not at the cost of an XS dependency and not at the \ -cost of blowing things up on another machine. \ -\ -Therefore, \"strictures\" turns on additional checking, but only when it \ -thinks it's running in a test file in a VCS checkout -- although if this \ -causes undesired behaviour this can be overridden by setting the \ -PERL_STRICTURES_EXTRA environment variable." - -SECTION = "libs" - -HOMEPAGE = "https://metacpan.org/pod/strictures" - -LICENSE = "Artistic-1.0 | GPL-1.0+" -LIC_FILES_CHKSUM = "file://README;beginline=246;endline=262;md5=43be558cf4f19823cdd6af22135cf5f8" - -SRC_URI = "${CPAN_MIRROR}/authors/id/H/HA/HAARG/strictures-${PV}.tar.gz" -SRC_URI[md5sum] = "78244cfab6168dcf196370d1e2309536" -SRC_URI[sha256sum] = "27f8ea096a521e9754d36ea32889c2cda28346d04e3e399e7ea118d182dbaf22" - -S = "${WORKDIR}/strictures-${PV}" - -inherit cpan - -RDEPENDS_${PN} = " perl-module-carp \ - perl-module-strict \ - perl-module-test-more \ - perl-module-warnings \ -" - -BBCLASSEXTEND = "native" diff --git a/meta-perl/recipes-perl/libstrictures/libstrictures-perl_2.000006.bb b/meta-perl/recipes-perl/libstrictures/libstrictures-perl_2.000006.bb new file mode 100644 index 0000000000..d1a5b4787d --- /dev/null +++ b/meta-perl/recipes-perl/libstrictures/libstrictures-perl_2.000006.bb @@ -0,0 +1,48 @@ +SUMMARY = "strictures - turn on strict and make all warnings fatal" +DESCRIPTION = "I've been writing the equivalent of this module at the top \ +of my code for about a year now. I figured it was time to make it shorter. \ +\ +Things like the importer in \"use Moose\" don't help me because they turn \ +warnings on but don't make them fatal -- which from my point of view is \ +useless because I want an exception to tell me my code isn't warnings-clean. \ +\ +Any time I see a warning from my code, that indicates a mistake. \ +\ +Any time my code encounters a mistake, I want a crash -- not spew to STDERR \ +and then unknown (and probably undesired) subsequent behaviour. \ +\ +I also want to ensure that obvious coding mistakes, like indirect object \ +syntax (and not so obvious mistakes that cause things to accidentally compile \ +as such) get caught, but not at the cost of an XS dependency and not at the \ +cost of blowing things up on another machine. \ +\ +Therefore, \"strictures\" turns on additional checking, but only when it \ +thinks it's running in a test file in a VCS checkout -- although if this \ +causes undesired behaviour this can be overridden by setting the \ +PERL_STRICTURES_EXTRA environment variable." + +SECTION = "libs" + +HOMEPAGE = "https://metacpan.org/pod/strictures" + +LICENSE = "Artistic-1.0 | GPL-1.0+" +LIC_FILES_CHKSUM = "file://README;beginline=246;endline=262;md5=43be558cf4f19823cdd6af22135cf5f8" + +SRC_URI = "${CPAN_MIRROR}/authors/id/H/HA/HAARG/strictures-${PV}.tar.gz" +SRC_URI[md5sum] = "35c14fd25320f32ff40e977feae95d0d" +SRC_URI[sha256sum] = "09d57974a6d1b2380c802870fed471108f51170da81458e2751859f2714f8d57" + +S = "${WORKDIR}/strictures-${PV}" + +inherit cpan ptest-perl + +RDEPENDS_${PN} += " \ + perl-module-carp \ + perl-module-strict \ + perl-module-test-more \ + perl-module-warnings \ +" + +RDEPENDS_${PN}-ptest += "perl-module-perlio perl-module-perlio-scalar" + +BBCLASSEXTEND = "native" -- cgit 1.2.3-korg