Skip to contentSkip to conversation

libmodule-build-perl: upgrade to v0.4224 and fix qa error

PATCH Superseded Tim Orling 3 participants 4 messages Aug 25, 2017 – Aug 27, 2017

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Tim Orling

author
#0 lore raw

PATCH v2 1/1 libmodule-build-perl: upgrade to v0.4224 and fix qa error

* Use COPYRIGHT excerpt from README for license check
- Remains the same perl5 license
- LICENSE contents is unhelpful "FULLTEXT"
* Correct copy-paste error in SUMMARY
* Fix rpm package_qa error by 'inherit allarch'
* Author is now LEONT instead of KWILLIAMS
* Update HOMEPAGE
* Add interpreter fix from meta-cpan for lib/Module/Build/Base.pm

---
Changes in v2:
* Drop unused run-ptest, Module::Build's tests are designed to be run on a non-installed version of the module. Not useful in a ptest context.

---
 .../libmodule/libmodule-build-perl_0.31.bb         | 27 -----------------
 .../libmodule/libmodule-build-perl_0.4224.bb       | 34 ++++++++++++++++++++++
 2 files changed, 34 insertions(+), 27 deletions(-)
 delete mode 100644 meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.31.bb
 create mode 100644 meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.4224.bb
meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.31.bb deleted +0 -27
deleted file mode 100644
index c0fa06d08..000000000
@@ -1,27 +0,0 @@
-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."
-SECTION = "libs"
-
-HOMEPAGE = "http://search.cpan.org/~kwilliams/Module-Build-0.31/"
-
-LICENSE = "Artistic-1.0 | GPL-1.0+"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=43339d8f9d3a956ee9eceb07717ee95e"
-
-SRC_URI = "${CPAN_MIRROR}/authors/id/K/KW/KWILLIAMS/Module-Build-${PV}.tar.gz"
-SRC_URI[md5sum] = "3d4fdffe58f6236253767e5a71edf29b"
-SRC_URI[sha256sum] = "e2f723be8d6c70b4ddbca3b5e32e52e6e98eae8f43e34d7ede87efcb1796bbb5"
-
-S = "${WORKDIR}/Module-Build-${PV}"
-
-inherit cpan_build
-
-do_install () {
-        cpan_build_do_install
-}
-
-BBCLASSEXTEND = "native"
meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.4224.bb new file +34 -0
new file mode 100644
index 000000000..b09135c95
@@ -0,0 +1,34 @@
+SUMMARY = "Module::Build - Build and install Perl modules"
+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."
+
+SECTION = "libs"
+
+HOMEPAGE = "https://metacpan.org/release/Module-Build"
+
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+LIC_FILES_CHKSUM = "file://README;beginline=960;endline=965;md5=624c06db56a2af4d70cf9edc29fcae1b"
+
+SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEONT/Module-Build-${PV}.tar.gz"
+SRC_URI[md5sum] = "b74c2f6e84b60aad3a3defd30b6f0f4d"
+SRC_URI[sha256sum] = "a6ca15d78244a7b50fdbf27f85c85f4035aa799ce7dd018a0d98b358ef7bc782"
+
+S = "${WORKDIR}/Module-Build-${PV}"
+
+inherit cpan_build allarch
+
+# From:
+# https://github.com/rehsack/meta-cpan/blob/master/recipes-devel/module-build-perl/module-build-perl_0.4216.bb
+#
+do_patch_module_build () {
+    cd ${S}
+    sed -i -e 's,my $interpreter = $self->{properties}{perl};,my $interpreter = "${bindir}/perl";,g' lib/Module/Build/Base.pm
+}
+
+do_patch[postfuncs] += "do_patch_module_build"
+
+BBCLASSEXTEND = "native"
Signature · 1 line
2.13.5
#1 lore raw

Why does it inherit allarch now, it shouldn't as detected by sstate-diff-machines.sh

ERROR: libmodule-build-perl different signature for task do_configure.sigdata between qemux86copy and qemuarm runtaskdeps changed:
libmodule/libmodule-build-perl_0.4224.bb.do_prepare_recipe_sysroot with hash a6c9b9059c759fdee7e8d4be4547d06c
changed to
libmodule/libmodule-build-perl_0.4224.bb.do_prepare_recipe_sysroot with hash 8852bf6b4dec3dad7df9b285f3df7f10
Hash for dependent task libmodule/libmodule-build-perl_0.4224.bb.do_prepare_recipe_sysroot changed from a6c9b9059c759fdee7e8d4be4547d06c to 8852bf6b4dec3dad7df9b285f3df7f10

Quoted 124 lines · Tim Orling

* Use COPYRIGHT excerpt from README for license check
- Remains the same perl5 license
- LICENSE contents is unhelpful "FULLTEXT"
* Correct copy-paste error in SUMMARY
* Fix rpm package_qa error by 'inherit allarch'
* Author is now LEONT instead of KWILLIAMS
* Update HOMEPAGE
* Add interpreter fix from meta-cpan for lib/Module/Build/Base.pm

---
Changes in v2:
* Drop unused run-ptest, Module::Build's tests are designed to be run on a non-installed version of the module. Not useful in a ptest context.

---
 .../libmodule/libmodule-build-perl_0.31.bb         | 27 -----------------
 .../libmodule/libmodule-build-perl_0.4224.bb       | 34
++++++++++++++++++++++
 2 files changed, 34 insertions(+), 27 deletions(-)
 delete mode 100644 meta-perl/recipes-perl/libmodule/libmodule-build-
perl_0.31.bb
 create mode 100644 meta-perl/recipes-perl/libmodule/libmodule-build-

perl_0.4224.bb

meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.31.bb deleted +0 -4
deleted file mode 100644
index c0fa06d08..000000000
@@ -1,27 +0,0 @@
-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."

meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.31.bb deleted +0 -8
-SECTION = "libs"
-
-HOMEPAGE = "http://search.cpan.org/~kwilliams/Module-Build-0.31/"
-
-LICENSE = "Artistic-1.0 | GPL-1.0+"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=43339d8f9d3a956ee9eceb07717ee95e"
-
-SRC_URI = "${CPAN_MIRROR}/authors/id/K/KW/KWILLIAMS/Module-Build-${

PV}.tar.gz"

meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.31.bb deleted +0 -2
-SRC_URI[md5sum] = "3d4fdffe58f6236253767e5a71edf29b"
-SRC_URI[sha256sum] = "e2f723be8d6c70b4ddbca3b5e32e52

e6e98eae8f43e34d7ede87efcb1796bbb5"

meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.31.bb deleted +0 -10
-
-S = "${WORKDIR}/Module-Build-${PV}"
-
-inherit cpan_build
-
-do_install () {
-        cpan_build_do_install
-}
-
-BBCLASSEXTEND = "native"
(quoted diff) +0 -0

perl_0.4224.bb b/meta-perl/recipes-perl/libmodule/libmodule-build- perl_0.4224.bb
new file mode 100644
index 000000000..b09135c95

meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.4224.bb new file +4 -0
@@ -0,0 +1,34 @@
+SUMMARY = "Module::Build - Build and install Perl modules"
+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."

meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.4224.bb new file +7 -0
+
+SECTION = "libs"
+
+HOMEPAGE = "https://metacpan.org/release/Module-Build"
+
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+LIC_FILES_CHKSUM = "file://README;beginline=960;endline=965;md5=

624c06db56a2af4d70cf9edc29fcae1b"

meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.4224.bb new file +2 -0
+
+SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEONT/Module-Build-${PV}.

tar.gz"

meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.4224.bb new file +2 -0
+SRC_URI[md5sum] = "b74c2f6e84b60aad3a3defd30b6f0f4d"
+SRC_URI[sha256sum] = "a6ca15d78244a7b50fdbf27f85c85f

4035aa799ce7dd018a0d98b358ef7bc782"

meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.4224.bb new file +7 -0
+
+S = "${WORKDIR}/Module-Build-${PV}"
+
+inherit cpan_build allarch
+
+# From:
+# https://github.com/rehsack/meta-cpan/blob/master/recipes-

devel/module-build-perl/module-build-perl_0.4216.bb

meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.4224.bb new file +4 -0
+#
+do_patch_module_build () {
+    cd ${S}
+    sed -i -e 's,my $interpreter = $self->{properties}{perl};,my

$interpreter = "${bindir}/perl";,g' lib/Module/Build/Base.pm

meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.4224.bb new file +5 -1
+}
+
+do_patch[postfuncs] += "do_patch_module_build"
+
+BBCLASSEXTEND = "native"
--

2.13.5

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

#2 lore raw
Quoted 4 lines · Martin Jansa

Why does it inherit allarch now, it shouldn't as detected by sstate-diff-machines.sh

The meta-cpan recipe had inherit allarch, which made the qa error go away. Clearly not the
correct solution. I'll try to find the right solution...

Quoted 153 lines

ERROR: libmodule-build-perl different signature for task do_configure.sigdata between qemux86copy and qemuarm runtaskdeps changed:
libmodule/libmodule-build-perl_0.4224.bb.do_prepare_recipe_sysroot with hash a6c9b9059c759fdee7e8d4be4547d06c
changed to
libmodule/libmodule-build-perl_0.4224.bb.do_prepare_recipe_sysroot with hash 8852bf6b4dec3dad7df9b285f3df7f10
Hash for dependent task libmodule/libmodule-build-perl_0.4224.bb.do_prepare_recipe_sysroot changed from a6c9b9059c759fdee7e8d4be4547d06c to 8852bf6b4dec3dad7df9b285f3df7f10

Quoted 11 lines · Tim Orling

* Use COPYRIGHT excerpt from README for license check
- Remains the same perl5 license
- LICENSE contents is unhelpful "FULLTEXT"
* Correct copy-paste error in SUMMARY
* Fix rpm package_qa error by 'inherit allarch'
* Author is now LEONT instead of KWILLIAMS
* Update HOMEPAGE
* Add interpreter fix from meta-cpan for lib/Module/Build/Base.pm

Quoted 7 lines

---
Changes in v2:
* Drop unused run-ptest, Module::Build's tests are designed to be run on a non-installed version of the module. Not useful in a ptest context.

---
 .../libmodule/libmodule-build-perl_0.31.bb         | 27

-----------------

Review

Quoted 9 lines
 .../libmodule/libmodule-build-perl_0.4224.bb       | 34
++++++++++++++++++++++
 2 files changed, 34 insertions(+), 27 deletions(-)
 delete mode 100644 meta-perl/recipes-perl/libmodule/libmodule-build-
perl_0.31.bb
 create mode 100644 meta-perl/recipes-perl/libmodule/libmodule-build-

perl_0.4224.bb

(quoted diff) +0 -0

perl_0.31.bb

meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.31.bb line 2

Quoted 8 lines

b/meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.31.bb deleted file mode 100644
index c0fa06d08..000000000

meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.31.bb deleted +0 -2
@@ -1,27 +0,0 @@
-SUMMARY = "Module::Build::Tiny - A tiny replacement for Module::Build"
-DESCRIPTION = "Many Perl distributions use a Build.PL file instead of a

\

Quoted 8 lines
meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.31.bb deleted +0 -2
-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."

meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.31.bb

Quoted 6 lines
meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.31.bb deleted +0 -6
-SECTION = "libs"
-
-HOMEPAGE = "http://search.cpan.org/~kwilliams/Module-Build-0.31/"
-
-LICENSE = "Artistic-1.0 | GPL-1.0+"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=43339d8f9d3a956ee9eceb07717ee9

5e"

Quoted 24 lines
meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.31.bb deleted +0 -2
-
-SRC_URI = "${CPAN_MIRROR}/authors/id/K/KW/KWILLIAMS/Module-Build-${

PV}.tar.gz"

meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.31.bb deleted +0 -2
-SRC_URI[md5sum] = "3d4fdffe58f6236253767e5a71edf29b"
-SRC_URI[sha256sum] = "e2f723be8d6c70b4ddbca3b5e32e52

e6e98eae8f43e34d7ede87efcb1796bbb5"

meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.31.bb deleted +0 -10
-
-S = "${WORKDIR}/Module-Build-${PV}"
-
-inherit cpan_build
-
-do_install () {
-        cpan_build_do_install
-}
-
-BBCLASSEXTEND = "native"
(quoted diff) +0 -0

perl_0.4224.bb b/meta-perl/recipes-perl/libmodule/libmodule-build- perl_0.4224.bb
new file mode 100644
index 000000000..b09135c95

meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.4224.bb line 2

Quoted 2 lines
meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.4224.bb new file +2 -0
@@ -0,0 +1,34 @@
+SUMMARY = "Module::Build - Build and install Perl modules"
+DESCRIPTION = "Many Perl distributions use a Build.PL file instead of a

\

Quoted 43 lines
meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.4224.bb new file +2 -0
+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."

meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.4224.bb new file +7 -0
+
+SECTION = "libs"
+
+HOMEPAGE = "https://metacpan.org/release/Module-Build"
+
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+LIC_FILES_CHKSUM = "file://README;beginline=960;endline=965;md5=

624c06db56a2af4d70cf9edc29fcae1b"

meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.4224.bb new file +2 -0
+
+SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEONT/Module-Build-${PV}.

tar.gz"

meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.4224.bb new file +2 -0
+SRC_URI[md5sum] = "b74c2f6e84b60aad3a3defd30b6f0f4d"
+SRC_URI[sha256sum] = "a6ca15d78244a7b50fdbf27f85c85f

4035aa799ce7dd018a0d98b358ef7bc782"

meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.4224.bb new file +7 -0
+
+S = "${WORKDIR}/Module-Build-${PV}"
+
+inherit cpan_build allarch
+
+# From:
+# https://github.com/rehsack/meta-cpan/blob/master/recipes-

devel/module-build-perl/module-build-perl_0.4216.bb

meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.4224.bb new file +4 -0
+#
+do_patch_module_build () {
+    cd ${S}
+    sed -i -e 's,my $interpreter = $self->{properties}{perl};,my

$interpreter = "${bindir}/perl";,g' lib/Module/Build/Base.pm

meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.4224.bb new file +5 -1
+}
+
+do_patch[postfuncs] += "do_patch_module_build"
+
+BBCLASSEXTEND = "native"
--

2.13.5

Quoted 6 lines

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

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

#3 lore raw
Quoted 5 lines · Tim Orling

On Sun, Aug 27, 2017 at 12:54 PM, Martin Jansa <[email protected]> wrote:

Quoted 8 lines
Quoted 4 lines

Why does it inherit allarch now, it shouldn't as detected by sstate-diff-machines.sh

The meta-cpan recipe had inherit allarch, which made the qa error go away. Clearly not the
correct solution. I'll try to find the right solution...

I dropped the 'inherit allarch' and on latest tip of poky master the package qa error went away.
I wonder if that is because of:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=fed5d9c8f013c2c6d29b92e874f523555f339cf5
?

Quoted 159 lines
Quoted 157 lines

ERROR: libmodule-build-perl different signature for task do_configure.sigdata between qemux86copy and qemuarm runtaskdeps changed:
libmodule/libmodule-build-perl_0.4224.bb.do_prepare_recipe_sysroot with hash a6c9b9059c759fdee7e8d4be4547d06c
changed to
libmodule/libmodule-build-perl_0.4224.bb.do_prepare_recipe_sysroot with hash 8852bf6b4dec3dad7df9b285f3df7f10
Hash for dependent task libmodule/libmodule-build-perl_0.4224.bb.do_prepare_recipe_sysroot changed from a6c9b9059c759fdee7e8d4be4547d06c to 8852bf6b4dec3dad7df9b285f3df7f10

Quoted 11 lines · Tim Orling

* Use COPYRIGHT excerpt from README for license check
- Remains the same perl5 license
- LICENSE contents is unhelpful "FULLTEXT"
* Correct copy-paste error in SUMMARY
* Fix rpm package_qa error by 'inherit allarch'
* Author is now LEONT instead of KWILLIAMS
* Update HOMEPAGE
* Add interpreter fix from meta-cpan for lib/Module/Build/Base.pm

Quoted 7 lines

---
Changes in v2:
* Drop unused run-ptest, Module::Build's tests are designed to be run on a non-installed version of the module. Not useful in a ptest context.

---
 .../libmodule/libmodule-build-perl_0.31.bb         | 27

-----------------

Review

Quoted 9 lines
 .../libmodule/libmodule-build-perl_0.4224.bb       | 34
++++++++++++++++++++++
 2 files changed, 34 insertions(+), 27 deletions(-)
 delete mode 100644 meta-perl/recipes-perl/libmodule/libmodule-build-
perl_0.31.bb
 create mode 100644 meta-perl/recipes-perl/libmodule/libmodule-build-

perl_0.4224.bb

(quoted diff) +0 -0

31.bb

meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.31.bb line 2

Quoted 8 lines

b/meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.31.bb deleted file mode 100644
index c0fa06d08..000000000

meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.31.bb deleted +0 -2
@@ -1,27 +0,0 @@
-SUMMARY = "Module::Build::Tiny - A tiny replacement for Module::Build"
-DESCRIPTION = "Many Perl distributions use a Build.PL file instead of

a \

Quoted 6 lines
meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.31.bb deleted +0 -2
-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

meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.31.bb

Quoted 8 lines

than \
-120, yet supports the features needed by most distributions."

meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.31.bb deleted +0 -6
-SECTION = "libs"
-
-HOMEPAGE = "http://search.cpan.org/~kwilliams/Module-Build-0.31/"
-
-LICENSE = "Artistic-1.0 | GPL-1.0+"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=43339d8f9d

3a956ee9eceb07717ee95e"

Quoted 24 lines
meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.31.bb deleted +0 -2
-
-SRC_URI = "${CPAN_MIRROR}/authors/id/K/KW/KWILLIAMS/Module-Build-${

PV}.tar.gz"

meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.31.bb deleted +0 -2
-SRC_URI[md5sum] = "3d4fdffe58f6236253767e5a71edf29b"
-SRC_URI[sha256sum] = "e2f723be8d6c70b4ddbca3b5e32e52

e6e98eae8f43e34d7ede87efcb1796bbb5"

meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.31.bb deleted +0 -10
-
-S = "${WORKDIR}/Module-Build-${PV}"
-
-inherit cpan_build
-
-do_install () {
-        cpan_build_do_install
-}
-
-BBCLASSEXTEND = "native"
(quoted diff) +0 -0

perl_0.4224.bb b/meta-perl/recipes-perl/libmodule/libmodule-build- perl_0.4224.bb
new file mode 100644
index 000000000..b09135c95

meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.4224.bb line 2

Quoted 2 lines
meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.4224.bb new file +2 -0
@@ -0,0 +1,34 @@
+SUMMARY = "Module::Build - Build and install Perl modules"
+DESCRIPTION = "Many Perl distributions use a Build.PL file instead of

a \

Quoted 6 lines
meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.4224.bb new file +2 -0
+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

Quoted 37 lines

than \
+120, yet supports the features needed by most distributions."

meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.4224.bb new file +7 -0
+
+SECTION = "libs"
+
+HOMEPAGE = "https://metacpan.org/release/Module-Build"
+
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+LIC_FILES_CHKSUM = "file://README;beginline=960;endline=965;md5=

624c06db56a2af4d70cf9edc29fcae1b"

meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.4224.bb new file +2 -0
+
+SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEONT/Module-Build-${PV}.

tar.gz"

meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.4224.bb new file +2 -0
+SRC_URI[md5sum] = "b74c2f6e84b60aad3a3defd30b6f0f4d"
+SRC_URI[sha256sum] = "a6ca15d78244a7b50fdbf27f85c85f

4035aa799ce7dd018a0d98b358ef7bc782"

meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.4224.bb new file +7 -0
+
+S = "${WORKDIR}/Module-Build-${PV}"
+
+inherit cpan_build allarch
+
+# From:
+# https://github.com/rehsack/meta-cpan/blob/master/recipes-

devel/module-build-perl/module-build-perl_0.4216.bb

meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.4224.bb new file +4 -0
+#
+do_patch_module_build () {
+    cd ${S}
+    sed -i -e 's,my $interpreter = $self->{properties}{perl};,my

$interpreter = "${bindir}/perl";,g' lib/Module/Build/Base.pm

meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.4224.bb new file +5 -1
+}
+
+do_patch[postfuncs] += "do_patch_module_build"
+
+BBCLASSEXTEND = "native"
--

2.13.5

Quoted 6 lines

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

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