While building perl with QA package-missing checking enabled, there was warning: ... WARNING: QA Issue: package perl-module-cpanplus not generated, but listed in PACKAGES WARNING: QA Issue: package perl-module-config not generated, but listed in PACKAGES WARNING: QA Issue: package perl-module-config-heavy not generated, but listed in PACKAGES WARNING: QA Issue: package perl-module-strict not generated, but listed in PACKAGES WARNING: QA Issue: package perl-module-vars not generated, but listed in PACKAGES WARNING: QA Issue: package perl-module-warnings not generated, but listed in PACKAGES WARNING: QA Issue: package perl-module-warnings-register not generated, but listed in PACKAGES ...
Drop perl-module-cpanplus, from git://perl5.git.perl.org/perl.git: ... commit fb598ba5e55920eb59105c932df653f4fea6966c Author: Chris 'BinGOs' Williams <ch...@bingosnet.co.uk> Date: Sat May 18 01:01:42 2013 +0100 Remove cpan/CPANPLUS and associated utilities ... Drop perl-module-config from PACKAGES_DYNAMIC: Config.pm was listed in "FILES_${PN}", we should filter it out from do_split_packages. Drop perl-module-config-heavy from PACKAGES_DYNAMIC: Config_heavy.pl was listed in "FILES_${PN}-lib", we should filter it out from do_split_packages. Drop perl-module-strict from PACKAGES_DYNAMIC: strict.pm was listed in "FILES_${PN}", we should filter it out from do_split_packages. Drop perl-module-vars from PACKAGES_DYNAMIC: vars.pm was listed in "FILES_${PN}", we should filter it out from do_split_packages. Drop perl-module-warnings from PACKAGES_DYNAMIC: warnings.pm was listed in "FILES_${PN}", we should filter it out from do_split_packages. Drop perl-module-warnings-register from PACKAGES_DYNAMIC: Dir warnings was listed in "FILES_${PN}", we should filter it out from do_split_packages. Signed-off-by: Hongxu Jia <hongxu....@windriver.com> --- meta/recipes-devtools/perl/perl_5.20.0.bb | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/meta/recipes-devtools/perl/perl_5.20.0.bb b/meta/recipes-devtools/perl/perl_5.20.0.bb index 3ca0f53..c7f21a9 100644 --- a/meta/recipes-devtools/perl/perl_5.20.0.bb +++ b/meta/recipes-devtools/perl/perl_5.20.0.bb @@ -272,7 +272,7 @@ perl_package_preprocess () { } PACKAGES = "perl-dbg perl perl-misc perl-dev perl-pod perl-doc perl-lib \ - perl-module-cpan perl-module-cpanplus perl-module-unicore" + perl-module-cpan perl-module-unicore" FILES_${PN} = "${bindir}/perl ${bindir}/perl${PV} \ ${libdir}/perl/${PV}/Config.pm \ ${libdir}/perl/${PV}/strict.pm \ @@ -311,7 +311,6 @@ FILES_${PN}-doc = "${libdir}/perl/${PV}/*/*.txt \ ${libdir}/perl/${PV}/CGI/eg \ ${libdir}/perl/${PV}/CPAN/PAUSE2003.pub \ ${libdir}/perl/${PV}/CPAN/SIGNATURE \ - ${libdir}/perl/${PV}/CPANPLUS/Shell/Default/Plugins/HOWTO.pod \ ${libdir}/perl/${PV}/Encode/encode.h \ ${libdir}/perl/${PV}/ExtUtils/MANIFEST.SKIP \ ${libdir}/perl/${PV}/ExtUtils/NOTES \ @@ -326,8 +325,6 @@ FILES_${PN}-doc = "${libdir}/perl/${PV}/*/*.txt \ FILES_perl-module-cpan += "${libdir}/perl/${PV}/CPAN \ ${libdir}/perl/${PV}/CPAN.pm" -FILES_perl-module-cpanplus += "${libdir}/perl/${PV}/CPANPLUS \ - ${libdir}/perl/${PV}/CPANPLUS.pm" FILES_perl-module-unicore += "${libdir}/perl/${PV}/unicore" # Create a perl-modules package recommending all the other perl @@ -340,7 +337,11 @@ python populate_packages_prepend () { do_split_packages(d, libdir, 'auto/([^.]*)/[^/]*\.(so|ld|ix|al)', 'perl-module-%s', 'perl module %s', recursive=True, match_path=True, prepend=False) do_split_packages(d, libdir, 'Module/([^\/]*)\.pm', 'perl-module-%s', 'perl module %s', recursive=True, allow_dirs=False, match_path=True, prepend=False) do_split_packages(d, libdir, 'Module/([^\/]*)/.*', 'perl-module-%s', 'perl module %s', recursive=True, allow_dirs=False, match_path=True, prepend=False) - do_split_packages(d, libdir, '(^(?!(CPAN\/|CPANPLUS\/|Module\/|unicore\/|auto\/)[^\/]).*)\.(pm|pl|e2x)', 'perl-module-%s', 'perl module %s', recursive=True, allow_dirs=False, match_path=True, prepend=False) + + unmatch_dirs = '(CPAN\/|Module\/|unicore\/|auto\/|warnings\/)[^\/]' + unmatch_files = 'vars.pm$|Config.pm$|strict.pm$|Config_heavy.pl$|warnings.pm$' + file_regex = '(^(?!(%s|%s)).*)\.(pm|pl|e2x)' % (unmatch_dirs, unmatch_files) + do_split_packages(d, libdir, file_regex, 'perl-module-%s', 'perl module %s', recursive=True, allow_dirs=False, match_path=True, prepend=False) # perl-modules should recommend every perl module, and only the # modules. Don't attempt to use the result of do_split_packages() as some -- 1.9.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core