package/python-autobahn: bump to version 25.12.2

Migrate from setuptools to hatch build backend.

License hash changed due to formatting changes:
83d985db64

Drop no longer supported AUTOBAHN_STRIP_XBR env variable.

Add host-python-setuptools build dependency.

Add new python-base58 encryption dependency.

Add new python-ecdsa encryption dependency.

Serialization dependencies moved to mandatory dependencies.

Propagate new C++ reverse dependency.

Add new python-brotli compression dependency.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
James Hilliard
2025-12-28 16:43:50 -07:00
committed by Thomas Petazzoni
parent eb29acc9f2
commit 601e3ae5bd
9 changed files with 29 additions and 28 deletions

View File

@@ -1,10 +1,15 @@
config BR2_PACKAGE_PYTHON_AUTOBAHN
bool "python-autobahn"
depends on BR2_INSTALL_LIBSTDCPP # python-ujson
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-cryptography
select BR2_PACKAGE_PYTHON_CBOR2 # runtime
select BR2_PACKAGE_PYTHON_CFFI # runtime
select BR2_PACKAGE_PYTHON_CRYPTOGRAPHY # runtime
select BR2_PACKAGE_PYTHON_HYPERLINK # runtime
select BR2_PACKAGE_PYTHON_MSGPACK # runtime
select BR2_PACKAGE_PYTHON_TXAIO # runtime
select BR2_PACKAGE_PYTHON_UBJSON # runtime
select BR2_PACKAGE_PYTHON_UJSON # runtime
help
WebSocket client and server library, WAMP real-time
framework.
@@ -13,26 +18,22 @@ config BR2_PACKAGE_PYTHON_AUTOBAHN
if BR2_PACKAGE_PYTHON_AUTOBAHN
config BR2_PACKAGE_PYTHON_AUTOBAHN_ACCELERATE
bool "C-based WebSocket acceleration"
select BR2_PACKAGE_PYTHON_WSACCEL # runtime
config BR2_PACKAGE_PYTHON_AUTOBAHN_COMPRESS
bool "Non-standard WebSocket compression support"
depends on BR2_INSTALL_LIBSTDCPP # python-snappy -> snappy
select BR2_PACKAGE_PYTHON_BROTLI # runtime
select BR2_PACKAGE_PYTHON_SNAPPY # runtime
comment "Non-standard WebSocket compression needs a toolchain w/ C++"
depends on !BR2_INSTALL_LIBSTDCPP
config BR2_PACKAGE_PYTHON_AUTOBAHN_ENCRYPTION
bool "TLS and WAMP-cryptosign encryption/authentication support"
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-pyopenssl -> python-cryptography
select BR2_PACKAGE_PYTHON_BASE58 # runtime
select BR2_PACKAGE_PYTHON_ECDSA # runtime
select BR2_PACKAGE_PYTHON_PYNACL # runtime
select BR2_PACKAGE_PYTHON_PYOPENSSL # runtime
select BR2_PACKAGE_PYTHON_PYTRIE # runtime
select BR2_PACKAGE_PYTHON_QRCODE # runtime
select BR2_PACKAGE_PYTHON_QRCODE_SVG # runtime
select BR2_PACKAGE_PYTHON_PYTRIE # runtime
select BR2_PACKAGE_PYTHON_SERVICE_IDENTITY # runtime
config BR2_PACKAGE_PYTHON_AUTOBAHN_SCRAM
@@ -40,18 +41,6 @@ config BR2_PACKAGE_PYTHON_AUTOBAHN_SCRAM
select BR2_PACKAGE_PYTHON_ARGON2_CFFI # runtime
select BR2_PACKAGE_PYTHON_PASSLIB # runtime
config BR2_PACKAGE_PYTHON_AUTOBAHN_SERIALIZATION
bool "Accelerated JSON, MessagePack, CBOR, UBJSON, and FlatBuffers serialization support"
depends on BR2_INSTALL_LIBSTDCPP # python-ujson
select BR2_PACKAGE_PYTHON_CBOR2 # runtime
select BR2_PACKAGE_PYTHON_FLATBUFFERS # runtime
select BR2_PACKAGE_PYTHON_MSGPACK # runtime
select BR2_PACKAGE_PYTHON_UBJSON # runtime
select BR2_PACKAGE_PYTHON_UJSON # runtime
comment "Accelerated JSON, MessagePack, CBOR, UBJSON, and FlatBuffers serialization needs a toolchain w/ C++"
depends on !BR2_INSTALL_LIBSTDCPP
config BR2_PACKAGE_PYTHON_AUTOBAHN_TWISTED
bool "Twisted support"
select BR2_PACKAGE_PYTHON_ATTRS # runtime
@@ -59,3 +48,7 @@ config BR2_PACKAGE_PYTHON_AUTOBAHN_TWISTED
select BR2_PACKAGE_PYTHON_ZOPE_INTERFACE # runtime
endif
comment "python-autobahn needs a toolchain w/ C++"
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
depends on !BR2_INSTALL_LIBSTDCPP

View File

@@ -1,5 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/autobahn/json
md5 d3cb29a6d5e8cc4c9671aa46ba1f2d0c autobahn-25.11.1.tar.gz
sha256 52e62b9cc80c3e989b182952a60fd25c9a69afb00854a925a2b185f7b1f73cf1 autobahn-25.11.1.tar.gz
md5 3dbc5c77f853b68a4a8c8ffcbd4eb024 autobahn-25.12.2.tar.gz
sha256 754c06a54753aeb7e8d10c5cbf03249ad9e2a1a32bca8be02865c6f00628a98c autobahn-25.12.2.tar.gz
# Locally computed sha256 checksums
sha256 49c90822821c78934079a4bfed0a880790a868bc6dba90ea8fe8274e0f985ada LICENSE
sha256 ff61657bfe1984c96d932fc0423268097b4b588bc57d47c26e8d680250d6c76d LICENSE

View File

@@ -4,15 +4,14 @@
#
################################################################################
PYTHON_AUTOBAHN_VERSION = 25.11.1
PYTHON_AUTOBAHN_VERSION = 25.12.2
PYTHON_AUTOBAHN_SOURCE = autobahn-$(PYTHON_AUTOBAHN_VERSION).tar.gz
PYTHON_AUTOBAHN_SITE = https://files.pythonhosted.org/packages/0e/3a/aab5632fbd88ed26d330ab156af80c9a90419dfa2841296fd556a65e5fac
PYTHON_AUTOBAHN_SITE = https://files.pythonhosted.org/packages/54/d5/9adf0f5b9eb244e58e898e9f3db4b00c09835ef4b6c37d491886e0376b4f
PYTHON_AUTOBAHN_LICENSE = MIT
PYTHON_AUTOBAHN_LICENSE_FILES = LICENSE
PYTHON_AUTOBAHN_CPE_ID_VENDOR = crossbar
PYTHON_AUTOBAHN_CPE_ID_PRODUCT = autobahn
PYTHON_AUTOBAHN_SETUP_TYPE = setuptools
PYTHON_AUTOBAHN_DEPENDENCIES = host-python-cffi
PYTHON_AUTOBAHN_ENV = AUTOBAHN_STRIP_XBR=1
PYTHON_AUTOBAHN_SETUP_TYPE = hatch
PYTHON_AUTOBAHN_DEPENDENCIES = host-python-cffi host-python-setuptools
$(eval $(python-package))

View File

@@ -1,5 +1,7 @@
config BR2_PACKAGE_PYTHON_CHANNELS_REDIS
bool "python-channels-redis"
# python-channels -> python-daphne -> python-autobahn -> python-ujson
depends on BR2_INSTALL_LIBSTDCPP
# python-channels -> python-daphne -> python-autobahn -> python-cryptography
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
select BR2_PACKAGE_PYTHON_ASGIREF # runtime

View File

@@ -1,5 +1,7 @@
config BR2_PACKAGE_PYTHON_CHANNELS
bool "python-channels"
# python-daphne -> python-autobahn -> python-ujson
depends on BR2_INSTALL_LIBSTDCPP
# python-daphne -> python-autobahn -> python-cryptography
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
select BR2_PACKAGE_PYTHON_ASGIREF # runtime

View File

@@ -1,5 +1,7 @@
config BR2_PACKAGE_PYTHON_DAPHNE
bool "python-daphne"
# python-autobahn -> python-ujson
depends on BR2_INSTALL_LIBSTDCPP
# python-autobahn -> python-cryptography
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
select BR2_PACKAGE_PYTHON_ASGIREF # runtime

View File

@@ -1,5 +1,6 @@
config BR2_PACKAGE_PYTHON_MAGIC_WORMHOLE_MAILBOX_SERVER
bool "python-magic-wormhole-mailbox-server"
depends on BR2_INSTALL_LIBSTDCPP # python-autobahn -> python-ujson
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-autobahn -> python-cryptography
select BR2_PACKAGE_PYTHON3_SQLITE # runtime
select BR2_PACKAGE_PYTHON_ATTRS # runtime

View File

@@ -1,5 +1,6 @@
config BR2_PACKAGE_PYTHON_MAGIC_WORMHOLE_TRANSIT_RELAY
bool "python-magic-wormhole-transit-relay"
depends on BR2_INSTALL_LIBSTDCPP # python-autobahn -> python-ujson
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-autobahn -> python-cryptography
select BR2_PACKAGE_PYTHON_AUTOBAHN # runtime
select BR2_PACKAGE_PYTHON_TWISTED # runtime

View File

@@ -1,5 +1,6 @@
config BR2_PACKAGE_PYTHON_MAGIC_WORMHOLE
bool "python-magic-wormhole"
depends on BR2_INSTALL_LIBSTDCPP # python-autobahn -> python-ujson
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-cryptography
select BR2_PACKAGE_PYTHON_ATTRS # runtime
select BR2_PACKAGE_PYTHON_AUTOBAHN # runtime