summaryrefslogtreecommitdiff
path: root/lang/python/python-trio/Makefile
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2022-11-29 16:57:10 +0200
committerGitHub <noreply@github.com>2022-11-29 16:57:10 +0200
commitd115eec84f22ca87e83d284c88e525f19e5fa4b4 (patch)
tree5a77e2b7cdb0020ecf6d8b422b16d0c1ab507d80 /lang/python/python-trio/Makefile
parent8bd96675b27584b7686f053af0a6bd63c2484c92 (diff)
parent2ad61a4529a5f600da47c071bb1bf2ce7462c14c (diff)
Merge pull request #19973 from julienmalik/borg
borgbackup: initial commit
Diffstat (limited to 'lang/python/python-trio/Makefile')
-rw-r--r--lang/python/python-trio/Makefile49
1 files changed, 49 insertions, 0 deletions
diff --git a/lang/python/python-trio/Makefile b/lang/python/python-trio/Makefile
new file mode 100644
index 000000000..8afd6b29a
--- /dev/null
+++ b/lang/python/python-trio/Makefile
@@ -0,0 +1,49 @@
+#
+# 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.0
+PKG_RELEASE:=1
+
+PYPI_NAME:=trio
+PKG_HASH:=ce68f1c5400a47b137c5a4de72c7c901bd4e7a24fbdebfe9b41de8c6c04eaacf
+
+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:=A friendly Python library for async concurrency and I/O
+ URL:=https://trio.readthedocs.io
+ DEPENDS:= \
+ +python3-light \
+ +python3-attrs \
+ +python3-async-generator \
+ +python3-cffi \
+ +python3-exceptiongroup \
+ +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))