[Buildroot] [PATCH v2 2/2] package/python-esptool: new package

Yegor Yefremov yegorslists at googlemail.com
Fri Nov 8 09:01:45 UTC 2019


Moin moin!

On Fri, Nov 8, 2019 at 9:49 AM Thomas Petazzoni
<thomas.petazzoni at bootlin.com> wrote:
>
> Hello,
>
> +Yegor in Cc.
>
> On Fri, 8 Nov 2019 09:45:50 +0100
> Bartosz Bilas <b.bilas at grinn-global.com> wrote:
>
> > >> +PYTHON_ESPTOOL_LICENSE = GNU General Public License v2 or later (GPLv2+)
> > > The proper way to describe this is just:
> > >
> > > PYTHON_ESPTOOL_LICENSE = GPL-2.0+
> >
> > this was created using scanpypi script so do you think we should fix
> > that script or adjust that manually as you did?
>
> scanpipy already has a conversion table between Pipy-provided license
> strings and Buildroot license tags:
>
>                 'Apache Software License': 'Apache-2.0',
>                 'BSD License': 'FIXME: please specify the exact BSD version',
>                 'European Union Public Licence 1.0': 'EUPL-1.0',
>                 'European Union Public Licence 1.1': 'EUPL-1.1',
>                 "GNU General Public License": "GPL",
>                 "GNU General Public License v2": "GPL-2.0",
>                 "GNU General Public License v2 or later": "GPL-2.0+",
>                 "GNU General Public License v3": "GPL-3.0",
>                 "GNU General Public License v3 or later": "GPL-3.0+",
>                 "GNU Lesser General Public License v2": "LGPL-2.1",
>                 "GNU Lesser General Public License v2 or later": "LGPL-2.1+",
>                 "GNU Lesser General Public License v3": "LGPL-3.0",
>                 "GNU Lesser General Public License v3 or later": "LGPL-3.0+",
>                 "GNU Library or Lesser General Public License": "LGPL-2.0",
>                 "ISC License": "ISC",
>                 "MIT License": "MIT",
>                 "Mozilla Public License 1.0": "MPL-1.0",
>                 "Mozilla Public License 1.1": "MPL-1.1",
>                 "Mozilla Public License 2.0": "MPL-2.0",
>                 "Zope Public License": "ZPL"
>
> Obviously, the value "GNU General Public License v2 or later (GPLv2+)"
> that was used by this package didn't match any entry in this table.
> Since "GNU General Public License v2 or later (GPLv2+)" is apparently
> rarely used, I don't think it's worth adding an entry to the table: for
> such cases, we simply have to do a manual fixup. In any case,
> ./utils/scanpipy does not guarantee that it provides a fully working
> and correct Buildroot package: it extracts most information from Pipy,
> but a careful review, and possibly some changes may be necessary.

And one more thing. This table won't be used if you have installed the
spdx package. But even this is not 100% correct as the license text
doesn't determine whether it is GPL-2.0 or PGL-2.0+. It is stated in
the source code.

The best thing would be if all projects would adhere to REUSE layout
and SPDX identifiers [1].

[1] https://reuse.software/spec/

Best regards,
Yegor



More information about the buildroot mailing list