[Buildroot] [git commit] package/python-engineio: bump to version 4.2.1

From: Arnout Vandecappelle (Essensium/Mind) <hidden>
Date: 2021-10-13 20:00:58
Subsystem: the rest · Maintainer: Linus Torvalds

commit: https://git.buildroot.net/buildroot/commit/?id=74523a644b2482808b69ac4c9e71484549c0c89b
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Drop python2 support and propagate reverse dependency.

Remove six dependency as it is no longer required.

Signed-off-by: James Hilliard <redacted>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <redacted>
---
 package/python-engineio/Config.in            |  5 ++---
 package/python-engineio/python-engineio.hash |  4 ++--
 package/python-engineio/python-engineio.mk   | 14 ++------------
 package/python-socketio/Config.in            |  1 +
 4 files changed, 7 insertions(+), 17 deletions(-)
diff --git a/package/python-engineio/Config.in b/package/python-engineio/Config.in
index b12db922a2..48f3391e53 100644
--- a/package/python-engineio/Config.in
+++ b/package/python-engineio/Config.in
@@ -1,8 +1,7 @@
 config BR2_PACKAGE_PYTHON_ENGINEIO
 	bool "python-engineio"
-	select BR2_PACKAGE_PYTHON_SIX # runtime
-	select BR2_PACKAGE_PYTHON_ZLIB if BR2_PACKAGE_PYTHON
-	select BR2_PACKAGE_PYTHON3_ZLIB if BR2_PACKAGE_PYTHON3
+	depends on BR2_PACKAGE_PYTHON3
+	select BR2_PACKAGE_PYTHON3_ZLIB
 	help
 	  Engine.IO server.
 
diff --git a/package/python-engineio/python-engineio.hash b/package/python-engineio/python-engineio.hash
index ef852cf1ad..5762303af0 100644
--- a/package/python-engineio/python-engineio.hash
+++ b/package/python-engineio/python-engineio.hash
@@ -1,5 +1,5 @@
 # md5, sha256 from https://pypi.org/pypi/python-engineio/json
-md5  e6ea8b3f2f32eeeb02014c46092f2adb  python-engineio-3.12.1.tar.gz
-sha256  2481732d93646998f7372ef0ecf003af7817b82720b881db173c3d50b4887916  python-engineio-3.12.1.tar.gz
+md5  d2bc7184d64e9d5a692bfad29ff73dea  python-engineio-4.2.1.tar.gz
+sha256  d510329b6d8ed5662547862f58bc73659ae62defa66b66d745ba021de112fa62  python-engineio-4.2.1.tar.gz
 # Locally computed sha256 checksums
 sha256  c9e97d3dbc1fbbcdb4f7808b282cd646db887aff4f5313fe6bbe8d4c31405a9c  LICENSE
diff --git a/package/python-engineio/python-engineio.mk b/package/python-engineio/python-engineio.mk
index 4f835da0a4..81bd49fb64 100644
--- a/package/python-engineio/python-engineio.mk
+++ b/package/python-engineio/python-engineio.mk
@@ -4,21 +4,11 @@
 #
 ################################################################################
 
-PYTHON_ENGINEIO_VERSION = 3.12.1
-PYTHON_ENGINEIO_SITE = https://files.pythonhosted.org/packages/71/5d/620b75396ce993001cbccc80dd786ab09a16a8e3f6c4878ad05f051064d6
+PYTHON_ENGINEIO_VERSION = 4.2.1
+PYTHON_ENGINEIO_SITE = https://files.pythonhosted.org/packages/74/1e/33e402011bb2fe33ab12762e5a66d66df1d47302a23e9c5e8310e11b1403
 PYTHON_ENGINEIO_SETUP_TYPE = setuptools
 PYTHON_ENGINEIO_LICENSE = MIT
 PYTHON_ENGINEIO_LICENSE_FILES = LICENSE
 PYTHON_ENGINEIO_CPE_ID_VENDOR = python-engineio_project
 
-ifeq ($(BR2_PACKAGE_PYTHON),y)
-# only needed/valid for python 3.x
-define PYTHON_ENGINEIO_RM_PY3_FILES
-	rm -rf $(TARGET_DIR)/usr/lib/python*/site-packages/engineio/async_drivers \
-		$(TARGET_DIR)/usr/lib/python*/site-packages/engineio/asyncio_*.py
-endef
-
-PYTHON_ENGINEIO_POST_INSTALL_TARGET_HOOKS += PYTHON_ENGINEIO_RM_PY3_FILES
-endif
-
 $(eval $(python-package))
diff --git a/package/python-socketio/Config.in b/package/python-socketio/Config.in
index af0f6f32e8..096e75a623 100644
--- a/package/python-socketio/Config.in
+++ b/package/python-socketio/Config.in
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_PYTHON_SOCKETIO
 	bool "python-socketio"
+	depends on BR2_PACKAGE_PYTHON3
 	select BR2_PACKAGE_PYTHON_SIX # runtime
 	select BR2_PACKAGE_PYTHON_ENGINEIO # runtime
 	help
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help