[Mod] First commit

This commit is contained in:
2022-10-31 22:18:58 +08:00
commit 1c8a3d9709
13090 changed files with 526733 additions and 0 deletions

View File

@ -0,0 +1,44 @@
config BR2_PACKAGE_PYTHON_TWISTED
bool "python-twisted"
select BR2_PACKAGE_PYTHON_INCREMENTAL
select BR2_PACKAGE_PYTHON_ATTRS # runtime
select BR2_PACKAGE_PYTHON_AUTOMAT # runtime
select BR2_PACKAGE_PYTHON_CONSTANTLY # runtime
select BR2_PACKAGE_PYTHON_HYPERLINK # runtime
select BR2_PACKAGE_PYTHON_PYHAMCREST # runtime
select BR2_PACKAGE_PYTHON_ZOPE_INTERFACE # runtime
select BR2_PACKAGE_PYTHON_TYPING_EXTENSIONS # runtime
help
Twisted is an event-driven networking engine written in
Python.
https://twistedmatrix.com/trac/
if BR2_PACKAGE_PYTHON_TWISTED
config BR2_PACKAGE_PYTHON_TWISTED_HTTP2
bool "HTTP2 support"
select BR2_PACKAGE_PYTHON_H2 # runtime
select BR2_PACKAGE_PYTHON_PRIORITY # runtime
config BR2_PACKAGE_PYTHON_TWISTED_TLS
bool "TLS support"
# python-{pyopenssl,service-identity}
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
select BR2_PACKAGE_PYTHON_IDNA # runtime
select BR2_PACKAGE_PYTHON_PYOPENSSL # runtime
select BR2_PACKAGE_PYTHON_SERVICE_IDENTITY # runtime
config BR2_PACKAGE_PYTHON_TWISTED_CONCH
bool "Conch support"
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-cryptography
select BR2_PACKAGE_PYTHON_APPDIRS # runtime
select BR2_PACKAGE_PYTHON_BCRYPT # runtime
select BR2_PACKAGE_PYTHON_CRYPTOGRAPHY # runtime
select BR2_PACKAGE_PYTHON_PYASN1 # runtime
config BR2_PACKAGE_PYTHON_TWISTED_SERIAL
bool "Serial support"
select BR2_PACKAGE_PYTHON_SERIAL # runtime
endif

View File

@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/twisted/json
md5 fd252d0b895ca2ab81b5b1454073d890 Twisted-22.2.0.tar.gz
sha256 57f32b1f6838facb8c004c89467840367ad38e9e535f8252091345dba500b4f2 Twisted-22.2.0.tar.gz
# Locally computed sha256
sha256 686f6426a775450eb3afd00bc3a5c2621f305ddb9c8478ee9bf28a368ef2dece LICENSE

View File

@ -0,0 +1,20 @@
################################################################################
#
# python-twisted
#
################################################################################
# When bumping this package, make sure to also verify if the
# python-treq package still works and to update its hash,
# as they share the same version/site variables.
PYTHON_TWISTED_VERSION = 22.2.0
PYTHON_TWISTED_SOURCE = Twisted-$(PYTHON_TWISTED_VERSION).tar.gz
PYTHON_TWISTED_SITE = https://files.pythonhosted.org/packages/40/8b/56e8870d412c550b3ff2d6714ee212c7e80a6634f4e720c3a26a983e7b46
PYTHON_TWISTED_SETUP_TYPE = setuptools
PYTHON_TWISTED_LICENSE = MIT
PYTHON_TWISTED_LICENSE_FILES = LICENSE
PYTHON_TWISTED_CPE_ID_VENDOR = twistedmatrix
PYTHON_TWISTED_CPE_ID_PRODUCT = twisted
PYTHON_TWISTED_DEPENDENCIES = python-incremental host-python-incremental
$(eval $(python-package))