diff options
author | Tim Orling <timothy.t.orling@linux.intel.com> | 2020-02-25 15:46:03 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-02-29 13:04:49 +0000 |
commit | 838d91d459bc6b0465cbc75be55fb4e20890e700 (patch) | |
tree | fc30e5079005843f12351d0ad44d11d2e4ce142c /meta/recipes-devtools/perl/libmodule-build-perl_0.4231.bb | |
parent | fc77128b7362a98a73ca2c66098616df66b73458 (diff) | |
download | poky-838d91d459bc6b0465cbc75be55fb4e20890e700.tar.gz |
libmodule-build-perl: upgrade 0.4229 -> 0.4231
Upstream release notes:
"
0.4231 - Wed Jan 29 08:47:56 CET 2020
- Released 0.42_30 without code changes
0.42_30 - Wed Jul 31 13:15:39 CEST 2019
- Add dependency on ExtUtils::PL2Bat
"
Add ptest RDEPENDS:
- ExtUtils::Command::MM for t/compat.t
- gcc, make didn't seem like enough for ptest, replace with
packagegroup-core-buildessential which definitely works
- perl-dev for EXTERN.h in t/xs.t
Add INSANE_SKIP dev-deps for the -ptest package because of perl-dev
Five tests from t/help.t are skipped because they are TODO
t/par.t is skipped because PAR::Dist (0.17+) is not present
t/ppm.t is skipped because "HTML support not installed"
All other tests pass.
(From OE-Core rev: 7c22dc2e34af2530a73f3af2876f0f5f5b65c7c8)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/perl/libmodule-build-perl_0.4231.bb')
-rw-r--r-- | meta/recipes-devtools/perl/libmodule-build-perl_0.4231.bb | 110 |
1 files changed, 110 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/libmodule-build-perl_0.4231.bb b/meta/recipes-devtools/perl/libmodule-build-perl_0.4231.bb new file mode 100644 index 0000000000..b1967c7b03 --- /dev/null +++ b/meta/recipes-devtools/perl/libmodule-build-perl_0.4231.bb | |||
@@ -0,0 +1,110 @@ | |||
1 | SUMMARY = "Module::Build - Build and install Perl modules" | ||
2 | DESCRIPTION = "Many Perl distributions use a Build.PL file instead of a \ | ||
3 | Makefile.PL file to drive distribution configuration, build, test and \ | ||
4 | installation. Traditionally, Build.PL uses Module::Build as the underlying \ | ||
5 | build system. This module provides a simple, lightweight, drop-in replacement. \ | ||
6 | Whereas Module::Build has over 6,700 lines of code; this module has less than \ | ||
7 | 120, yet supports the features needed by most distributions." | ||
8 | |||
9 | SECTION = "libs" | ||
10 | |||
11 | HOMEPAGE = "https://metacpan.org/release/Module-Build" | ||
12 | |||
13 | LICENSE = "Artistic-1.0 | GPL-1.0+" | ||
14 | LIC_FILES_CHKSUM = "file://README;beginline=949;endline=954;md5=624c06db56a2af4d70cf9edc29fcae1b" | ||
15 | |||
16 | SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEONT/Module-Build-${PV}.tar.gz \ | ||
17 | file://run-ptest \ | ||
18 | " | ||
19 | SRC_URI[md5sum] = "066b193e461d7dfe1eca17a139353001" | ||
20 | SRC_URI[sha256sum] = "7e0f4c692c1740c1ac84ea14d7ea3d8bc798b2fb26c09877229e04f430b2b717" | ||
21 | |||
22 | S = "${WORKDIR}/Module-Build-${PV}" | ||
23 | |||
24 | inherit cpan_build ptest-perl | ||
25 | |||
26 | # From: | ||
27 | # https://github.com/rehsack/meta-cpan/blob/master/recipes-devel/module-build-perl/module-build-perl_0.4216.bb | ||
28 | # | ||
29 | do_patch_module_build () { | ||
30 | cd ${S} | ||
31 | sed -i -e 's,my $interpreter = $self->{properties}{perl};,my $interpreter = "${bindir}/perl";,g' lib/Module/Build/Base.pm | ||
32 | } | ||
33 | |||
34 | do_patch[postfuncs] += "do_patch_module_build" | ||
35 | |||
36 | do_install_ptest() { | ||
37 | cp -r ${B}/inc ${D}${PTEST_PATH} | ||
38 | cp -r ${B}/blib ${D}${PTEST_PATH} | ||
39 | cp -r ${B}/_build ${D}${PTEST_PATH} | ||
40 | cp -r ${B}/lib ${D}${PTEST_PATH} | ||
41 | chown -R root:root ${D}${PTEST_PATH} | ||
42 | sed -i -e "s,'perl' => .*,'perl' => '/usr/bin/perl'\,,g" ${D}${PTEST_PATH}/_build/build_params | ||
43 | } | ||
44 | |||
45 | RDEPENDS_${PN} += " \ | ||
46 | perl-module-carp \ | ||
47 | perl-module-cpan \ | ||
48 | perl-module-config \ | ||
49 | perl-module-cwd \ | ||
50 | perl-module-data-dumper \ | ||
51 | perl-module-encode \ | ||
52 | perl-module-extutils-cbuilder \ | ||
53 | perl-module-extutils-command \ | ||
54 | perl-module-extutils-install \ | ||
55 | perl-module-extutils-installed \ | ||
56 | perl-module-extutils-mkbootstrap \ | ||
57 | perl-module-extutils-packlist \ | ||
58 | perl-module-extutils-parsexs \ | ||
59 | perl-module-file-basename \ | ||
60 | perl-module-file-compare \ | ||
61 | perl-module-file-copy \ | ||
62 | perl-module-file-find \ | ||
63 | perl-module-file-glob \ | ||
64 | perl-module-file-path \ | ||
65 | perl-module-file-spec \ | ||
66 | perl-module-file-spec-functions \ | ||
67 | perl-module-getopt-long \ | ||
68 | perl-module-metadata \ | ||
69 | perl-module-perl-ostype \ | ||
70 | perl-module-pod-man \ | ||
71 | perl-module-tap-harness \ | ||
72 | perl-module-text-abbrev \ | ||
73 | perl-module-text-parsewords \ | ||
74 | perl-module-utf8 \ | ||
75 | " | ||
76 | |||
77 | RDEPENDS_${PN}-ptest += " \ | ||
78 | packagegroup-core-buildessential \ | ||
79 | perl-dev \ | ||
80 | perl-module-blib \ | ||
81 | perl-module-extutils-command-mm \ | ||
82 | perl-module-file-temp \ | ||
83 | perl-module-lib \ | ||
84 | perl-module-perlio \ | ||
85 | perl-module-perlio-encoding \ | ||
86 | perl-module-pod-text \ | ||
87 | perl-module-tap-harness-env \ | ||
88 | perl-module-tap-parser \ | ||
89 | perl-module-tap-parser-scheduler \ | ||
90 | perl-module-test-harness \ | ||
91 | perl-module-test-more \ | ||
92 | " | ||
93 | |||
94 | RPROVIDES_${PN} += "\ | ||
95 | libmodule-build-base-perl \ | ||
96 | libmodule-build-compat-perl \ | ||
97 | libmodule-build-config-perl \ | ||
98 | libmodule-build-cookbook-perl \ | ||
99 | libmodule-build-dumper-perl \ | ||
100 | libmodule-build-notes-perl \ | ||
101 | libmodule-build-ppmaker-perl \ | ||
102 | libmodule-build-platform-default-perl \ | ||
103 | libmodule-build-platform-unix-perl \ | ||
104 | libmodule-build-podparser-perl \ | ||
105 | " | ||
106 | |||
107 | # t/xs.t RDEPENDS on "EXTERN.h" provided by perl-dev | ||
108 | INSANE_SKIP_${PN}-ptest = "dev-deps" | ||
109 | |||
110 | BBCLASSEXTEND = "native" | ||