aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Orling <timothy.t.orling@linux.intel.com>2018-01-21 14:44:11 -0800
committerArmin Kuster <akuster808@gmail.com>2018-01-26 17:28:13 -0800
commitb87f5a3ea4273bd2925150e9706bdf9cdc00ca55 (patch)
tree1f26d8746d03cae70aa4aeb72a5d96f7a8b2beb8
parent29aeb06f60882e8ff2f194d438cee360d40c5c65 (diff)
downloadmeta-openembedded-contrib-b87f5a3ea4273bd2925150e9706bdf9cdc00ca55.tar.gz
libtest-harness-perl: upgrade 3.36 -> 3.39
* Fix RDEPENDS * Add note that perl-module-test-harness should be preferred unless a newer version is needed than provided by perl Changes: 3.39 06-04-2017 - Make tests pass when PERL_USE_UNSAFE_INC=0 3.38 13-03-2017 - Released 3.37_01 without changes 3.37_01 - Set PERL_USE_UNSAFE_INC when running tests using Test::Harness (Leon Timmermans) - Avoid loading optional modules from . in prove Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-perl/recipes-perl/libtest/libtest-harness-perl_3.39.bb (renamed from meta-perl/recipes-perl/libtest/libtest-harness-perl_3.36.bb)15
1 files changed, 13 insertions, 2 deletions
diff --git a/meta-perl/recipes-perl/libtest/libtest-harness-perl_3.36.bb b/meta-perl/recipes-perl/libtest/libtest-harness-perl_3.39.bb
index 1aed5e0d62..35054c7586 100644
--- a/meta-perl/recipes-perl/libtest/libtest-harness-perl_3.36.bb
+++ b/meta-perl/recipes-perl/libtest/libtest-harness-perl_3.39.bb
@@ -1,3 +1,8 @@
+# NOTE:
+# You should use perl-module-test-harness instead of this package,
+# unless you specifically need a newer version than what is provided
+# by perl in oe-core.
+
SUMMARY = "Test::Harness - Run Perl standard test scripts with statistics"
DESCRIPTION = "Although, for historical reasons, the Test::Harness \
distribution takes its name from this module it now exists only to provide \
@@ -21,13 +26,19 @@ LICENSE = "Artistic-1.0 | GPL-1.0+"
LIC_FILES_CHKSUM = "file://README;beginline=29;endline=30;md5=b08db4360eec119e875dddd7cb8a5ddd"
SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEONT/Test-Harness-${PV}.tar.gz"
-SRC_URI[md5sum] = "4c8d9c77e8e06ca96c7383c05c8f3616"
-SRC_URI[sha256sum] = "e7566f13b041d028b56f184b77ec2545ec6f0bb5a0f8f5368f7e4a08b496b63e"
+SRC_URI[md5sum] = "7877298e3b717734095ecb8e918b043e"
+SRC_URI[sha256sum] = "69bd44c81c6e1d2db18e298ecf631852608893ddfddb332a7d55285bbfc51132"
+
+UPSTREAM_CHECK_REGEX = "Test\-Harness\-(?P<pver>(\d+\.\d+))(?!_\d+).tar"
S = "${WORKDIR}/Test-Harness-${PV}"
inherit cpan
+RDEPENDS_${PN} += "\
+ perl-module-benchmark \
+"
+
RPROVIDES_${PN} += "libapp-prove-perl \
libapp-prove-state-perl \
libapp-prove-state-result-perl \