[Buildroot] [PATCH 16/20] perl-http-entity-parser: new package

François Perrad francois.perrad at gadz.org
Mon Oct 8 19:35:31 UTC 2018


Le lun. 8 oct. 2018 à 16:39, Thomas Petazzoni <thomas.petazzoni at bootlin.com>
a écrit :

> Hello,
>
> On Sat,  6 Oct 2018 18:55:20 +0200, Francois Perrad wrote:
>
> > diff --git a/package/perl-http-entity-parser/perl-http-entity-parser.mk
> b/package/perl-http-entity-parser/perl-http-entity-parser.mk
> > new file mode 100644
> > index 000000000..1cba1eb8e
> > --- /dev/null
> > +++ b/package/perl-http-entity-parser/perl-http-entity-parser.mk
> > @@ -0,0 +1,14 @@
> >
> +################################################################################
> > +#
> > +# perl-http-entity-parser
> > +#
> >
> +################################################################################
> > +
> > +PERL_HTTP_ENTITY_PARSER_VERSION = 0.21
> > +PERL_HTTP_ENTITY_PARSER_SOURCE =
> HTTP-Entity-Parser-$(PERL_HTTP_ENTITY_PARSER_VERSION).tar.gz
> > +PERL_HTTP_ENTITY_PARSER_SITE =
> $(BR2_CPAN_MIRROR)/authors/id/K/KA/KAZEBURO
> > +PERL_HTTP_ENTITY_PARSER_DEPENDENCIES = host-perl-module-build-tiny
> perl-http-multipartparser perl-hash-multivalue perl-json-maybexs
> perl-stream-buffered perl-www-form-urlencoded
>
> This line should be split with backslashes. Perhaps scancpan could be
> improved to do that automatically ?
>
>
Good idea, I'll do this easy improvement.

Also, I'm interested in understanding why all those packages need to be
> build time dependencies. Is Perl checking at build time that those
> modules are available ?
>
>
Currently, scancpan uses the same list of dependency for Config.in and
perl-foo.mk.
So, yes, many dependencies are just run time dependency.
Real build time dependencies are :
  - host(-perl-foo) dependencies
  - native libraries dependencies which cannot be handled by scancpan

A fix for that requires rethinking of the logic of scancpan and serious
testing.

François

Anyway, I've wrapped the too long line of dependencies, and applied.
> Thanks!
>
> Thomas
> --
> Thomas Petazzoni, CTO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20181008/0c69cb69/attachment-0002.html>


More information about the buildroot mailing list