mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 02:49:12 +00:00
Please see https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265 for what changes are needed, and sed commands that can be used to make them en masse. I've verified that bitbake -c patch world works with these, but did not run a world build; the majority of recipes shouldn't need further fixups, but if there are some that still fall out, they can be fixed in followups. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
48 lines
1.8 KiB
BlitzBasic
48 lines
1.8 KiB
BlitzBasic
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-or-later"
|
|
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[sha256sum] = "09d57974a6d1b2380c802870fed471108f51170da81458e2751859f2714f8d57"
|
|
|
|
S = "${UNPACKDIR}/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"
|