Updating Test Pod recipe to be compatible with the new perl version 5.22 where 
Module::Build has been removed.

See also: http://perltricks.com/article/165/2015/4/10/A-preview-of-Perl-5-22

Signed-off-by: Nora Björklund <nora.bjorkl...@enea.com>
---
 .../recipes-perl/perl/libtest-pod-perl_1.42.bb      | 17 -----------------
 .../recipes-perl/perl/libtest-pod-perl_1.51.bb      | 21 +++++++++++++++++++++
 2 files changed, 21 insertions(+), 17 deletions(-)  delete mode 100644 
meta-cgl-common/recipes-perl/perl/libtest-pod-perl_1.42.bb
 create mode 100644 meta-cgl-common/recipes-perl/perl/libtest-pod-perl_1.51.bb

diff --git a/meta-cgl-common/recipes-perl/perl/libtest-pod-perl_1.42.bb 
b/meta-cgl-common/recipes-perl/perl/libtest-pod-perl_1.42.bb
deleted file mode 100644
index 4eb40bc..0000000
--- a/meta-cgl-common/recipes-perl/perl/libtest-pod-perl_1.42.bb
+++ /dev/null
@@ -1,17 +0,0 @@
-DESCRIPTION = "Test::Pod - check for POD errors in files"
-SECTION = "libs"
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = 
"file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690"
-BBCLASSEXTEND = "native"
-RDEPENDS_${PN} += "perl-module-test-more perl-module-file-spec 
perl-module-module-build perl-module-pod-simple"
-PR = "r1"
-
-SRC_URI = 
"http://search.cpan.org/CPAN/authors/id/D/DW/DWHEELER/Test-Pod-${PV}.tar.gz;name=test-pod-perl-${PV}";
-SRC_URI[test-pod-perl-1.42.md5sum] = "9c9b7ff52ea339aecbf247cd573df238"
-SRC_URI[test-pod-perl-1.42.sha256sum] = 
"ea6de469a8db6549381e41095055bc3741aadf0d353aa1bd5b6e441bc500a79c"
-
-S = "${WORKDIR}/Test-Pod-${PV}"
-
-inherit cpan_build
-
-PACKAGE_ARCH = "all"
diff --git a/meta-cgl-common/recipes-perl/perl/libtest-pod-perl_1.51.bb 
b/meta-cgl-common/recipes-perl/perl/libtest-pod-perl_1.51.bb
new file mode 100644
index 0000000..7586725
--- /dev/null
+++ b/meta-cgl-common/recipes-perl/perl/libtest-pod-perl_1.51.bb
@@ -0,0 +1,21 @@
+DESCRIPTION = "Test::Pod - check for POD errors in files"
+SECTION = "libs"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = 
"file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690"
+HOMEPAGE = "https://github.com/perl-pod/test-pod/";
+BBCLASSEXTEND = "native"
+RDEPENDS_${PN} += " perl-module-test-more \
+                    perl-module-file-spec \
+                    perl-module-pod-simple \
+                    perl-module-test-builder-tester \
+                    "
+PR = "r1"
+
+SRC_URI 
="http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Test-Pod-${PV}.tar.gz;name=test-pod-perl-${PV}";
+SRC_URI[test-pod-perl-1.51.md5sum] = "f806aa84de2f0c0fba48b3a5a8a4aecf"
+SRC_URI[test-pod-perl-1.51.sha256sum] = 
"c1a1d3cedf4a579e3aad89c36f9878a8542b6656dbe71f1581420f49582d7efb"
+S = "${WORKDIR}/Test-Pod-${PV}"
+
+inherit cpan
+
+PACKAGE_ARCH = "all"
--
1.9.1

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to