Skip to contentSkip to conversation

package/python-bluezero: depends on dbus-python and python-gobject

PATCH New Grzegorz Blach 3 participants 7 messages Feb 8, 2021 – Jun 7, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 package/python-bluezero: depends on dbus-python and python-gobject

As of version 0.4.0 observer.py uses dbus-python (to comunicate with BlueZ) instead of python-aioblescan. Thus, all modules now depend on dbus-python.

---
 package/python-bluezero/Config.in | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
package/python-bluezero/Config.in +2 -5
index 9ea3686a2b..3a9e5df6b7 100644
@@ -1,12 +1,9 @@
 config BR2_PACKAGE_PYTHON_BLUEZERO
 	bool "python-bluezero"
 	depends on BR2_PACKAGE_PYTHON3
+	select BR2_PACKAGE_DBUS_PYTHON # runtime
+	select BR2_PACKAGE_PYTHON_GOBJECT # runtime
 	help
 	  Python library for Bluetooth Low Energy (BLE) on Linux.
 
-	  For central.py, peripheral.py and broadcaster.py you need
-	  to enable the dbus-python and the bluez5-utils package.
-	  For observer.py, you need to enable the python-aioblescan
-	  package.
-
 	  https://github.com/ukBaz/python-bluezero
Signature · 1 line
2.27.0
#1 lore raw

PATCH 2/3 package/python-pyjwt: bump to version 2.0.1

---
 package/python-pyjwt/python-pyjwt.hash | 4 ++--
 package/python-pyjwt/python-pyjwt.mk   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
package/python-pyjwt/python-pyjwt.hash +2 -2
index 10875510f0..e3408a4eb5 100644
@@ -1,5 +1,5 @@
 # md5, sha256 from https://pypi.org/pypi/PyJWT/json
-md5  7a1b1c8bfeb67c31ee4fdadefe5ff4b8  PyJWT-2.0.0.tar.gz
-sha256  7a2b271c6dac2fda9e0c33d176c4253faba2c6c6b3a99c7f28a32c3c97522779  PyJWT-2.0.0.tar.gz
+md5  93b74f59d08be8c852a3c259da2ea121  PyJWT-2.0.1.tar.gz
+sha256  a5c70a06e1f33d81ef25eecd50d50bd30e34de1ca8b2b9fa3fe0daaabcf69bf7  PyJWT-2.0.1.tar.gz
 # Locally computed sha256 checksums
 sha256  ec82af815b5f9da8685afb300cc5beb7949e1c22b79b6c1c054796cefdf6cac6  LICENSE
package/python-pyjwt/python-pyjwt.mk +2 -2
index 9215911389..dd20e0efcb 100644
@@ -4,9 +4,9 @@
 #
 ################################################################################
 
-PYTHON_PYJWT_VERSION = 2.0.0
+PYTHON_PYJWT_VERSION = 2.0.1
 PYTHON_PYJWT_SOURCE = PyJWT-$(PYTHON_PYJWT_VERSION).tar.gz
-PYTHON_PYJWT_SITE = https://files.pythonhosted.org/packages/14/6d/096dc269d105ba374d6bfd3ecb22b516795ca0572499820dadc8178d9ae1
+PYTHON_PYJWT_SITE = https://files.pythonhosted.org/packages/ef/68/d610e2e10bc8336a033a6e0f0401341106ee9ed9cb0c1571b0d1a8eacf39
 PYTHON_PYJWT_SETUP_TYPE = setuptools
 PYTHON_PYJWT_LICENSE = MIT
 PYTHON_PYJWT_LICENSE_FILES = LICENSE
Signature · 1 line
2.27.0
#2 lore raw

PATCH 1/1 package/python-pyjwt: Bump to version 2.1.0

---
 package/python-pyjwt/python-pyjwt.hash | 4 ++--
 package/python-pyjwt/python-pyjwt.mk   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
package/python-pyjwt/python-pyjwt.hash +2 -2
index 10875510f0..f3bc5d4814 100644
@@ -1,5 +1,5 @@
 # md5, sha256 from https://pypi.org/pypi/PyJWT/json
-md5  7a1b1c8bfeb67c31ee4fdadefe5ff4b8  PyJWT-2.0.0.tar.gz
-sha256  7a2b271c6dac2fda9e0c33d176c4253faba2c6c6b3a99c7f28a32c3c97522779  PyJWT-2.0.0.tar.gz
+md5  34c235e02746683bfc81a61f9ec4dc85  PyJWT-2.1.0.tar.gz
+sha256  fba44e7898bbca160a2b2b501f492824fc8382485d3a6f11ba5d0c1937ce6130  PyJWT-2.1.0.tar.gz
 # Locally computed sha256 checksums
 sha256  ec82af815b5f9da8685afb300cc5beb7949e1c22b79b6c1c054796cefdf6cac6  LICENSE
package/python-pyjwt/python-pyjwt.mk +2 -2
index 942499ea49..5600459c65 100644
@@ -4,9 +4,9 @@
 #
 ################################################################################
 
-PYTHON_PYJWT_VERSION = 2.0.0
+PYTHON_PYJWT_VERSION = 2.1.0
 PYTHON_PYJWT_SOURCE = PyJWT-$(PYTHON_PYJWT_VERSION).tar.gz
-PYTHON_PYJWT_SITE = https://files.pythonhosted.org/packages/14/6d/096dc269d105ba374d6bfd3ecb22b516795ca0572499820dadc8178d9ae1
+PYTHON_PYJWT_SITE = https://files.pythonhosted.org/packages/0c/c6/3cdc7cb1289b35186fd7fd61836b6d83632ca0f7eee552516777361667b1
 PYTHON_PYJWT_SETUP_TYPE = setuptools
 PYTHON_PYJWT_LICENSE = MIT
 PYTHON_PYJWT_LICENSE_FILES = LICENSE
Signature · 1 line
2.27.0
#4 lore raw

PATCH 3/3 package/python-rpi-ws281x: bump to version 4.2.5

In reply to Grzegorz Blach

Set proper license.

---
 package/python-rpi-ws281x/python-rpi-ws281x.hash | 4 ++--
 package/python-rpi-ws281x/python-rpi-ws281x.mk   | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)
package/python-rpi-ws281x/python-rpi-ws281x.hash +2 -2
index 54d91a6df0..10c5d278ea 100644
@@ -1,6 +1,6 @@
 # md5, sha256 from https://pypi.org/pypi/rpi-ws281x/json
-md5  8eb175e05905ee7a00bb5fd2f1b15e40  rpi_ws281x-4.2.4.tar.gz
-sha256  7175e708d6085bc02a9d0b8227797d697e34fd00787030ae5f119fe2f4f90889  rpi_ws281x-4.2.4.tar.gz
+md5  c93318b33630df8e8bb704de40df76fa  rpi_ws281x-4.2.5.tar.gz
+sha256  f025d9d4886d478e8d0167d6abfa49e66119758590822941d9a9afd8d088b153  rpi_ws281x-4.2.5.tar.gz
 # Locally computed sha256 checksums
 sha256  7bbf6337c1eee7169579e6acd398f31ea274dfa3a1689ab7e654ca3585d5a8a9  LICENSE
 sha256  7bbf6337c1eee7169579e6acd398f31ea274dfa3a1689ab7e654ca3585d5a8a9  lib/LICENSE
package/python-rpi-ws281x/python-rpi-ws281x.mk +3 -3
index 4af1d268af..75030066d1 100644
@@ -4,11 +4,11 @@
 #
 ################################################################################
 
-PYTHON_RPI_WS281X_VERSION = 4.2.4
+PYTHON_RPI_WS281X_VERSION = 4.2.5
 PYTHON_RPI_WS281X_SOURCE = rpi_ws281x-$(PYTHON_RPI_WS281X_VERSION).tar.gz
-PYTHON_RPI_WS281X_SITE = https://files.pythonhosted.org/packages/3b/99/0f74f2d303e03432d10b11dab240cb15afad1bc6ab9a1449c9bc08af2ee4
+PYTHON_RPI_WS281X_SITE = https://files.pythonhosted.org/packages/4b/ac/1bbae8f7c916150f4260214392d68c8c166e414d8ea6f103a299a0e04179
 PYTHON_RPI_WS281X_SETUP_TYPE = setuptools
-PYTHON_RPI_WS281X_LICENSE = MIT
+PYTHON_RPI_WS281X_LICENSE = BSD-2-Clause
 PYTHON_RPI_WS281X_LICENSE_FILES = LICENSE lib/LICENSE
 
 $(eval $(python-package))
Signature · 1 line
2.27.0
#5 lore raw

PATCH 1/3 package/python-bluezero: depends on dbus-python and python-gobject

In reply to Grzegorz Blach
Quoted 4 lines · Grzegorz Blach

As of version 0.4.0 observer.py uses dbus-python (to comunicate with BlueZ) instead of python-aioblescan. Thus, all modules now depend on dbus-python.

Applied to master, thanks.

Since this is a fix, in the future, please add something like this to the
commit message:

Fixes:
ModuleNotFoundError: No module named 'dbus'

This indicates it as a fix in patchwork, so it stands out more between the +-400 other patches. Also, it indicates to Peter that the patch should be backported to the stable branches.

Quoted 9 lines
---
 package/python-bluezero/Config.in | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
package/python-bluezero/Config.in +0 -0
index 9ea3686a2b..3a9e5df6b7 100644

package/python-bluezero/Config.in line 5

Quoted 5 lines
package/python-bluezero/Config.in +2 -0
@@ -1,12 +1,9 @@
 config BR2_PACKAGE_PYTHON_BLUEZERO
 	bool "python-bluezero"
 	depends on BR2_PACKAGE_PYTHON3
+	select BR2_PACKAGE_DBUS_PYTHON # runtime
+	select BR2_PACKAGE_PYTHON_GOBJECT # runtime

After pushing, I noticed that you forgot to include the recursive dependencies
of python-gobject. So I pushed a follow-up commit that adds them.

Regards,
Arnout

Quoted 10 lines
package/python-bluezero/Config.in +0 -5
 	help
 	  Python library for Bluetooth Low Energy (BLE) on Linux.
 
-	  For central.py, peripheral.py and broadcaster.py you need
-	  to enable the dbus-python and the bluez5-utils package.
-	  For observer.py, you need to enable the python-aioblescan
-	  package.
-
 	  https://github.com/ukBaz/python-bluezero
#6 lore raw

PATCH 1/3 package/python-bluezero: depends on dbus-python and python-gobject

In reply to Grzegorz Blach
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Grzegorz" == Grzegorz Blach <[email protected]> writes:

As of version 0.4.0 observer.py uses dbus-python (to comunicate with BlueZ) instead of python-aioblescan. Thus, all modules now depend on dbus-python.

Committed to 2021.02.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard