All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-perl][PATCH 1/2] libmodule-build-perl: add 0.31
@ 2015-11-07  8:21 Hongxu Jia
  2015-11-07  8:21 ` [meta-perl][PATCH 2/2] libhtml-tree-perl: add version 5.03 Hongxu Jia
  0 siblings, 1 reply; 5+ messages in thread
From: Hongxu Jia @ 2015-11-07  8:21 UTC (permalink / raw)
  To: openembedded-devel; +Cc: jeffrey.honig

[Description from CPAN]
`Module::Build' is a system for building, testing, and installing Perl
modules. It is meant to be an alternative to `ExtUtils::MakeMaker'.
Developers may alter the behavior of the module through subclassing in a
much more straightforward way than with `MakeMaker'. It also does not
require a `make' on your system - most of the `Module::Build' code is
pure-perl and written in a very cross-platform way.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 .../libmodule/libmodule-build-perl_0.31.bb         | 27 ++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.31.bb

diff --git a/meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.31.bb b/meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.31.bb
new file mode 100644
index 0000000..c0fa06d
--- /dev/null
+++ b/meta-perl/recipes-perl/libmodule/libmodule-build-perl_0.31.bb
@@ -0,0 +1,27 @@
+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"
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [meta-perl][PATCH 2/2] libhtml-tree-perl: add version 5.03
  2015-11-07  8:21 [meta-perl][PATCH 1/2] libmodule-build-perl: add 0.31 Hongxu Jia
@ 2015-11-07  8:21 ` Hongxu Jia
  2015-11-09  4:46   ` [meta-perl][PATCH] libhtml-tree-perl: fix shebang Hongxu Jia
  2015-11-09  4:48   ` Hongxu Jia
  0 siblings, 2 replies; 5+ messages in thread
From: Hongxu Jia @ 2015-11-07  8:21 UTC (permalink / raw)
  To: openembedded-devel; +Cc: jeffrey.honig

HTML-Tree is a suite of Perl modules for making parse trees out of HTML source.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 .../recipes-perl/libhtml/libhtml-tree-perl_5.03.bb | 40 ++++++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.03.bb

diff --git a/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.03.bb b/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.03.bb
new file mode 100644
index 0000000..0b457e3
--- /dev/null
+++ b/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.03.bb
@@ -0,0 +1,40 @@
+SUMMARY = "HTML::TreeBuilder - Parser that builds a HTML syntax tree"
+DESCRIPTION = "This distribution contains a suite of modules for representing, \
+creating, and extracting information from HTML syntax trees; there is \
+also relevent documentation.  These modules used to be part of the \
+libwww-perl distribution, but are now unbundled in order to facilitate \
+a separate development track."
+SECTION = "libs"
+
+HOMEPAGE = "http://www.cpan.org/authors/id/C/CJ/CJM/HTML-Tree-${PV}.readme"
+
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3eb57a8958cae73cb65e7d0c26339242"
+
+SRC_URI = "${CPAN_MIRROR}/authors/id/C/CJ/CJM/HTML-Tree-${PV}.tar.gz"
+SRC_URI[md5sum] = "d9271d60b872ed6fbe68b2d0fe8c450e"
+SRC_URI[sha256sum] = "7d6d73fca622aa74855a8b088faa39454a0f91b7af83c9ec0387f01eefc2148f"
+
+S = "${WORKDIR}/HTML-Tree-${PV}"
+
+inherit cpan_build
+
+DEPENDS += "libmodule-build-perl-native \
+"
+
+RPROVIDES_${PN} = " libhtml-element-perl \
+		    libhtml-tree-assubs-perl \
+		    libhtml-tree-perl \
+		    libhtml-treebuilder-perl \
+"
+
+RDEPENDS_${PN} = " perl-module-b \
+                   perl-module-base \
+                   perl-module-strict \
+                   perl-module-warnings \
+                   perl-module-exporter \
+                   perl-module-carp \
+"
+
+BBCLASSEXTEND = "native"
+
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [meta-perl][PATCH] libhtml-tree-perl: fix shebang
  2015-11-07  8:21 ` [meta-perl][PATCH 2/2] libhtml-tree-perl: add version 5.03 Hongxu Jia
@ 2015-11-09  4:46   ` Hongxu Jia
  2015-11-09  4:48     ` Hongxu Jia
  2015-11-09  4:48   ` Hongxu Jia
  1 sibling, 1 reply; 5+ messages in thread
From: Hongxu Jia @ 2015-11-09  4:46 UTC (permalink / raw)
  To: openembedded-core, jeffrey.honig

There is a build failure while installing libhtml-tree-perl to sdk:
...
|Computing transaction...error: Can't install nativesdk-libhtml-tree-
perl-5.03-r0.1@x86_64_nativesdk: no package provides tmp/sysroots/
x86_64-linux/usr/bin/perl-native/perl.real
...

The rpm detects the shebang of perl script, so we correct it.
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 .../libhtml/files/bin-htmltree-fix-shebang.patch   | 25 ++++++++++++++++++++++
 .../recipes-perl/libhtml/libhtml-tree-perl_5.03.bb |  4 +++-
 2 files changed, 28 insertions(+), 1 deletion(-)
 create mode 100644 meta-perl/recipes-perl/libhtml/files/bin-htmltree-fix-shebang.patch

diff --git a/meta-perl/recipes-perl/libhtml/files/bin-htmltree-fix-shebang.patch b/meta-perl/recipes-perl/libhtml/files/bin-htmltree-fix-shebang.patch
new file mode 100644
index 0000000..4266f05
--- /dev/null
+++ b/meta-perl/recipes-perl/libhtml/files/bin-htmltree-fix-shebang.patch
@@ -0,0 +1,25 @@
+From 28ee994780459c3552d3cbbd6b011d054a41c439 Mon Sep 17 00:00:00 2001
+From: Hongxu Jia <hongxu.jia@windriver.com>
+Date: Sun, 8 Nov 2015 23:33:31 -0500
+Subject: [PATCH] bin/htmltree: fix shebang
+
+Upstream-Status: Pending
+
+Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
+---
+ bin/htmltree | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/bin/htmltree b/bin/htmltree
+index 8bf3db2..f9927e5 100755
+--- a/bin/htmltree
++++ b/bin/htmltree
+@@ -1,4 +1,4 @@
+-#!/usr/bin/perl
++#!/usr/bin/env perl
+ # Time-stamp: "2000-10-02 14:48:15 MDT"
+ #
+ # Parse the given HTML file(s) and dump the parse tree
+-- 
+1.9.1
+
diff --git a/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.03.bb b/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.03.bb
index 0b457e3..8eb0e06 100644
--- a/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.03.bb
+++ b/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.03.bb
@@ -11,7 +11,9 @@ HOMEPAGE = "http://www.cpan.org/authors/id/C/CJ/CJM/HTML-Tree-${PV}.readme"
 LICENSE = "Artistic-1.0 | GPL-1.0+"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=3eb57a8958cae73cb65e7d0c26339242"
 
-SRC_URI = "${CPAN_MIRROR}/authors/id/C/CJ/CJM/HTML-Tree-${PV}.tar.gz"
+SRC_URI = "${CPAN_MIRROR}/authors/id/C/CJ/CJM/HTML-Tree-${PV}.tar.gz \
+           file://bin-htmltree-fix-shebang.patch \
+"
 SRC_URI[md5sum] = "d9271d60b872ed6fbe68b2d0fe8c450e"
 SRC_URI[sha256sum] = "7d6d73fca622aa74855a8b088faa39454a0f91b7af83c9ec0387f01eefc2148f"
 
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [meta-perl][PATCH] libhtml-tree-perl: fix shebang
  2015-11-09  4:46   ` [meta-perl][PATCH] libhtml-tree-perl: fix shebang Hongxu Jia
@ 2015-11-09  4:48     ` Hongxu Jia
  0 siblings, 0 replies; 5+ messages in thread
From: Hongxu Jia @ 2015-11-09  4:48 UTC (permalink / raw)
  To: openembedded-core

Sorry to the wrong mailing list, please drop it.

//Hongxu

On 11/09/2015 12:46 PM, Hongxu Jia wrote:
> There is a build failure while installing libhtml-tree-perl to sdk:
> ...
> |Computing transaction...error: Can't install nativesdk-libhtml-tree-
> perl-5.03-r0.1@x86_64_nativesdk: no package provides tmp/sysroots/
> x86_64-linux/usr/bin/perl-native/perl.real
> ...
>
> The rpm detects the shebang of perl script, so we correct it.
> Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
> ---
>   .../libhtml/files/bin-htmltree-fix-shebang.patch   | 25 ++++++++++++++++++++++
>   .../recipes-perl/libhtml/libhtml-tree-perl_5.03.bb |  4 +++-
>   2 files changed, 28 insertions(+), 1 deletion(-)
>   create mode 100644 meta-perl/recipes-perl/libhtml/files/bin-htmltree-fix-shebang.patch
>
> diff --git a/meta-perl/recipes-perl/libhtml/files/bin-htmltree-fix-shebang.patch b/meta-perl/recipes-perl/libhtml/files/bin-htmltree-fix-shebang.patch
> new file mode 100644
> index 0000000..4266f05
> --- /dev/null
> +++ b/meta-perl/recipes-perl/libhtml/files/bin-htmltree-fix-shebang.patch
> @@ -0,0 +1,25 @@
> +From 28ee994780459c3552d3cbbd6b011d054a41c439 Mon Sep 17 00:00:00 2001
> +From: Hongxu Jia <hongxu.jia@windriver.com>
> +Date: Sun, 8 Nov 2015 23:33:31 -0500
> +Subject: [PATCH] bin/htmltree: fix shebang
> +
> +Upstream-Status: Pending
> +
> +Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
> +---
> + bin/htmltree | 2 +-
> + 1 file changed, 1 insertion(+), 1 deletion(-)
> +
> +diff --git a/bin/htmltree b/bin/htmltree
> +index 8bf3db2..f9927e5 100755
> +--- a/bin/htmltree
> ++++ b/bin/htmltree
> +@@ -1,4 +1,4 @@
> +-#!/usr/bin/perl
> ++#!/usr/bin/env perl
> + # Time-stamp: "2000-10-02 14:48:15 MDT"
> + #
> + # Parse the given HTML file(s) and dump the parse tree
> +--
> +1.9.1
> +
> diff --git a/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.03.bb b/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.03.bb
> index 0b457e3..8eb0e06 100644
> --- a/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.03.bb
> +++ b/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.03.bb
> @@ -11,7 +11,9 @@ HOMEPAGE = "http://www.cpan.org/authors/id/C/CJ/CJM/HTML-Tree-${PV}.readme"
>   LICENSE = "Artistic-1.0 | GPL-1.0+"
>   LIC_FILES_CHKSUM = "file://LICENSE;md5=3eb57a8958cae73cb65e7d0c26339242"
>   
> -SRC_URI = "${CPAN_MIRROR}/authors/id/C/CJ/CJM/HTML-Tree-${PV}.tar.gz"
> +SRC_URI = "${CPAN_MIRROR}/authors/id/C/CJ/CJM/HTML-Tree-${PV}.tar.gz \
> +           file://bin-htmltree-fix-shebang.patch \
> +"
>   SRC_URI[md5sum] = "d9271d60b872ed6fbe68b2d0fe8c450e"
>   SRC_URI[sha256sum] = "7d6d73fca622aa74855a8b088faa39454a0f91b7af83c9ec0387f01eefc2148f"
>   



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [meta-perl][PATCH] libhtml-tree-perl: fix shebang
  2015-11-07  8:21 ` [meta-perl][PATCH 2/2] libhtml-tree-perl: add version 5.03 Hongxu Jia
  2015-11-09  4:46   ` [meta-perl][PATCH] libhtml-tree-perl: fix shebang Hongxu Jia
@ 2015-11-09  4:48   ` Hongxu Jia
  1 sibling, 0 replies; 5+ messages in thread
From: Hongxu Jia @ 2015-11-09  4:48 UTC (permalink / raw)
  To: openembedded-devel

There is a build failure while installing libhtml-tree-perl to sdk:
...
|Computing transaction...error: Can't install nativesdk-libhtml-tree-
perl-5.03-r0.1@x86_64_nativesdk: no package provides tmp/sysroots/
x86_64-linux/usr/bin/perl-native/perl.real
...

The rpm detects the shebang of perl script, so we correct it.
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 .../libhtml/files/bin-htmltree-fix-shebang.patch   | 25 ++++++++++++++++++++++
 .../recipes-perl/libhtml/libhtml-tree-perl_5.03.bb |  4 +++-
 2 files changed, 28 insertions(+), 1 deletion(-)
 create mode 100644 meta-perl/recipes-perl/libhtml/files/bin-htmltree-fix-shebang.patch

diff --git a/meta-perl/recipes-perl/libhtml/files/bin-htmltree-fix-shebang.patch b/meta-perl/recipes-perl/libhtml/files/bin-htmltree-fix-shebang.patch
new file mode 100644
index 0000000..4266f05
--- /dev/null
+++ b/meta-perl/recipes-perl/libhtml/files/bin-htmltree-fix-shebang.patch
@@ -0,0 +1,25 @@
+From 28ee994780459c3552d3cbbd6b011d054a41c439 Mon Sep 17 00:00:00 2001
+From: Hongxu Jia <hongxu.jia@windriver.com>
+Date: Sun, 8 Nov 2015 23:33:31 -0500
+Subject: [PATCH] bin/htmltree: fix shebang
+
+Upstream-Status: Pending
+
+Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
+---
+ bin/htmltree | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/bin/htmltree b/bin/htmltree
+index 8bf3db2..f9927e5 100755
+--- a/bin/htmltree
++++ b/bin/htmltree
+@@ -1,4 +1,4 @@
+-#!/usr/bin/perl
++#!/usr/bin/env perl
+ # Time-stamp: "2000-10-02 14:48:15 MDT"
+ #
+ # Parse the given HTML file(s) and dump the parse tree
+-- 
+1.9.1
+
diff --git a/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.03.bb b/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.03.bb
index 0b457e3..8eb0e06 100644
--- a/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.03.bb
+++ b/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.03.bb
@@ -11,7 +11,9 @@ HOMEPAGE = "http://www.cpan.org/authors/id/C/CJ/CJM/HTML-Tree-${PV}.readme"
 LICENSE = "Artistic-1.0 | GPL-1.0+"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=3eb57a8958cae73cb65e7d0c26339242"
 
-SRC_URI = "${CPAN_MIRROR}/authors/id/C/CJ/CJM/HTML-Tree-${PV}.tar.gz"
+SRC_URI = "${CPAN_MIRROR}/authors/id/C/CJ/CJM/HTML-Tree-${PV}.tar.gz \
+           file://bin-htmltree-fix-shebang.patch \
+"
 SRC_URI[md5sum] = "d9271d60b872ed6fbe68b2d0fe8c450e"
 SRC_URI[sha256sum] = "7d6d73fca622aa74855a8b088faa39454a0f91b7af83c9ec0387f01eefc2148f"
 
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-11-09  4:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-07  8:21 [meta-perl][PATCH 1/2] libmodule-build-perl: add 0.31 Hongxu Jia
2015-11-07  8:21 ` [meta-perl][PATCH 2/2] libhtml-tree-perl: add version 5.03 Hongxu Jia
2015-11-09  4:46   ` [meta-perl][PATCH] libhtml-tree-perl: fix shebang Hongxu Jia
2015-11-09  4:48     ` Hongxu Jia
2015-11-09  4:48   ` Hongxu Jia

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.