package/python-pyasynchat: new package

pyasynchat is a compatibility package that provides the asynchat
module removed from the standard library in Python 3.12. It is needed
to support fail2ban without a bundled copy and should be removed as
soon as nothing in Buildroot depends on it.

Signed-off-by: Fiona Klute (WIWA) <fiona.klute@gmx.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fiona Klute (WIWA)
2024-07-09 12:18:39 +02:00
committed by Thomas Petazzoni
parent 01aa65bc57
commit fd31530672
5 changed files with 32 additions and 0 deletions

View File

@@ -1089,6 +1089,7 @@ N: Falco Hyfing <hyfinglists@gmail.com>
F: package/python-pymodbus/
N: Fiona Klute <fiona.klute@gmx.de>
F: package/python-pyasynchat/
F: package/python-pyasyncore/
N: Flávio Tapajós <flavio.tapajos@newtesc.com.br>

View File

@@ -1253,6 +1253,7 @@ menu "External python modules"
source "package/python-pyalsa/Config.in"
source "package/python-pyasn1/Config.in"
source "package/python-pyasn1-modules/Config.in"
source "package/python-pyasynchat/Config.in"
source "package/python-pyasyncore/Config.in"
source "package/python-pybind/Config.in"
source "package/python-pycairo/Config.in"

View File

@@ -0,0 +1,11 @@
config BR2_PACKAGE_PYTHON_PYASYNCHAT
bool "python-pyasynchat"
select BR2_PACKAGE_PYTHON_PYASYNCORE # runtime
help
Make asynchat available for Python 3.12 onwards.
This is a compatibility package using the code removed from
the standard libary, upstream does not intend any
maintenance.
https://github.com/simonrob/pyasynchat

View File

@@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/pyasynchat/json
md5 9fa7e3822f689b1236ca59c5f1b71415 pyasynchat-1.0.4.tar.gz
sha256 3f5333df649e46c56d48c57e6a4b7163fd07f626bfd884e22ef373ab3c3a4670 pyasynchat-1.0.4.tar.gz
# Locally computed sha256 checksums
sha256 f4f80c98161f5632004d44713b5cb95e400145b40cbc0297f1f50c27b54befdb LICENSE

View File

@@ -0,0 +1,14 @@
################################################################################
#
# python-pyasynchat
#
################################################################################
PYTHON_PYASYNCHAT_VERSION = 1.0.4
PYTHON_PYASYNCHAT_SOURCE = pyasynchat-$(PYTHON_PYASYNCHAT_VERSION).tar.gz
PYTHON_PYASYNCHAT_SITE = https://github.com/simonrob/pyasynchat/releases/download/v$(PYTHON_PYASYNCHAT_VERSION)
PYTHON_PYASYNCHAT_SETUP_TYPE = setuptools
PYTHON_PYASYNCHAT_LICENSE = PSF-2.0
PYTHON_PYASYNCHAT_LICENSE_FILES = LICENSE
$(eval $(python-package))