Skip to contentSkip to conversation

package/micropython: Update LICENSE info

PATCH Applied Chris Packham 3 participants 4 messages Sep 22, 2021 – Oct 6, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 package/micropython: Update LICENSE info

The various micropython ports may include code licensed under different licenses compared to the core micropython. List these in MICROPYTHON_LICENSE.

---
 package/micropython/micropython.mk | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
package/micropython/micropython.mk +4 -1
index fa28da9be3..7a752efd69 100644
@@ -6,7 +6,10 @@
 
 MICROPYTHON_VERSION = 1.14
 MICROPYTHON_SITE = $(call github,micropython,micropython,v$(MICROPYTHON_VERSION))
-MICROPYTHON_LICENSE = MIT
+MICROPYTHON_LICENSE = MIT, Apache-2.0, BSD-1-clause, BSD-3-clause, BSD-4-clause, \
+		      GPL-2.0 with FreeRTOS exception, GPL-2.0+, GPL-2.0, LGPL-3.0-only, \
+		      MCD-ST Liberty SW License Agreement V2, MIT + BSD-3-clause, OFL-1.1, \
+		      PJRC.COM, Zlib
 MICROPYTHON_LICENSE_FILES = LICENSE
 MICROPYTHON_DEPENDENCIES = host-pkgconf libffi $(BR2_PYTHON3_HOST_DEPENDENCY)
 
Signature · 6 lines
2.33.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH 2/2 package/micropython: Bump version to 1.17

Update to micropython-1.17. The LICENSE text has been updated to reflect the licenses used for various libraries and ports, update the hash accordingly.

---
 package/micropython/micropython.hash | 4 ++--
 package/micropython/micropython.mk   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
package/micropython/micropython.hash +2 -2
index fe47ee09c4..d5045e8f27 100644
@@ -1,3 +1,3 @@
 #locally computed
-sha256  542eb120df8d9eb6f200bcd856294e143813adea9dda0d7189405c218d4b16f7  micropython-1.14.tar.gz
-sha256  9c6089e26c8638a0645bcb0db2c85051f82de8022dcd07fb22baa0c5f9362085  LICENSE
+sha256  c21dbf8144237b3dbe3847c9ad5264cd0f3104eb078c810b3986004cce8fcd70  micropython-1.17.tar.gz
+sha256  59b1f0947a87c90d0d29dbe2c8deb3d1f8263bbbd2fb5ebcc79a649cff6dfcba  LICENSE
package/micropython/micropython.mk +1 -1
index 7a752efd69..5dc044239c 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-MICROPYTHON_VERSION = 1.14
+MICROPYTHON_VERSION = 1.17
 MICROPYTHON_SITE = $(call github,micropython,micropython,v$(MICROPYTHON_VERSION))
 MICROPYTHON_LICENSE = MIT, Apache-2.0, BSD-1-clause, BSD-3-clause, BSD-4-clause, \
 		      GPL-2.0 with FreeRTOS exception, GPL-2.0+, GPL-2.0, LGPL-3.0-only, \
Signature · 6 lines
2.33.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
In reply to Chris Packham
Quoted 13 lines · Chris Packham

The various micropython ports may include code licensed under different licenses compared to the core micropython. List these in MICROPYTHON_LICENSE.

---
  package/micropython/micropython.mk | 5 ++++-
  1 file changed, 4 insertions(+), 1 deletion(-)
package/micropython/micropython.mk +0 -0
index fa28da9be3..7a752efd69 100644

package/micropython/micropython.mk line 12

Quoted 8 lines
package/micropython/micropython.mk +4 -1
@@ -6,7 +6,10 @@
 
  MICROPYTHON_VERSION = 1.14
  MICROPYTHON_SITE = $(call github,micropython,micropython,v$(MICROPYTHON_VERSION))
-MICROPYTHON_LICENSE = MIT
+MICROPYTHON_LICENSE = MIT, Apache-2.0, BSD-1-clause, BSD-3-clause, BSD-4-clause, \
+		      GPL-2.0 with FreeRTOS exception, GPL-2.0+, GPL-2.0, LGPL-3.0-only, \
+		      MCD-ST Liberty SW License Agreement V2, MIT + BSD-3-clause, OFL-1.1, \
+		      PJRC.COM, Zlib

Actually, we don't use most of those in the Unix build. So I've checked
everything and stripped it down the ones we really do use, which is just BSD-1c, BSD-3c and Zlib in addition to MIT.

Applied both to master with that fixed.

Regards,
Arnout

package/micropython/micropython.mk line 15

Quoted 4 lines
package/micropython/micropython.mk +0 -0
  MICROPYTHON_LICENSE_FILES = LICENSE
  MICROPYTHON_DEPENDENCIES = host-pkgconf libffi $(BR2_PYTHON3_HOST_DEPENDENCY)
 

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#3 lore raw
In reply to Chris Packham
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Chris" == Chris Packham <[email protected]> writes:

The various micropython ports may include code licensed under different licenses compared to the core micropython. List these in MICROPYTHON_LICENSE.

Committed to 2021.02.x, 2021.05.x and 2021.08.x, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot