All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-perl] libwww-perl_5.834: added
@ 2013-09-03 15:33 Emil Petersen
  2013-09-03 15:44 ` Olof Johansson
  2013-10-16  5:46 ` Hongxu Jia
  0 siblings, 2 replies; 6+ messages in thread
From: Emil Petersen @ 2013-09-03 15:33 UTC (permalink / raw)
  To: openembedded-devel

libwww which provides most of LWP::* added

Signed-off-by: Emil Petersen <erp@movis.dk>
---
 .../recipes-perl/libwww-perl/libwww-perl_5.834.bb  | 68 ++++++++++++++++++++++
 1 file changed, 68 insertions(+)
 create mode 100644 meta-perl/recipes-perl/libwww-perl/libwww-perl_5.834.bb

diff --git a/meta-perl/recipes-perl/libwww-perl/libwww-perl_5.834.bb b/meta-perl/recipes-perl/libwww-perl/libwww-perl_5.834.bb
new file mode 100644
index 0000000..f1a77d5
--- /dev/null
+++ b/meta-perl/recipes-perl/libwww-perl/libwww-perl_5.834.bb
@@ -0,0 +1,68 @@
+SUMMARY = "libwww-perl provides a simple and consistent API to the World Wide Web"
+AUTHOR = "Gisle Aas <gisle@activestate.com>"
+HOMEPAGE = "https://metacpan.org/release/libwww-perl"
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+LIC_FILES_CHKSUM = "file://README;md5=b7d978c7767cb9fb392f80103af8ca0a"
+
+RDEPENDS_${PN} += "libdigest-md5-perl \
+                   libencode-perl \
+                   libencode-locale-perl \
+                   libfile-listing-perl \
+                   libhtml-entities-perl \
+                   libhtml-headparser-perl \
+                   libhttp-date-perl \
+                   libhttp-cookies-perl \
+                   libhttp-daemon-perl \
+                   libhttp-negotiate-perl \
+                   libhttp-request-perl \
+                   libhttp-request-common-perl \
+                   libhttp-response-perl \
+                   libhttp-status-perl \
+                   libio-select-perl \
+                   libio-socket-perl \
+                   liblwp-mediatypes-perl \
+                   libmime-base64-perl \
+                   libnet-ftp-perl \
+                   libnet-http-perl \
+                   liburi-perl \
+                   liburi-escape-perl \
+                   libwww-robotrules-perl \
+                   "
+
+RPROVIDES_${PN} += "liblwp-perl \
+                    liblwp-authen-ntlm-perl \
+                    liblwp-conncache-perl \
+                    liblwp-debug-perl \
+                    liblwp-membermixin-perl \
+                    liblwp-protocol-perl \
+                    liblwp-robotua-perl \
+                    liblwp-simple-perl \
+                    liblwp-useragent-perl \
+                    liblwp-authen-basic-perl \
+                    liblwp-authen-digest-perl \
+                    liblwp-protocol-cpan-perl \
+                    liblwp-protocol-data-perl \
+                    liblwp-protocol-file-perl \
+                    liblwp-protocol-ftp-perl \                    
+                    liblwp-protocol-ghttp-perl \                    
+                    liblwp-protocol-gopher-perl \
+                    liblwp-protocol-http-perl \                    
+                    liblwp-protocol-http-socket-perl \                    
+                    liblwp-protocol-http-socketmethods-perl \                    
+                    liblwp-protocol-loopback-perl \
+                    liblwp-protocol-mailto-perl \
+                    liblwp-protocol-myftp-perl \
+                    liblwp-protocol-nntp-perl \
+                    liblwp-protocol-nogo-perl \
+                    "
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/libwww-perl-${PV}.tar.gz;name=libwww-perl-${PV}"
+SRC_URI[libwww-perl-5.834.md5sum] = "f2ed8a461f76556c9caed9087f47c86c"
+SRC_URI[libwww-perl-5.834.sha256sum] = "1a50eb91d1deeca3be10982e129e786809ad6f0f8049b156e91e889e5a7288ff"
+
+S = "${WORKDIR}/libwww-perl-${PV}"
+
+inherit cpan
+
+BBCLASSEXTEND = "native"
-- 
1.8.4.rc3



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

* Re: [meta-perl] libwww-perl_5.834: added
  2013-09-03 15:33 [meta-perl] libwww-perl_5.834: added Emil Petersen
@ 2013-09-03 15:44 ` Olof Johansson
  2013-09-03 15:48   ` Emil R. Petersen
  2013-10-16  5:46 ` Hongxu Jia
  1 sibling, 1 reply; 6+ messages in thread
From: Olof Johansson @ 2013-09-03 15:44 UTC (permalink / raw)
  To: openembedded-devel@lists.openembedded.org

On 13-09-03 17:33 +0200, Emil Petersen wrote:
> +RDEPENDS_${PN} += "libdigest-md5-perl \
> +                   libencode-perl \
> +                   libio-select-perl \
> +                   libio-socket-perl \
> +                   libmime-base64-perl \
> +                   libnet-ftp-perl \
> +                   "

I notice that some of these modules are core modules
(specifically the ones left in the quote), and I guess it would
be better to depend on the perl-modules package instead (the
package containing all core modules)? Otherwise this may require
a great deal of maintenance when upgrading to newer releases.

-- 
olofjn


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

* Re: [meta-perl] libwww-perl_5.834: added
  2013-09-03 15:44 ` Olof Johansson
@ 2013-09-03 15:48   ` Emil R. Petersen
  2013-09-03 15:54     ` Olof Johansson
  0 siblings, 1 reply; 6+ messages in thread
From: Emil R. Petersen @ 2013-09-03 15:48 UTC (permalink / raw)
  To: openembedded-devel

Oh? Well I wouldn't have added them if I thought they were core modules.

MIME::Base64 has it's own CPAN entry: 
https://metacpan.org/release/MIME-Base64

And does not appear, immediately, to be part of the core distribution?

Or am I missing something?

On 03/09/13 17:44, Olof Johansson wrote:
> On 13-09-03 17:33 +0200, Emil Petersen wrote:
>> +RDEPENDS_${PN} += "libdigest-md5-perl \
>> +                   libencode-perl \
>> +                   libio-select-perl \
>> +                   libio-socket-perl \
>> +                   libmime-base64-perl \
>> +                   libnet-ftp-perl \
>> +                   "
> I notice that some of these modules are core modules
> (specifically the ones left in the quote), and I guess it would
> be better to depend on the perl-modules package instead (the
> package containing all core modules)? Otherwise this may require
> a great deal of maintenance when upgrading to newer releases.
>


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

* Re: [meta-perl] libwww-perl_5.834: added
  2013-09-03 15:48   ` Emil R. Petersen
@ 2013-09-03 15:54     ` Olof Johansson
  2013-09-03 15:56       ` Emil R. Petersen
  0 siblings, 1 reply; 6+ messages in thread
From: Olof Johansson @ 2013-09-03 15:54 UTC (permalink / raw)
  To: openembedded-devel@lists.openembedded.org

On 13-09-03 17:48 +0200, Emil R. Petersen wrote:
> Oh? Well I wouldn't have added them if I thought they were core modules.
> 
> MIME::Base64 has it's own CPAN entry: 
> https://metacpan.org/release/MIME-Base64

Many of the core modules have a dual life, both in core and on
CPAN.

> And does not appear, immediately, to be part of the core distribution?

There's a command called "corelist" that is really useful to
determine if a module is core or not. Not only does it say if its
core or not, but also what perl version introduced it as a core
module.

$ corelist MIME::Base64

MIME::Base64 was first released with perl v5.7.3


Regards,
-- 
olofjn


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

* Re: [meta-perl] libwww-perl_5.834: added
  2013-09-03 15:54     ` Olof Johansson
@ 2013-09-03 15:56       ` Emil R. Petersen
  0 siblings, 0 replies; 6+ messages in thread
From: Emil R. Petersen @ 2013-09-03 15:56 UTC (permalink / raw)
  To: openembedded-devel

Hmm alright, I will do this from now. And my other patch was send in 
before your reply reached me.

On 03/09/13 17:54, Olof Johansson wrote:
> On 13-09-03 17:48 +0200, Emil R. Petersen wrote:
>> Oh? Well I wouldn't have added them if I thought they were core modules.
>>
>> MIME::Base64 has it's own CPAN entry:
>> https://metacpan.org/release/MIME-Base64
> Many of the core modules have a dual life, both in core and on
> CPAN.
>
>> And does not appear, immediately, to be part of the core distribution?
> There's a command called "corelist" that is really useful to
> determine if a module is core or not. Not only does it say if its
> core or not, but also what perl version introduced it as a core
> module.
>
> $ corelist MIME::Base64
>
> MIME::Base64 was first released with perl v5.7.3
>
>
> Regards,


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

* Re: [meta-perl] libwww-perl_5.834: added
  2013-09-03 15:33 [meta-perl] libwww-perl_5.834: added Emil Petersen
  2013-09-03 15:44 ` Olof Johansson
@ 2013-10-16  5:46 ` Hongxu Jia
  1 sibling, 0 replies; 6+ messages in thread
From: Hongxu Jia @ 2013-10-16  5:46 UTC (permalink / raw)
  To: Emil Petersen; +Cc: openembedded-devel

On 09/03/2013 11:33 PM, Emil Petersen wrote:
> libwww which provides most of LWP::* added
>
> Signed-off-by: Emil Petersen <erp@movis.dk>
> ---
>   .../recipes-perl/libwww-perl/libwww-perl_5.834.bb  | 68 ++++++++++++++++++++++
>   1 file changed, 68 insertions(+)
>   create mode 100644 meta-perl/recipes-perl/libwww-perl/libwww-perl_5.834.bb
>
> diff --git a/meta-perl/recipes-perl/libwww-perl/libwww-perl_5.834.bb b/meta-perl/recipes-perl/libwww-perl/libwww-perl_5.834.bb
> new file mode 100644
> index 0000000..f1a77d5
> --- /dev/null
> +++ b/meta-perl/recipes-perl/libwww-perl/libwww-perl_5.834.bb
> @@ -0,0 +1,68 @@
> +SUMMARY = "libwww-perl provides a simple and consistent API to the World Wide Web"
> +AUTHOR = "Gisle Aas <gisle@activestate.com>"
> +HOMEPAGE = "https://metacpan.org/release/libwww-perl"
> +SECTION = "libs"
> +LICENSE = "Artistic-1.0 | GPL-1.0+"
> +LIC_FILES_CHKSUM = "file://README;md5=b7d978c7767cb9fb392f80103af8ca0a"
> +
> +RDEPENDS_${PN} += "libdigest-md5-perl \
> +                   libencode-perl \
> +                   libencode-locale-perl \
> +                   libfile-listing-perl \
> +                   libhtml-entities-perl \
> +                   libhtml-headparser-perl \
> +                   libhttp-date-perl \
> +                   libhttp-cookies-perl \
> +                   libhttp-daemon-perl \
> +                   libhttp-negotiate-perl \
> +                   libhttp-request-perl \
> +                   libhttp-request-common-perl \
> +                   libhttp-response-perl \
> +                   libhttp-status-perl \

Which recipe provides the 'libhttp-*' ?

> +                   libio-select-perl \

s/libio-select-perl/perl-module-io-select/

> +                   libio-socket-perl \

s/libio-socket-perl/perl-module-io-socket/

> +                   liblwp-mediatypes-perl \

Which recipe provides the liblwp-mediatypes-perl?

> +                   libmime-base64-perl \

s/libmime-base64-perl/perl-module-mime-base64/

> +                   libnet-ftp-perl \

s/libnet-ftp-perl/perl-module-net-ftp/

> +                   libnet-http-perl \

Which recipe provides the libnet-http-perl?

> +                   liburi-perl \

Which recipe provides the liburi-perl?

> +                   liburi-escape-perl \

Which recipe provides the liburi-escape-perl?

> +                   libwww-robotrules-perl \

Which recipe provides the libwww-robotrules-perl?

//Hongxu

> +                   "
> +
> +RPROVIDES_${PN} += "liblwp-perl \
> +                    liblwp-authen-ntlm-perl \
> +                    liblwp-conncache-perl \
> +                    liblwp-debug-perl \
> +                    liblwp-membermixin-perl \
> +                    liblwp-protocol-perl \
> +                    liblwp-robotua-perl \
> +                    liblwp-simple-perl \
> +                    liblwp-useragent-perl \
> +                    liblwp-authen-basic-perl \
> +                    liblwp-authen-digest-perl \
> +                    liblwp-protocol-cpan-perl \
> +                    liblwp-protocol-data-perl \
> +                    liblwp-protocol-file-perl \
> +                    liblwp-protocol-ftp-perl \
> +                    liblwp-protocol-ghttp-perl \
> +                    liblwp-protocol-gopher-perl \
> +                    liblwp-protocol-http-perl \
> +                    liblwp-protocol-http-socket-perl \
> +                    liblwp-protocol-http-socketmethods-perl \
> +                    liblwp-protocol-loopback-perl \
> +                    liblwp-protocol-mailto-perl \
> +                    liblwp-protocol-myftp-perl \
> +                    liblwp-protocol-nntp-perl \
> +                    liblwp-protocol-nogo-perl \
> +                    "
> +
> +SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/libwww-perl-${PV}.tar.gz;name=libwww-perl-${PV}"
> +SRC_URI[libwww-perl-5.834.md5sum] = "f2ed8a461f76556c9caed9087f47c86c"
> +SRC_URI[libwww-perl-5.834.sha256sum] = "1a50eb91d1deeca3be10982e129e786809ad6f0f8049b156e91e889e5a7288ff"
> +
> +S = "${WORKDIR}/libwww-perl-${PV}"
> +
> +inherit cpan
> +
> +BBCLASSEXTEND = "native"



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

end of thread, other threads:[~2013-10-16  5:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-03 15:33 [meta-perl] libwww-perl_5.834: added Emil Petersen
2013-09-03 15:44 ` Olof Johansson
2013-09-03 15:48   ` Emil R. Petersen
2013-09-03 15:54     ` Olof Johansson
2013-09-03 15:56       ` Emil R. Petersen
2013-10-16  5:46 ` 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.