Patchwork [meta-perl,v2,01/10] libmodule-metadata-perl: add 1.000019

login
register
mail settings
Submitter Tim Orling
Date Feb. 3, 2014, 6:51 a.m.
Message ID <1391410275-31251-2-git-send-email-ticotimo@gmail.com>
Download mbox | patch
Permalink /patch/66233/
State New, archived
Headers show

Comments

Tim Orling - Feb. 3, 2014, 6:51 a.m.
[Description from CPAN]
This module provides a standard way to gather metadata about a .pm file through (mostly) static analysis and (some) code execution. When determining the version of a module, the $VERSION assignment is "eval"ed, as is traditional in the CPAN toolchain.

Signed-off-by: Tim Orling <ticotimo@gmail.com>
---
 .../libmodule/libmodule-metadata-perl_1.000019.bb  |   33 ++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 meta-perl/recipes-perl/libmodule/libmodule-metadata-perl_1.000019.bb
Hongxu Jia - March 29, 2014, 6:44 a.m.
Hi Tim,

The 'Metadata.pm' in libmodule-metadata-perl-native conflicted
with the one in perl-native, is that ok?

$ bitbake libmodule-metadata-perl-native

WARNING: The recipe libmodule-metadata-perl-native is trying to install 
files into a shared area when those files already exist. Those files and 
their manifest location are:
/home/jiahongxu/yocto/build-20140329-meta-perl/tmp/sysroots/x86_64-linux/usr/lib/perl-native/perl/5.14.3/Module/Metadata.pm
    Matched in manifest-x86_64-perl-native.populate_sysroot
Please verify which package should provide the above files.

//Hongxu

On 02/03/2014 02:51 PM, Tim Orling wrote:
> [Description from CPAN]
> This module provides a standard way to gather metadata about a .pm file through (mostly) static analysis and (some) code execution. When determining the version of a module, the $VERSION assignment is "eval"ed, as is traditional in the CPAN toolchain.
>
> Signed-off-by: Tim Orling <ticotimo@gmail.com>
> ---
>   .../libmodule/libmodule-metadata-perl_1.000019.bb  |   33 ++++++++++++++++++++
>   1 file changed, 33 insertions(+)
>   create mode 100644 meta-perl/recipes-perl/libmodule/libmodule-metadata-perl_1.000019.bb
>
> diff --git a/meta-perl/recipes-perl/libmodule/libmodule-metadata-perl_1.000019.bb b/meta-perl/recipes-perl/libmodule/libmodule-metadata-perl_1.000019.bb
> new file mode 100644
> index 0000000..668f0c4
> --- /dev/null
> +++ b/meta-perl/recipes-perl/libmodule/libmodule-metadata-perl_1.000019.bb
> @@ -0,0 +1,33 @@
> +SUMMARY = "Module::Metadata - Gather package and POD information from perl module files"
> +DESCRIPTION = "This module provides a standard way to gather metadata about \
> +a .pm files through (mostly) static analysis and (some) code execution. When \
> +determining the version of a module, the $VERSION assignment is eval-ed, as \
> +is traditional in the CPAN toolchain."
> +SECTION = "libs"
> +
> +HOMEPAGE = "http://search.cpan.org/~ether/Module-Metadata/"
> +
> +LICENSE = "Artistic-1.0 | GPL-1.0+"
> +LIC_FILES_CHKSUM = "file://README;beginline=185;endline=190;md5=e1b24eebe5d819b40bb68ad06b72d3ee"
> +
> +SRC_URI = "http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Module-Metadata-${PV}.tar.gz"
> +SRC_URI[md5sum] = "838ecf97f7daff79e0f81e104a6be823"
> +SRC_URI[sha256sum] = "5afca94dc0213608101ad519eb1b25133cdc9e44c2a053a45a5a59422c2ee554"
> +
> +S = "${WORKDIR}/Module-Metadata-${PV}"
> +
> +inherit cpan
> +
> +RDEPENDS_${PN} = " perl-module-io-file \
> +                   perl-module-data-dumper \
> +                   perl-module-extutils-makemaker \
> +                   perl-module-file-spec \
> +                   perl-module-version \
> +                   perl-module-exporter \
> +                   perl-module-carp \
> +                   perl-module-test-more \
> +                   perl-module-file-temp \
> +                   perl-module-file-path \
> +"
> +
> +BBCLASSEXTEND = "native"
Tim Orling - March 31, 2014, 3:30 a.m.
Yes. It updates the version built into perl. I will submit a patch with
insane skip.

--Tim


On Sun, Feb 2, 2014 at 10:51 PM, Tim Orling <ticotimo@gmail.com> wrote:

> [Description from CPAN]
> This module provides a standard way to gather metadata about a .pm file
> through (mostly) static analysis and (some) code execution. When
> determining the version of a module, the $VERSION assignment is "eval"ed,
> as is traditional in the CPAN toolchain.
>
> Signed-off-by: Tim Orling <ticotimo@gmail.com>
> ---
>  .../libmodule/libmodule-metadata-perl_1.000019.bb  |   33
> ++++++++++++++++++++
>  1 file changed, 33 insertions(+)
>  create mode 100644 meta-perl/recipes-perl/libmodule/
> libmodule-metadata-perl_1.000019.bb
>
> diff --git a/meta-perl/recipes-perl/libmodule/
> libmodule-metadata-perl_1.000019.bb b/meta-perl/recipes-perl/libmodule/
> libmodule-metadata-perl_1.000019.bb
> new file mode 100644
> index 0000000..668f0c4
> --- /dev/null
> +++ b/meta-perl/recipes-perl/libmodule/libmodule-metadata-perl_1.000019.bb
> @@ -0,0 +1,33 @@
> +SUMMARY = "Module::Metadata - Gather package and POD information from
> perl module files"
> +DESCRIPTION = "This module provides a standard way to gather metadata
> about \
> +a .pm files through (mostly) static analysis and (some) code execution.
> When \
> +determining the version of a module, the $VERSION assignment is eval-ed,
> as \
> +is traditional in the CPAN toolchain."
> +SECTION = "libs"
> +
> +HOMEPAGE = "http://search.cpan.org/~ether/Module-Metadata/"
> +
> +LICENSE = "Artistic-1.0 | GPL-1.0+"
> +LIC_FILES_CHKSUM =
> "file://README;beginline=185;endline=190;md5=e1b24eebe5d819b40bb68ad06b72d3ee"
> +
> +SRC_URI = "
> http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Module-Metadata-${PV}.tar.gz
> "
> +SRC_URI[md5sum] = "838ecf97f7daff79e0f81e104a6be823"
> +SRC_URI[sha256sum] =
> "5afca94dc0213608101ad519eb1b25133cdc9e44c2a053a45a5a59422c2ee554"
> +
> +S = "${WORKDIR}/Module-Metadata-${PV}"
> +
> +inherit cpan
> +
> +RDEPENDS_${PN} = " perl-module-io-file \
> +                   perl-module-data-dumper \
> +                   perl-module-extutils-makemaker \
> +                   perl-module-file-spec \
> +                   perl-module-version \
> +                   perl-module-exporter \
> +                   perl-module-carp \
> +                   perl-module-test-more \
> +                   perl-module-file-temp \
> +                   perl-module-file-path \
> +"
> +
> +BBCLASSEXTEND = "native"
> --
> 1.7.9.5
>
>
Paul Eggleton - March 31, 2014, 8:54 a.m.
Hi Tim,

On Sunday 30 March 2014 20:30:28 Tim Orling wrote:
> Yes. It updates the version built into perl. I will submit a patch with
> insane skip.

INSANE_SKIP isn't the right fix for this - if this recipe is staging duplicate 
files, it should be prevented from doing that by simply deleting the files 
within a do_install_append.

Cheers,
Paul

Patch

diff --git a/meta-perl/recipes-perl/libmodule/libmodule-metadata-perl_1.000019.bb b/meta-perl/recipes-perl/libmodule/libmodule-metadata-perl_1.000019.bb
new file mode 100644
index 0000000..668f0c4
--- /dev/null
+++ b/meta-perl/recipes-perl/libmodule/libmodule-metadata-perl_1.000019.bb
@@ -0,0 +1,33 @@ 
+SUMMARY = "Module::Metadata - Gather package and POD information from perl module files"
+DESCRIPTION = "This module provides a standard way to gather metadata about \
+a .pm files through (mostly) static analysis and (some) code execution. When \
+determining the version of a module, the $VERSION assignment is eval-ed, as \
+is traditional in the CPAN toolchain."
+SECTION = "libs"
+
+HOMEPAGE = "http://search.cpan.org/~ether/Module-Metadata/"
+
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+LIC_FILES_CHKSUM = "file://README;beginline=185;endline=190;md5=e1b24eebe5d819b40bb68ad06b72d3ee"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Module-Metadata-${PV}.tar.gz"
+SRC_URI[md5sum] = "838ecf97f7daff79e0f81e104a6be823"
+SRC_URI[sha256sum] = "5afca94dc0213608101ad519eb1b25133cdc9e44c2a053a45a5a59422c2ee554"
+
+S = "${WORKDIR}/Module-Metadata-${PV}"
+
+inherit cpan
+
+RDEPENDS_${PN} = " perl-module-io-file \
+                   perl-module-data-dumper \
+                   perl-module-extutils-makemaker \
+                   perl-module-file-spec \
+                   perl-module-version \
+                   perl-module-exporter \
+                   perl-module-carp \
+                   perl-module-test-more \
+                   perl-module-file-temp \
+                   perl-module-file-path \
+"
+
+BBCLASSEXTEND = "native"