aboutsummaryrefslogtreecommitdiffstats
path: root/meta-perl/recipes-perl/libstrictures/libstrictures-perl_2.000003.bb
diff options
context:
space:
mode:
authorDerek Straka <derek@asterius.io>2017-05-19 15:42:42 -0400
committerMartin Jansa <Martin.Jansa@gmail.com>2017-06-05 11:01:44 +0200
commit470cf86164b2954c680234b9fec3addd7dc62637 (patch)
treee207094934bf2c2d44dffc3c9ea07bd1ae6a1132 /meta-perl/recipes-perl/libstrictures/libstrictures-perl_2.000003.bb
parenta1c6c0aa41c478af9f1790c25450435daa44ec59 (diff)
downloadmeta-openembedded-contrib-470cf86164b2954c680234b9fec3addd7dc62637.tar.gz
meta-openembedded-contrib-470cf86164b2954c680234b9fec3addd7dc62637.tar.bz2
meta-openembedded-contrib-470cf86164b2954c680234b9fec3addd7dc62637.zip
libstrictures-perl: update to version 2.000003
Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-perl/recipes-perl/libstrictures/libstrictures-perl_2.000003.bb')
-rw-r--r--meta-perl/recipes-perl/libstrictures/libstrictures-perl_2.000003.bb45
1 files changed, 45 insertions, 0 deletions
diff --git a/meta-perl/recipes-perl/libstrictures/libstrictures-perl_2.000003.bb b/meta-perl/recipes-perl/libstrictures/libstrictures-perl_2.000003.bb
new file mode 100644
index 0000000000..a6808d3f8e
--- /dev/null
+++ b/meta-perl/recipes-perl/libstrictures/libstrictures-perl_2.000003.bb
@@ -0,0 +1,45 @@
+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"