Skip to contentSkip to conversation

micropython-lib: use SPDX short identifier for Python license

PATCH New Rahul Bedarkar 2 participants 11 messages Apr 9, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/10 micropython-lib: use SPDX short identifier for Python license

---
 package/micropython-lib/micropython-lib.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/micropython-lib/micropython-lib.mk +1 -1
index 066572e..c9423fe 100644
@@ -6,7 +6,7 @@
 
 MICROPYTHON_LIB_VERSION = v1.8.6
 MICROPYTHON_LIB_SITE = $(call github,micropython,micropython-lib,$(MICROPYTHON_LIB_VERSION))
-MICROPYTHON_LIB_LICENSE = Python software foundation license v2 (some modules), MIT (everything else)
+MICROPYTHON_LIB_LICENSE = Python-2.0 (some modules), MIT (everything else)
 MICROPYTHON_LIB_LICENSE_FILES = LICENSE
 
 define MICROPYTHON_LIB_INSTALL_TARGET_CMDS
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/10 python-iniparse: use SPDX identifier for python license

---
 package/python-iniparse/python-iniparse.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/python-iniparse/python-iniparse.mk +1 -1
index b00e0c4..5c4e03c 100644
@@ -7,7 +7,7 @@
 PYTHON_INIPARSE_VERSION = 0.4
 PYTHON_INIPARSE_SOURCE = iniparse-$(PYTHON_INIPARSE_VERSION).tar.gz
 PYTHON_INIPARSE_SITE = https://pypi.python.org/packages/source/i/iniparse
-PYTHON_INIPARSE_LICENSE = Python software foundation license v2, MIT
+PYTHON_INIPARSE_LICENSE = Python-2.0, MIT
 PYTHON_INIPARSE_LICENSE_FILES = LICENSE-PSF LICENSE
 PYTHON_INIPARSE_SETUP_TYPE = distutils
 
Signature · 1 line
2.7.4
#2 lore raw

PATCH 3/10 python-pyyaml: correct license name

In reply to Rahul Bedarkar

LICENSE file contains MIT license text and README file clearly mentions pyyaml is released under MIT license.

---
 package/python-pyyaml/python-pyyaml.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/python-pyyaml/python-pyyaml.mk +1 -1
index 0509a7a..beeaf88 100644
@@ -8,7 +8,7 @@ PYTHON_PYYAML_VERSION = 3.12
 PYTHON_PYYAML_SOURCE = PyYAML-$(PYTHON_PYYAML_VERSION).tar.gz
 PYTHON_PYYAML_SITE = https://pypi.python.org/packages/4a/85/db5a2df477072b2902b0eb892feb37d88ac635d36245a72a6a69b23b383a
 PYTHON_PYYAML_SETUP_TYPE = distutils
-PYTHON_PYYAML_LICENSE = Python software foundation license v2
+PYTHON_PYYAML_LICENSE = MIT
 PYTHON_PYYAML_LICENSE_FILES = LICENSE
 PYTHON_PYYAML_DEPENDENCIES = libyaml
 
Signature · 1 line
2.7.4
#3 lore raw

PATCH 4/10 python: use SPDX short identifier for license string

In reply to Rahul Bedarkar
---
 package/python/python.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/python/python.mk +1 -1
index 22d9141..7ba5e37 100644
@@ -8,7 +8,7 @@ PYTHON_VERSION_MAJOR = 2.7
 PYTHON_VERSION = $(PYTHON_VERSION_MAJOR).13
 PYTHON_SOURCE = Python-$(PYTHON_VERSION).tar.xz
 PYTHON_SITE = http://python.org/ftp/python/$(PYTHON_VERSION)
-PYTHON_LICENSE = Python software foundation license v2, others
+PYTHON_LICENSE = Python-2.0, others
 PYTHON_LICENSE_FILES = LICENSE
 PYTHON_LIBTOOL_PATCH = NO
 
Signature · 1 line
2.7.4
#4 lore raw

PATCH 5/10 python3: use SPDX identifier for license string

In reply to Rahul Bedarkar
---
 package/python3/python3.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/python3/python3.mk +1 -1
index 74f8116..2532dee 100644
@@ -8,7 +8,7 @@ PYTHON3_VERSION_MAJOR = 3.6
 PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).1
 PYTHON3_SOURCE = Python-$(PYTHON3_VERSION).tar.xz
 PYTHON3_SITE = http://python.org/ftp/python/$(PYTHON3_VERSION)
-PYTHON3_LICENSE = Python software foundation license v2, others
+PYTHON3_LICENSE = Python-2.0, others
 PYTHON3_LICENSE_FILES = LICENSE
 
 # Python itself doesn't use libtool, but it includes the source code
Signature · 1 line
2.7.4
#5 lore raw

PATCH 6/10 python-alsaaudio: use SPDX short identifier for license string

In reply to Rahul Bedarkar
---
 package/python-alsaaudio/python-alsaaudio.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/python-alsaaudio/python-alsaaudio.mk +1 -1
index 92c354e..73a7e74 100644
@@ -8,7 +8,7 @@ PYTHON_ALSAAUDIO_VERSION = 0.8.2
 PYTHON_ALSAAUDIO_SOURCE = pyalsaaudio-$(PYTHON_ALSAAUDIO_VERSION).tar.gz
 PYTHON_ALSAAUDIO_SITE = https://pypi.python.org/packages/source/p/pyalsaaudio
 PYTHON_ALSAAUDIO_SETUP_TYPE = distutils
-PYTHON_ALSAAUDIO_LICENSE = Python software foundation license v2
+PYTHON_ALSAAUDIO_LICENSE = Python-2.0
 PYTHON_ALSAAUDIO_LICENSE_FILES = LICENSE
 PYTHON_ALSAAUDIO_DEPENDENCIES = alsa-lib
 
Signature · 1 line
2.7.4
#6 lore raw

PATCH 7/10 python-shutilwhich: add version to license string

In reply to Rahul Bedarkar

LICENSE file refers to Python license version 2. Use SPDX short identifier for license string while at it.

---
 package/python-shutilwhich/python-shutilwhich.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/python-shutilwhich/python-shutilwhich.mk +1 -1
index 0497e1b..31a7ea9 100644
@@ -7,7 +7,7 @@
 PYTHON_SHUTILWHICH_VERSION = 1.1.0
 PYTHON_SHUTILWHICH_SOURCE = shutilwhich-$(PYTHON_SHUTILWHICH_VERSION).tar.gz
 PYTHON_SHUTILWHICH_SITE = http://pypi.python.org/packages/source/s/shutilwhich
-PYTHON_SHUTILWHICH_LICENSE = Python Software Foundation License
+PYTHON_SHUTILWHICH_LICENSE = Python-2.0
 PYTHON_SHUTILWHICH_SETUP_TYPE = setuptools
 
 $(eval $(python-package))
Signature · 1 line
2.7.4
#7 lore raw

PATCH 8/10 python-ipaddress: add version to license string

In reply to Rahul Bedarkar

LICENSE file refers to Python license version 2. Use SPDX short identifier for license string while at it.

---
 package/python-ipaddress/python-ipaddress.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/python-ipaddress/python-ipaddress.mk +1 -1
index 10ab77a..646db5d 100644
@@ -7,7 +7,7 @@
 PYTHON_IPADDRESS_VERSION = 1.0.18
 PYTHON_IPADDRESS_SOURCE = ipaddress-$(PYTHON_IPADDRESS_VERSION).tar.gz
 PYTHON_IPADDRESS_SITE = https://pypi.python.org/packages/4e/13/774faf38b445d0b3a844b65747175b2e0500164b7c28d78e34987a5bfe06
-PYTHON_IPADDRESS_LICENSE = Python software foundation license
+PYTHON_IPADDRESS_LICENSE = Python-2.0
 PYTHON_IPADDRESS_LICENSE_FILES = LICENSE
 PYTHON_IPADDRESS_SETUP_TYPE = setuptools
 
Signature · 1 line
2.7.4
#8 lore raw

PATCH 9/10 python-backports-abc: add version to license string

In reply to Rahul Bedarkar

LICENSE file refers to Python license version 2. Use SPDX short identifier for license string and add license file while at it.

---
 package/python-backports-abc/python-backports-abc.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
package/python-backports-abc/python-backports-abc.mk +2 -1
index f84318b..66cea17 100644
@@ -7,7 +7,8 @@
 PYTHON_BACKPORTS_ABC_VERSION = 0.5
 PYTHON_BACKPORTS_ABC_SOURCE = backports_abc-$(PYTHON_BACKPORTS_ABC_VERSION).tar.gz
 PYTHON_BACKPORTS_ABC_SITE = https://pypi.python.org/packages/68/3c/1317a9113c377d1e33711ca8de1e80afbaf4a3c950dd0edfaf61f9bfe6d8
-PYTHON_BACKPORTS_ABC_LICENSE = Python Software Foundation License
+PYTHON_BACKPORTS_ABC_LICENSE = Python-2.0
+PYTHON_BACKPORTS_ABC_LICENSE_FILES = LICENSE
 PYTHON_BACKPORTS_ABC_SETUP_TYPE = setuptools
 
 $(eval $(python-package))
Signature · 1 line
2.7.4
#9 lore raw

PATCH 10/10 wpan-tools: bump to version 0.7

In reply to Rahul Bedarkar

Drop upstream patch.

---
 .../0001-fix-build-with-newer-libnl.patch          | 40 ----------------------
 package/wpan-tools/wpan-tools.hash                 |  4 +--
 package/wpan-tools/wpan-tools.mk                   |  2 +-
 3 files changed, 3 insertions(+), 43 deletions(-)
 delete mode 100644 package/wpan-tools/0001-fix-build-with-newer-libnl.patch
package/wpan-tools/0001-fix-build-with-newer-libnl.patch deleted +0 -40
deleted file mode 100644
index 03e1a03..0000000
@@ -1,40 +0,0 @@
-From 51ab69d76aa708c79aed971ee4083abb8cc07201 Mon Sep 17 00:00:00 2001
-From: Stefan Schmidt <[email protected]>
-Date: Mon, 9 Nov 2015 19:06:25 +0100
-Subject: [PATCH] build: avoid redefinition errors with libnl >= 3.2.27
-
-From 3.2.17 onwards we have nla for s8, s16, etc defined directly in libnl.
-If we keep including this file anyway we run into redefinition errors. Better
-include use our own only for earlier versions.
-
-Happened to me on Fedora 22 after my last update.
-
-Signed-off-by: Stefan Schmidt <[email protected]>
-Acked-by: Alexander Aring <[email protected]>
-Signed-off-by: Gustavo Zacarias <[email protected]>
----
-Patch status: upstream
-
- src/nl_extras.h | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/src/nl_extras.h b/src/nl_extras.h
-index 9d841aa..c4d1d14 100644
---- a/src/nl_extras.h
-+++ b/src/nl_extras.h
-@@ -1,6 +1,8 @@
- #ifndef __NL_EXTRAS_H
- #define __NL_EXTRAS_H
- 
-+#if LIBNL_VER_MIC <= 26
-+
- #ifndef NLA_S8
- 
- #define NLA_S8	13
-@@ -43,4 +45,6 @@ static inline int32_t nla_get_s32(struct nlattr *nla)
- 
- #endif /* NLA_S64 */
- 
-+#endif /* LIBNL_VER_MIC */
-+
- #endif /* __NL_EXTRAS_H */
package/wpan-tools/wpan-tools.hash +2 -2
index fbcf64c..6a3b6d1 100644
@@ -1,4 +1,4 @@
 # From http://wpan.cakelab.org/releases/md5sum
-md5	c6356f7be4de2e9f2084283b9ed7e1ab	wpan-tools-0.5.tar.gz
+md5	06608f69951088844196f79685318aa9	wpan-tools-0.7.tar.gz
 # Calculated based on the hash above
-sha256	f381f24eb1962aa9e21751004560371bb9ad8bd0b735bc493930f50e8c1f3d99	wpan-tools-0.5.tar.gz
+sha256	8b690ff0e71e08bece5ec541223fda7abd2d5552d97d3d25b4967609b58fef00	wpan-tools-0.7.tar.gz
package/wpan-tools/wpan-tools.mk +1 -1
index 012b946..a604dab 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-WPAN_TOOLS_VERSION = 0.5
+WPAN_TOOLS_VERSION = 0.7
 WPAN_TOOLS_SITE = http://wpan.cakelab.org/releases
 WPAN_TOOLS_DEPENDENCIES = host-pkgconf libnl
 WPAN_TOOLS_LICENSE = ISC
Signature · 1 line
2.7.4
#10 lore raw

PATCH 1/10 micropython-lib: use SPDX short identifier for Python license

In reply to Rahul Bedarkar

Hello,

Quoted 4 lines · Rahul Bedarkar
---
 package/micropython-lib/micropython-lib.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Entire series applied. Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com