All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 1/2] package/python-pyaes: new package
@ 2019-11-07 17:05 Bartosz Bilas
  2019-11-07 17:05 ` [Buildroot] [PATCH v2 2/2] package/python-esptool: " Bartosz Bilas
  2019-11-07 22:50 ` [Buildroot] [PATCH v2 1/2] package/python-pyaes: " Thomas Petazzoni
  0 siblings, 2 replies; 10+ messages in thread
From: Bartosz Bilas @ 2019-11-07 17:05 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
---
 DEVELOPERS                             |  1 +
 package/Config.in                      |  1 +
 package/python-pyaes/Config.in         |  7 +++++++
 package/python-pyaes/python-pyaes.hash |  5 +++++
 package/python-pyaes/python-pyaes.mk   | 14 ++++++++++++++
 5 files changed, 28 insertions(+)
 create mode 100644 package/python-pyaes/Config.in
 create mode 100644 package/python-pyaes/python-pyaes.hash
 create mode 100644 package/python-pyaes/python-pyaes.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index 33273ce6c8..e9f5345520 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -258,6 +258,7 @@ F:	package/orbit/
 N:	Bartosz Bilas <b.bilas@grinn-global.com>
 F:	package/qt5/qt5scxml/
 F:	package/qt5/qt5webview/
+F:	package/python-pyaes
 
 N:	Bartosz Golaszewski <brgl@bgdev.pl>
 F:	package/autoconf-archive/
diff --git a/package/Config.in b/package/Config.in
index f72c77b416..8b554e46d8 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1006,6 +1006,7 @@ menu "External python modules"
 	source "package/python-ptyprocess/Config.in"
 	source "package/python-pudb/Config.in"
 	source "package/python-py/Config.in"
+	source "package/python-pyaes/Config.in"
 	source "package/python-pyasn/Config.in"
 	source "package/python-pyasn-modules/Config.in"
 	source "package/python-pyasn1/Config.in"
diff --git a/package/python-pyaes/Config.in b/package/python-pyaes/Config.in
new file mode 100644
index 0000000000..629fd82801
--- /dev/null
+++ b/package/python-pyaes/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_PYAES
+	bool "python-pyaes"
+	help
+	  Pure-Python Implementation of the AES block-cipher and
+	  common modes of operation.
+
+	  https://github.com/ricmoo/pyaes
diff --git a/package/python-pyaes/python-pyaes.hash b/package/python-pyaes/python-pyaes.hash
new file mode 100644
index 0000000000..25a15f1e19
--- /dev/null
+++ b/package/python-pyaes/python-pyaes.hash
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/pyaes/json
+md5	20fd5c6e29dcfdd08098e85a859a54ec  pyaes-1.6.1.tar.gz
+sha256	02c1b1405c38d3c370b085fb952dd8bea3fadcee6411ad99f312cc129c536d8f  pyaes-1.6.1.tar.gz
+# Locally computed sha256 checksums
+sha256	1efe6c78b28b4203d397ea9b68bdc9c658d21cd9afaf8ae8223def83f2a7ebbd  LICENSE.txt
diff --git a/package/python-pyaes/python-pyaes.mk b/package/python-pyaes/python-pyaes.mk
new file mode 100644
index 0000000000..a738d3c76a
--- /dev/null
+++ b/package/python-pyaes/python-pyaes.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-pyaes
+#
+################################################################################
+
+PYTHON_PYAES_VERSION = 1.6.1
+PYTHON_PYAES_SOURCE = pyaes-$(PYTHON_PYAES_VERSION).tar.gz
+PYTHON_PYAES_SITE = https://files.pythonhosted.org/packages/44/66/2c17bae31c906613795711fc78045c285048168919ace2220daa372c7d72
+PYTHON_PYAES_SETUP_TYPE = distutils
+PYTHON_PYAES_LICENSE = MIT
+PYTHON_PYAES_LICENSE_FILES = LICENSE.txt
+
+$(eval $(python-package))
-- 
2.24.0

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

* [Buildroot] [PATCH v2 2/2] package/python-esptool: new package
  2019-11-07 17:05 [Buildroot] [PATCH v2 1/2] package/python-pyaes: new package Bartosz Bilas
@ 2019-11-07 17:05 ` Bartosz Bilas
  2019-11-07 22:50   ` Thomas Petazzoni
  2019-11-07 22:50 ` [Buildroot] [PATCH v2 1/2] package/python-pyaes: " Thomas Petazzoni
  1 sibling, 1 reply; 10+ messages in thread
From: Bartosz Bilas @ 2019-11-07 17:05 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
---
Changes v1 -> v2:
  - Use existing python-serial package 
    instead of creating a new python-pyserial.

 DEVELOPERS                                 |  1 +
 package/Config.in                          |  1 +
 package/python-esptool/Config.in           | 10 ++++++++++
 package/python-esptool/python-esptool.hash |  5 +++++
 package/python-esptool/python-esptool.mk   | 14 ++++++++++++++
 5 files changed, 31 insertions(+)
 create mode 100644 package/python-esptool/Config.in
 create mode 100644 package/python-esptool/python-esptool.hash
 create mode 100644 package/python-esptool/python-esptool.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index e9f5345520..49440930fc 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -259,6 +259,7 @@ N:	Bartosz Bilas <b.bilas@grinn-global.com>
 F:	package/qt5/qt5scxml/
 F:	package/qt5/qt5webview/
 F:	package/python-pyaes
+F:	package/python-esptool
 
 N:	Bartosz Golaszewski <brgl@bgdev.pl>
 F:	package/autoconf-archive/
diff --git a/package/Config.in b/package/Config.in
index 8b554e46d8..a9742ba953 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -902,6 +902,7 @@ menu "External python modules"
 	source "package/python-engineio/Config.in"
 	source "package/python-enum/Config.in"
 	source "package/python-enum34/Config.in"
+	source "package/python-esptool/Config.in"
 	source "package/python-falcon/Config.in"
 	source "package/python-fire/Config.in"
 	source "package/python-flask/Config.in"
diff --git a/package/python-esptool/Config.in b/package/python-esptool/Config.in
new file mode 100644
index 0000000000..10066797a7
--- /dev/null
+++ b/package/python-esptool/Config.in
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_PYTHON_ESPTOOL
+	bool "python-esptool"
+	select BR2_PACKAGE_PYTHON_SERIAL # runtime
+	select BR2_PACKAGE_PYTHON_PYAES # runtime
+	select BR2_PACKAGE_PYTHON_ECDSA # runtime
+	help
+	  A serial utility to communicate & flash code to Espressif
+	  ESP8266 & ESP32 chips.
+
+	  https://github.com/espressif/esptool
diff --git a/package/python-esptool/python-esptool.hash b/package/python-esptool/python-esptool.hash
new file mode 100644
index 0000000000..b4dac7ed51
--- /dev/null
+++ b/package/python-esptool/python-esptool.hash
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/esptool/json
+md5	d17b9293910773045b9de0d5caa0597d  esptool-2.8.tar.gz
+sha256	1e4288d9f00e55ba36809cc79c493643c623bfa036d7b019a0ebe396284bc317  esptool-2.8.tar.gz
+# Locally computed sha256 checksums
+sha256	8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  LICENSE
diff --git a/package/python-esptool/python-esptool.mk b/package/python-esptool/python-esptool.mk
new file mode 100644
index 0000000000..a2bd335ac4
--- /dev/null
+++ b/package/python-esptool/python-esptool.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-esptool
+#
+################################################################################
+
+PYTHON_ESPTOOL_VERSION = 2.8
+PYTHON_ESPTOOL_SOURCE = esptool-$(PYTHON_ESPTOOL_VERSION).tar.gz
+PYTHON_ESPTOOL_SITE = https://files.pythonhosted.org/packages/68/91/08c182f66fa3f12a96e754ae8ec7762abb2d778429834638f5746f81977a
+PYTHON_ESPTOOL_SETUP_TYPE = setuptools
+PYTHON_ESPTOOL_LICENSE = GNU General Public License v2 or later (GPLv2+)
+PYTHON_ESPTOOL_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))
-- 
2.24.0

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

* [Buildroot] [PATCH v2 2/2] package/python-esptool: new package
  2019-11-07 17:05 ` [Buildroot] [PATCH v2 2/2] package/python-esptool: " Bartosz Bilas
@ 2019-11-07 22:50   ` Thomas Petazzoni
  2019-11-08  8:45     ` Bartosz Bilas
  0 siblings, 1 reply; 10+ messages in thread
From: Thomas Petazzoni @ 2019-11-07 22:50 UTC (permalink / raw)
  To: buildroot

Hello Bartosz,

On Thu,  7 Nov 2019 18:05:04 +0100
Bartosz Bilas <b.bilas@grinn-global.com> wrote:

> diff --git a/DEVELOPERS b/DEVELOPERS
> index e9f5345520..49440930fc 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -259,6 +259,7 @@ N:	Bartosz Bilas <b.bilas@grinn-global.com>
>  F:	package/qt5/qt5scxml/
>  F:	package/qt5/qt5webview/
>  F:	package/python-pyaes
> +F:	package/python-esptool

Alphabetic ordering + final /.


> diff --git a/package/python-esptool/Config.in b/package/python-esptool/Config.in
> new file mode 100644
> index 0000000000..10066797a7
> --- /dev/null
> +++ b/package/python-esptool/Config.in
> @@ -0,0 +1,10 @@
> +config BR2_PACKAGE_PYTHON_ESPTOOL
> +	bool "python-esptool"
> +	select BR2_PACKAGE_PYTHON_SERIAL # runtime
> +	select BR2_PACKAGE_PYTHON_PYAES # runtime
> +	select BR2_PACKAGE_PYTHON_ECDSA # runtime

Alphabetic ordering.

> +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+

Applied to next with those different issues fixed. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

* [Buildroot] [PATCH v2 1/2] package/python-pyaes: new package
  2019-11-07 17:05 [Buildroot] [PATCH v2 1/2] package/python-pyaes: new package Bartosz Bilas
  2019-11-07 17:05 ` [Buildroot] [PATCH v2 2/2] package/python-esptool: " Bartosz Bilas
@ 2019-11-07 22:50 ` Thomas Petazzoni
  1 sibling, 0 replies; 10+ messages in thread
From: Thomas Petazzoni @ 2019-11-07 22:50 UTC (permalink / raw)
  To: buildroot

Hello Bartosz,

On Thu,  7 Nov 2019 18:05:03 +0100
Bartosz Bilas <b.bilas@grinn-global.com> wrote:

> diff --git a/DEVELOPERS b/DEVELOPERS
> index 33273ce6c8..e9f5345520 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -258,6 +258,7 @@ F:	package/orbit/
>  N:	Bartosz Bilas <b.bilas@grinn-global.com>
>  F:	package/qt5/qt5scxml/
>  F:	package/qt5/qt5webview/
> +F:	package/python-pyaes

Alphabetic ordering + needs a final /, to be like other entries.

Applied to next after fixing this minor issue. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

* [Buildroot] [PATCH v2 2/2] package/python-esptool: new package
  2019-11-07 22:50   ` Thomas Petazzoni
@ 2019-11-08  8:45     ` Bartosz Bilas
  2019-11-08  8:49       ` Thomas Petazzoni
  0 siblings, 1 reply; 10+ messages in thread
From: Bartosz Bilas @ 2019-11-08  8:45 UTC (permalink / raw)
  To: buildroot

Hello Thomas,

On 07.11.2019 23:50, Thomas Petazzoni wrote:
> Hello Bartosz,
>
> On Thu,  7 Nov 2019 18:05:04 +0100
> Bartosz Bilas <b.bilas@grinn-global.com> wrote:
>
>> diff --git a/DEVELOPERS b/DEVELOPERS
>> index e9f5345520..49440930fc 100644
>> --- a/DEVELOPERS
>> +++ b/DEVELOPERS
>> @@ -259,6 +259,7 @@ N:	Bartosz Bilas <b.bilas@grinn-global.com>
>>   F:	package/qt5/qt5scxml/
>>   F:	package/qt5/qt5webview/
>>   F:	package/python-pyaes
>> +F:	package/python-esptool
> Alphabetic ordering + final /.
>
>
>> diff --git a/package/python-esptool/Config.in b/package/python-esptool/Config.in
>> new file mode 100644
>> index 0000000000..10066797a7
>> --- /dev/null
>> +++ b/package/python-esptool/Config.in
>> @@ -0,0 +1,10 @@
>> +config BR2_PACKAGE_PYTHON_ESPTOOL
>> +	bool "python-esptool"
>> +	select BR2_PACKAGE_PYTHON_SERIAL # runtime
>> +	select BR2_PACKAGE_PYTHON_PYAES # runtime
>> +	select BR2_PACKAGE_PYTHON_ECDSA # runtime
> Alphabetic ordering.
This and
>
>> +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?

Best
Bartek
>
> Applied to next with those different issues fixed. Thanks!
>
> Thomas

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

* [Buildroot] [PATCH v2 2/2] package/python-esptool: new package
  2019-11-08  8:45     ` Bartosz Bilas
@ 2019-11-08  8:49       ` Thomas Petazzoni
  2019-11-08  9:01         ` Yegor Yefremov
  2019-11-08  9:06         ` Bartosz Bilas
  0 siblings, 2 replies; 10+ messages in thread
From: Thomas Petazzoni @ 2019-11-08  8:49 UTC (permalink / raw)
  To: buildroot

Hello,

+Yegor in Cc.

On Fri, 8 Nov 2019 09:45:50 +0100
Bartosz Bilas <b.bilas@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.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

* [Buildroot] [PATCH v2 2/2] package/python-esptool: new package
  2019-11-08  8:49       ` Thomas Petazzoni
@ 2019-11-08  9:01         ` Yegor Yefremov
  2019-11-08  9:06         ` Bartosz Bilas
  1 sibling, 0 replies; 10+ messages in thread
From: Yegor Yefremov @ 2019-11-08  9:01 UTC (permalink / raw)
  To: buildroot

Moin moin!

On Fri, Nov 8, 2019 at 9:49 AM Thomas Petazzoni
<thomas.petazzoni@bootlin.com> wrote:
>
> Hello,
>
> +Yegor in Cc.
>
> On Fri, 8 Nov 2019 09:45:50 +0100
> Bartosz Bilas <b.bilas@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

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

* [Buildroot] [PATCH v2 2/2] package/python-esptool: new package
  2019-11-08  8:49       ` Thomas Petazzoni
  2019-11-08  9:01         ` Yegor Yefremov
@ 2019-11-08  9:06         ` Bartosz Bilas
  2019-11-08  9:17           ` Bartosz Bilas
  2019-11-08  9:21           ` Thomas Petazzoni
  1 sibling, 2 replies; 10+ messages in thread
From: Bartosz Bilas @ 2019-11-08  9:06 UTC (permalink / raw)
  To: buildroot

Hello guys,

On 08.11.2019 09:49, Thomas Petazzoni wrote:
> Hello,
>
> +Yegor in Cc.
>
> On Fri, 8 Nov 2019 09:45:50 +0100
> Bartosz Bilas <b.bilas@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.

I assume that's the same for that comment bellow:

 > +config BR2_PACKAGE_PYTHON_ESPTOOL
 > +??? bool "python-esptool"
 > +??? select BR2_PACKAGE_PYTHON_SERIAL # runtime
 > +??? select BR2_PACKAGE_PYTHON_PYAES # runtime
 > +??? select BR2_PACKAGE_PYTHON_ECDSA # runtime

Alphabetic ordering.

but I think it wouldn't be difficult to handle it in the script.

Best
Bartek
>
> Best regards,
>
> Thomas

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

* [Buildroot] [PATCH v2 2/2] package/python-esptool: new package
  2019-11-08  9:06         ` Bartosz Bilas
@ 2019-11-08  9:17           ` Bartosz Bilas
  2019-11-08  9:21           ` Thomas Petazzoni
  1 sibling, 0 replies; 10+ messages in thread
From: Bartosz Bilas @ 2019-11-08  9:17 UTC (permalink / raw)
  To: buildroot

Hello,

I've forgotten about Yegor in Cc.

Best
Bartek
On 08.11.2019 10:06, Bartosz Bilas wrote:
> Hello guys,
>
> On 08.11.2019 09:49, Thomas Petazzoni wrote:
>> Hello,
>>
>> +Yegor in Cc.
>>
>> On Fri, 8 Nov 2019 09:45:50 +0100
>> Bartosz Bilas <b.bilas@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.
>
> I assume that's the same for that comment bellow:
>
> > +config BR2_PACKAGE_PYTHON_ESPTOOL
> > +??? bool "python-esptool"
> > +??? select BR2_PACKAGE_PYTHON_SERIAL # runtime
> > +??? select BR2_PACKAGE_PYTHON_PYAES # runtime
> > +??? select BR2_PACKAGE_PYTHON_ECDSA # runtime
>
> Alphabetic ordering.
>
> but I think it wouldn't be difficult to handle it in the script.
>
> Best
> Bartek
>>
>> Best regards,
>>
>> Thomas
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

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

* [Buildroot] [PATCH v2 2/2] package/python-esptool: new package
  2019-11-08  9:06         ` Bartosz Bilas
  2019-11-08  9:17           ` Bartosz Bilas
@ 2019-11-08  9:21           ` Thomas Petazzoni
  1 sibling, 0 replies; 10+ messages in thread
From: Thomas Petazzoni @ 2019-11-08  9:21 UTC (permalink / raw)
  To: buildroot

On Fri, 8 Nov 2019 10:06:31 +0100
Bartosz Bilas <b.bilas@grinn-global.com> wrote:


> I assume that's the same for that comment bellow:
> 
>  > +config BR2_PACKAGE_PYTHON_ESPTOOL
>  > +??? bool "python-esptool"
>  > +??? select BR2_PACKAGE_PYTHON_SERIAL # runtime
>  > +??? select BR2_PACKAGE_PYTHON_PYAES # runtime
>  > +??? select BR2_PACKAGE_PYTHON_ECDSA # runtime  
> 
> Alphabetic ordering.
> 
> but I think it wouldn't be difficult to handle it in the script.

Indeed, the alphabetic ordering here could I suppose be easily handled
by the script.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

end of thread, other threads:[~2019-11-08  9:21 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-07 17:05 [Buildroot] [PATCH v2 1/2] package/python-pyaes: new package Bartosz Bilas
2019-11-07 17:05 ` [Buildroot] [PATCH v2 2/2] package/python-esptool: " Bartosz Bilas
2019-11-07 22:50   ` Thomas Petazzoni
2019-11-08  8:45     ` Bartosz Bilas
2019-11-08  8:49       ` Thomas Petazzoni
2019-11-08  9:01         ` Yegor Yefremov
2019-11-08  9:06         ` Bartosz Bilas
2019-11-08  9:17           ` Bartosz Bilas
2019-11-08  9:21           ` Thomas Petazzoni
2019-11-07 22:50 ` [Buildroot] [PATCH v2 1/2] package/python-pyaes: " Thomas Petazzoni

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.