Skip to contentSkip to conversation

perl-module-metadata: add 1.000019

PATCH Superseded Tim Orling 2 participants 11 messages Jan 31, 2014

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Tim Orling

author
#0 lore raw

PATCH 1/9 perl-module-metadata: add 1.000019

[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.

---
 .../perl-module-metadata_1.000019.bb               |   32 ++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 meta-perl/recipes-perl/module-metadata/perl-module-metadata_1.000019.bb
meta-perl/recipes-perl/module-metadata/perl-module-metadata_1.000019.bb new file +32 -0
new file mode 100644
index 0000000..974cc80
@@ -0,0 +1,32 @@
+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."
+
+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"
Signature · 1 line
1.7.9.5
author
#1 lore raw

PATCH 2/9 perl-module-text-diff: add 1.41

[Description from CPAN]
diff() provides a basic set of services akin to the GNU diff utility. It is not anywhere near as feature complete as GNU diff, but it is better integrated with Perl and available on all platforms. It is often faster than shelling out to a system's diff executable for small files, and generally slower on larger files.

---
 .../text-diff/perl-module-text-diff_1.41.bb        |   26 ++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 meta-perl/recipes-perl/text-diff/perl-module-text-diff_1.41.bb
meta-perl/recipes-perl/text-diff/perl-module-text-diff_1.41.bb new file +26 -0
new file mode 100644
index 0000000..0daf360
@@ -0,0 +1,26 @@
+SUMMARY = "Text::Diff - Perform diffs on files and record sets"
+DESCRIPTION = "diff() provides a basic set of services akin to the GNU diff \
+utility. It is not anywhere near as feature complete as GNU diff, but it is \
+better integrated with Perl and available on all platforms. It is often \
+faster than shelling out to a system's diff executable for small files, \
+and generally slower on larger files."
+
+HOMEPAGE = "http://search.cpan.org/~ovid/Text-Diff/"
+
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=385c55653886acac3821999a3ccd17b3"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/O/OV/OVID/Text-Diff-${PV}.tar.gz"
+SRC_URI[md5sum] = "30d56e6dd5551ca16b8e16cc7299dc21"
+SRC_URI[sha256sum] = "a67f50a48e313c1680cc662109ce5f913ea71454db355d0cf4db87ac89d2d2fa"
+
+S = "${WORKDIR}/Text-Diff-${PV}"
+
+inherit cpan
+
+RDEPENDS_${PN} = " perl-module-extutils-makemaker \
+                   perl-module-algorthm-diff \
+                   perl-module-exporter \
+"
+
+BBCLASSEXTEND = "native"
Signature · 1 line
1.7.9.5
author
#2 lore raw

PATCH 3/9 perl-module-capture-tiny: add 0.23

In reply to Tim Orling

[Description from CPAN]
Capture::Tiny provides a simple, portable way to capture almost anything sent to STDOUT or STDERR, regardless of whether it comes from Perl, from XS code or from an external program. Optionally, output can be teed so that it is captured while being passed through to the original filehandles. Yes, it even works on Windows (usually). Stop guessing which of a dozen capturing modules to use in any particular situation and just use this one.

---
 .../capture-tiny/perl-module-capture-tiny_0.23.bb  |   35 ++++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 meta-perl/recipes-perl/capture-tiny/perl-module-capture-tiny_0.23.bb
meta-perl/recipes-perl/capture-tiny/perl-module-capture-tiny_0.23.bb new file +35 -0
new file mode 100644
index 0000000..0c4166d
@@ -0,0 +1,35 @@
+SUMMARY = "Capture::Tiny - Capture STDOUT and STDERR from Perl, XS or external programs."
+DESCRIPTION = "Capture::Tiny provies a simple, portable way to capture \
+almost anything sent to STDOUT or STDERR, regardless of whether it comes \
+from Perl, from XS code or from an external program. Optionally, output can \
+be teed so that it is captured while being passed through to the original \
+filehandles. Yes, it even works on Windows (usually). Stop guessing which of \
+a dozen capturing modules to use in any particular situation and just use \
+this one."
+
+HOMEPAGE = "http://search.cpan.org/~dagolden/Capture-Tiny/"
+
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=37a4918a30ace24395020e5b8c03b83f"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/Capture-Tiny-${PV}.tar.gz"
+SRC_URI[md5sum] = "7c6f63671802d004c0df5dbcba93e5b4"
+SRC_URI[sha256sum] = "427814015824014b41f666c16afadab0ea551db946e494fdfbc59c44c9569bdf"
+
+S = "${WORKDIR}/Capture-Tiny-${PV}"
+
+inherit cpan
+
+RDEPENDS_${PN} = " perl-module-scalar-util \
+                   perl-module-io-file \
+                   perl-module-extutils-makemaker \
+                   perl-module-file-spec \
+                   perl-module-exporter \
+                   perl-module-carp \
+                   perl-module-test-more \
+                   perl-module-file-temp \
+                   perl-module-lib \
+                   perl-module-build \
+"
+
+BBCLASSEXTEND = "native"
Signature · 1 line
1.7.9.5
author
#3 lore raw

PATCH 4/9 perl-module-runtime: add 0.013

In reply to Tim Orling

[Description from CPAN]
The functions exported by this module deal with runtime handling of Perl modules, which are normally handled at compile time. This module avoids using any other modules, so that it can be used in low-level infrastructure.

---
 .../module-runtime/perl-module-runtime_0.013.bb    |   34 ++++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 meta-perl/recipes-perl/module-runtime/perl-module-runtime_0.013.bb
meta-perl/recipes-perl/module-runtime/perl-module-runtime_0.013.bb new file +34 -0
new file mode 100644
index 0000000..a8f1216
@@ -0,0 +1,34 @@
+SUMMARY = "Module::Runtime - runtime module handling"
+DESCRIPTION = "The functions exported by this module deal with runtime \
+handling of Perl modules, which are normally handled at compile time. This \
+module avoids using any other modules, so that it can be used in low-level \
+infrastructure. \
+The parts of this module that work with module names apply the same syntax \
+that is used for barewords in Perl source. In principle this syntax can vary \
+between versions of Perl, and this module applies the syntax of the Perl on \
+which it is running. In practice the usable syntax hasn't changed yet, but \
+there's a good chance of it changing in Perl 5.18. \
+The functions of this module whose purpose is to load modules include \
+workarounds for three old Perl core bugs regarding require. These workarounds \
+are applied on any Perl version where the bugs exist, except for a case where \
+one of the bugs cannot be adequately worked around in pure Perl."
+
+HOMEPAGE = "http://search.cpan.org/~zefram/Module-Runtime/"
+
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+LIC_FILES_CHKSUM = "file://README;beginline=42;endline=43;md5=62e24a93342fede7221d66335c716f34"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/Module-Runtime-${PV}.tar.gz"
+SRC_URI[md5sum] = "62b88b1f5f0e975a5d7c80cd46167b97"
+SRC_URI[sha256sum] = "ec37e03d90dc905679dab62a82f42cf0897ed79244b87fd9d531438dc3c31023"
+
+S = "${WORKDIR}/Module-Runtime-${PV}"
+
+inherit cpan_build
+
+RDEPENDS_${PN} = " perl-module-test-more \
+                   perl-module-strict \
+                   perl-module-build \
+"
+
+BBCLASSEXTEND = "native"
Signature · 1 line
1.7.9.5
author
#4 lore raw

PATCH 5/9 perl-module-extutils-config: add 0.007

In reply to Tim Orling

[Description from CPAN]
ExtUtils::Config is an abstraction around the %Config hash.

---
 .../extutils/perl-module-extutils-config_0.007.bb  |   23 ++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 meta-perl/recipes-perl/extutils/perl-module-extutils-config_0.007.bb
meta-perl/recipes-perl/extutils/perl-module-extutils-config_0.007.bb new file +23 -0
new file mode 100644
index 0000000..88de263
@@ -0,0 +1,23 @@
+SUMMARY = "ExtUtils::Config - A wrapper for perl's configuration"
+DESCRIPTION = "ExtUtils::Config is an abstraction around the %Config hash."
+
+HOMEPAGE = "http://search.cpan.org/~leont/ExtUtils-Config/"
+
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=b1b813683bd988732e7fd6a796bf7f47"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/L/LE/LEONT/ExtUtils-Config-${PV}.tar.gz"
+SRC_URI[md5sum] = "2829c0dfa8a7e51b3f582efbee4bb128"
+SRC_URI[sha256sum] = "2c1465078b876fd16a90507092805265528c2532d4937b03547a6dbdb8ac0eef"
+
+S = "${WORKDIR}/ExtUtils-Config-${PV}"
+
+inherit cpan
+
+RDEPENDS_${PN} = " perl-module-extutils-makemaker \
+                   perl-module-data-dumper \
+                   perl-module-test-more \
+                   perl-module-file-temp \
+"
+
+BBCLASSEXTEND = "native"
Signature · 1 line
1.7.9.5
author
#5 lore raw

PATCH 6/9 perl-module-extutils-helpers: add 0.021

In reply to Tim Orling

[Description from CPAN]
This module provides various portable helper functions for module building modules.

---
 .../extutils/perl-module-extutils-helpers_0.021.bb |   28 ++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 meta-perl/recipes-perl/extutils/perl-module-extutils-helpers_0.021.bb
meta-perl/recipes-perl/extutils/perl-module-extutils-helpers_0.021.bb new file +28 -0
new file mode 100644
index 0000000..e18dea1
@@ -0,0 +1,28 @@
+SUMMARY = "ExtUtils::Helpers - Various portability utilities for module builders"
+DESCRIPTION = "This module provides various portable helper function for module building modules."
+
+HOMEPAGE = "http://search.cpan.org/~leont/ExtUtils-Helpers/"
+
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=307057ce232899f5caa8858560c7274b"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/L/LE/LEONT/ExtUtils-Helpers-${PV}.tar.gz"
+SRC_URI[md5sum] = "94aa8eaf92def26d9af0cb25fcb1570f"
+SRC_URI[sha256sum] = "26b85077f4197b30e62ffec87d3f78111522619d62858d2ab45a64687351892a"
+
+S = "${WORKDIR}/ExtUtils-Helpers-${PV}"
+
+inherit cpan
+
+RDEPENDS_${PN} = " perl-module-file-copy \
+                   perl-module-extutils-makemaker \
+                   perl-module-exporter \
+                   perl-module-carp \
+                   perl-module-test-more \
+                   perl-module-text-parsewords \
+                   perl-module-module-load \
+                   perl-module-file-temp \
+                   perl-module-file-spec-functions \
+"
+
+BBCLASSEXTEND = "native"
Signature · 1 line
1.7.9.5
author
#6 lore raw

PATCH 7/9 perl-module-extutils-installpaths: add 0.010

In reply to Tim Orling

[Description from CPAN]
This module tries to make install path resolution as easy as possible.

When you want to install a module, it needs to figure out where to install things. The nutshell version of how this works is that default installation locations are determined from ExtUtils::Config, and they may be individually overridden by using the install_path attribute. An install_base attribute lets you specify an alternative installation root like /home/foo and prefix does something similar in a rather different (and more complicated) way. destdir lets you specify a temporary installation directory like /tmp/install in case you want to create bundled-up installable packages.

---
 .../perl-module-extutils-installpaths_0.010.bb     |   24 ++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 meta-perl/recipes-perl/extutils/perl-module-extutils-installpaths_0.010.bb
meta-perl/recipes-perl/extutils/perl-module-extutils-installpaths_0.010.bb new file +24 -0
new file mode 100644
index 0000000..e95aec9
@@ -0,0 +1,24 @@
+SUMMARY = "ExtUtils::InstallPaths - Build.PL install path logic made easy"
+DESCRIPTION = "This module tries to make install path resolution as easy \
+as possible."
+
+HOMEPAGE = "http://search.cpan.org/~leont/ExtUtils-InstallPaths/"
+
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=15bbcc2806d297df9e944b8955b38d82"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/L/LE/LEONT/ExtUtils-InstallPaths-${PV}.tar.gz"
+SRC_URI[md5sum] = "f0b00cc6c04653588a6298fa1f16c07f"
+SRC_URI[sha256sum] = "d14cbff118e467900c2c488b55b83ef697d6eb1b8f592c0521f1d82848bf2156"
+
+S = "${WORKDIR}/ExtUtils-InstallPaths-${PV}"
+
+inherit cpan
+
+RDEPENDS_${PN} = " perl-module-extutils-makemaker \
+                   perl-module-data-dumper \
+                   perl-module-test-more \
+                   perl-module-file-temp \
+"
+
+BBCLASSEXTEND = "native"
Signature · 1 line
1.7.9.5
author
#7 lore raw

PATCH 8/9 perl-module-build-tiny: add 0.030

In reply to Tim Orling

[Description from CPAN]
Many Perl distributions use a Build.PL file instead of a Makefile.PL file to drive distribution configuration, build, test and installation. Traditionally, Build.PL uses Module::Build as the underlying build system. This module provides a simple, lightweight, drop-in replacement.

Whereas Module::Build has over 6,700 lines of code; this module has less than 120, yet supports the features needed by most distributions.

---
 .../module-build/perl-module-build-tiny_0.030.bb   |   54 ++++++++++++++++++++
 1 file changed, 54 insertions(+)
 create mode 100644 meta-perl/recipes-perl/module-build/perl-module-build-tiny_0.030.bb
meta-perl/recipes-perl/module-build/perl-module-build-tiny_0.030.bb new file +54 -0
new file mode 100644
index 0000000..f024415
@@ -0,0 +1,54 @@
+SUMMARY = "Module::Build::Tiny - A tiny replacement for Module::Build"
+DESCRIPTION = "Many Perl distributions use a Build.PL file instead of a \
+Makefile.PL file to drive distribution configuration, build, test and \
+installation. Traditionally, Build.PL uses Module::Build as the underlying \
+build system. This module provides a simple, lightweight, drop-in replacement. \
+Whereas Module::Build has over 6,700 lines of code; this module has less than \
+120, yet supports the features needed by most distributions."
+
+HOMEPAGE = "http://search.cpan.org/~leont/Module-Build-Tiny/"
+
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=aaca61412962cf972aec0cdad99d0a84"
+
+DEPENDS = "perl-module-extutils-config-native perl-module-extutils-helpers-native perl-module-extutils-installpaths-native"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/L/LE/LEONT/Module-Build-Tiny-${PV}.tar.gz"
+SRC_URI[md5sum] = "1c54bf4c602eec87f98950314699402e"
+SRC_URI[sha256sum] = "dfd418ad0e8290cf645ab11be209a1bf6865e5a562c5a1592da99d5fd24718a8"
+
+S = "${WORKDIR}/Module-Build-Tiny-${PV}"
+
+inherit cpan_build
+
+do_install () {
+        cpan_build_do_install
+}
+
+RDEPENDS_${PN} = " perl-module-xsloader \
+                   perl-module-file-spec \
+                   perl-module-io-handle \
+                   perl-module-tap-harness-env \
+                   perl-module-extutils-install \
+                   perl-module-ipc-open3 \
+                   perl-module-file-path \
+                   perl-module-cpan-meta \
+                   perl-module-extutils-cbuilder \
+                   perl-module-getopt-long \
+                   perl-module-extutils-helpers \
+                   perl-module-extutils-makemaker \
+                   perl-module-exporter \
+                   perl-module-carp \
+                   perl-module-test-more \
+                   perl-module-text-parsewords \
+                   perl-module-module-load \
+                   perl-module-file-temp \
+                   perl-module-data-dumper \
+                   perl-module-extutils-parsexs \
+                   perl-module-pod-man \
+                   perl-module-extutils-installpaths \
+                   perl-module-extutils-config \
+                   perl-module-json-pp \
+"
+
+BBCLASSEXTEND = "native"
Signature · 1 line
1.7.9.5
author
#8 lore raw

PATCH 9/9 perl-module-extutils-cppguess: add 0.07

In reply to Tim Orling

[Description from CPAN]
ExtUtils::CppGuess attempts to guess the system's C++ compiler that is compatible with the C compiler that your perl was built with.

It can generate the necessary options to the Module::Build constructor or to ExtUtils::MakeMaker's WriteMakefile function.

---
 .../extutils/perl-module-extutils-cppguess_0.07.bb |   37 ++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 meta-perl/recipes-perl/extutils/perl-module-extutils-cppguess_0.07.bb
meta-perl/recipes-perl/extutils/perl-module-extutils-cppguess_0.07.bb new file +37 -0
new file mode 100644
index 0000000..b75c451
@@ -0,0 +1,37 @@
+SUMMARY = "ExtUtils::CppGuess - guess C++ compiler and flags"
+DESCRIPTION = "ExtUtils::CppGuess attempts to guess the system's C++ \
+compiler that is compatible with the C compiler that your perl was built \
+with. \
+It can generate the necessary options to the Module::Build constructor or \
+to ExtUtils::MakeMaker's WriteMakefile function."
+
+HOMEPAGE = "http://search.cpan.org/~smueller/ExtUtils-CppGuess/"
+
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+LIC_FILES_CHKSUM = "file://README;beginline=81;endline=84;md5=84c0390b90ea8c6702ce659b67bed699"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/S/SM/SMUELLER/ExtUtils-CppGuess-${PV}.tar.gz"
+SRC_URI[md5sum] = "350dd7c661189ea770d6c9354ebbc6c2"
+SRC_URI[sha256sum] = "1cd83ee8452351219b987c79ddb25cc25ee8c396318ba36c5211a92b5c87e7a8"
+
+S = "${WORKDIR}/ExtUtils-CppGuess-${PV}"
+
+inherit cpan_build
+
+do_install () {
+        cpan_build_do_install
+}
+
+RDEPENDS_${PN} = " perl-module-capture-tiny \
+                   perl-module-scalar-util \
+                   perl-module-io-file \
+                   perl-module-extutils-makemaker \
+                   perl-module-file-spec \
+                   perl-module-exporter \
+                   perl-module-carp \
+                   perl-module-file-temp \
+                   perl-module-lib \
+                   perl-module-build \
+"
+
+BBCLASSEXTEND = "native"
Signature · 1 line
1.7.9.5
#9 lore raw
In reply to Tim Orling
Quoted 5 lines · Tim Orling

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.

For me, it seems strange to skip out the first part of the module name, just because it's part of the recipe perl-module- prefix. I agree it's a bit ugly to call it perl-module-module-metadata, but I think it would cause less confusion.

On the other hand, the naming convention within meta-perl seems to be consistently lib<module name>-perl, like it is in Debian. Same for oecore, except the core modules provided by the perl recipe. This would make the proper name for this recipe be libmodule-metadata-perl. Why use the perl-module- prefix?

Regards,

Signature · 1 line
olofjn
author
#10 lore raw

Koen made a similar comment via private email. I am happy to follow the Debian convention. I will resubmit the entire series.

Thank you for the input.

Regards,

Tim

Quoted 26 lines · Olof Johansson
Quoted 5 lines · Tim Orling

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.

For me, it seems strange to skip out the first part of the module name, just because it's part of the recipe perl-module- prefix. I agree it's a bit ugly to call it perl-module-module-metadata, but I think it would cause less confusion.

On the other hand, the naming convention within meta-perl seems to be consistently lib<module name>-perl, like it is in Debian. Same for oecore, except the core modules provided by the perl recipe. This would make the proper name for this recipe be libmodule-metadata-perl. Why use the perl-module- prefix?

Regards,
--
olofjn
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel