aboutsummaryrefslogtreecommitdiff
path: root/lang/python/python-trio/Makefile
blob: d90f1b8f85043d0dd5ecafcf55f22a3dc4ddd52f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#
# 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.22.2
PKG_RELEASE:=1

PYPI_NAME:=trio
PKG_HASH:=3887cf18c8bcc894433420305468388dac76932e9668afa1c49aa3806b6accb3

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-idna \
    +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))