package/python-trio: new package

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
James Hilliard 2023-01-28 20:52:29 -07:00 committed by Yann E. MORIN
parent 675fdc08f6
commit c09481f7f0
5 changed files with 35 additions and 0 deletions

View File

@ -1402,6 +1402,7 @@ F: package/python-sockjs/
F: package/python-terminaltables/
F: package/python-tinycss2/
F: package/python-tomli/
F: package/python-trio/
F: package/python-typeguard/
F: package/python-typing-inspect/
F: package/python-uhid/

View File

@ -1306,6 +1306,7 @@ menu "External python modules"
source "package/python-tqdm/Config.in"
source "package/python-traitlets/Config.in"
source "package/python-treq/Config.in"
source "package/python-trio/Config.in"
source "package/python-twisted/Config.in"
source "package/python-txaio/Config.in"
source "package/python-txdbus/Config.in"

View File

@ -0,0 +1,12 @@
config BR2_PACKAGE_PYTHON_TRIO
bool "python-trio"
select BR2_PACKAGE_PYTHON_ASYNC_GENERATOR # runtime
select BR2_PACKAGE_PYTHON_ATTRS # runtime
select BR2_PACKAGE_PYTHON_IDNA # runtime
select BR2_PACKAGE_PYTHON_OUTCOME # runtime
select BR2_PACKAGE_PYTHON_SNIFFIO # runtime
select BR2_PACKAGE_PYTHON_SORTEDCONTAINERS # runtime
help
A friendly Python library for async concurrency and I/O.
https://github.com/python-trio/trio

View File

@ -0,0 +1,7 @@
# md5, sha256 from https://pypi.org/pypi/trio/json
md5 f7dbfa6a8722065f09da188641d8ed93 trio-0.22.0.tar.gz
sha256 ce68f1c5400a47b137c5a4de72c7c901bd4e7a24fbdebfe9b41de8c6c04eaacf trio-0.22.0.tar.gz
# Locally computed sha256 checksums
sha256 418d025e1284311f2690263e6efa6bf51585e5741818ece63e5862487e505bb9 LICENSE
sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE.APACHE2
sha256 faa301d72dcc023b432bd77dc08a773ca3449e5c27440b9d66eb46fb8500b430 LICENSE.MIT

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-trio
#
################################################################################
PYTHON_TRIO_VERSION = 0.22.0
PYTHON_TRIO_SOURCE = trio-$(PYTHON_TRIO_VERSION).tar.gz
PYTHON_TRIO_SITE = https://files.pythonhosted.org/packages/0b/b8/1b81d2149c3e2c25900d40b8e6c8d3ca502a3cc844b90c962b0854aaf3f3
PYTHON_TRIO_SETUP_TYPE = setuptools
PYTHON_TRIO_LICENSE = Apache-2.0 or MIT
PYTHON_TRIO_LICENSE_FILES = LICENSE LICENSE.APACHE2 LICENSE.MIT
$(eval $(python-package))