mirror of
https://github.com/openwrt/packages.git
synced 2026-04-16 11:22:16 +00:00
Bump version 0.22.2 -> 0.33.0. Add python3-ctypes, python3-logging, python3-openssl to DEPENDS (required by the new version). Add test.sh to verify nursery-based concurrent task execution. Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
51 lines
1.3 KiB
Makefile
51 lines
1.3 KiB
Makefile
#
|
||
# Copyright (C) 2022 Julien Malik <julien.malik@paraiso.me>
|
||
#
|
||
# This is free software, licensed under the GNU General Public License v2.
|
||
# See /LICENSE for more information.
|
||
#
|
||
|
||
include $(TOPDIR)/rules.mk
|
||
|
||
PKG_NAME:=python-trio
|
||
PKG_VERSION:=0.33.0
|
||
PKG_RELEASE:=1
|
||
|
||
PYPI_NAME:=trio
|
||
PKG_HASH:=a29b92b73f09d4b48ed249acd91073281a7f1063f09caba5dc70465b5c7aa970
|
||
|
||
PKG_LICENSE:=Apache-2.0 MIT
|
||
PKG_LICENSE_FILES:=LICENSE.APACHE2 LICENSE.MIT
|
||
PKG_MAINTAINER:=Julien Malik <julien.malik@paraiso.me>
|
||
|
||
include ../pypi.mk
|
||
include $(INCLUDE_DIR)/package.mk
|
||
include ../python3-package.mk
|
||
|
||
define Package/python3-trio
|
||
SECTION:=lang
|
||
CATEGORY:=Languages
|
||
SUBMENU:=Python
|
||
TITLE:=Friendly library for async concurrency and I/O
|
||
URL:=https://github.com/python-trio/trio
|
||
DEPENDS:= \
|
||
+python3-light \
|
||
+python3-attrs \
|
||
+python3-ctypes \
|
||
+python3-idna \
|
||
+python3-logging \
|
||
+python3-openssl \
|
||
+python3-outcome \
|
||
+python3-sniffio \
|
||
+python3-sortedcontainers
|
||
endef
|
||
|
||
define Package/python3-trio/description
|
||
The Trio project’s goal is to produce a production-quality, permissively
|
||
licensed, async/await-native I/O library for Python.
|
||
endef
|
||
|
||
$(eval $(call Py3Package,python3-trio))
|
||
$(eval $(call BuildPackage,python3-trio))
|
||
$(eval $(call BuildPackage,python3-trio-src))
|