summaryrefslogtreecommitdiff
path: root/lang/python/python-asgiref
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2023-06-06 17:50:18 +0800
committerRosen Penev <rosenp@gmail.com>2023-06-07 23:19:54 +0300
commitb098f2ac40b74117ed596cbecb2ab9abfa4388e1 (patch)
tree0b745e11058a447c972e17e7ebe1a739caa70ba9 /lang/python/python-asgiref
parentc314348e8f5fa8d2430d15568cda746b72cb90b7 (diff)
python3-asgiref: Update to 3.7.2, rename source package
This renames the source package to python-asgiref to match other Python packages. This also updates the package title and URL. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat (limited to 'lang/python/python-asgiref')
-rw-r--r--lang/python/python-asgiref/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/lang/python/python-asgiref/Makefile b/lang/python/python-asgiref/Makefile
new file mode 100644
index 000000000..4547758d9
--- /dev/null
+++ b/lang/python/python-asgiref/Makefile
@@ -0,0 +1,34 @@
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=python-asgiref
+PKG_VERSION:=3.7.2
+PKG_RELEASE:=1
+
+PYPI_NAME:=asgiref
+PKG_HASH:=9e0ce3aa93a819ba5b45120216b23878cf6e8525eb3848653452b4192b92afed
+
+PKG_MAINTAINER:=Peter Stadler <peter.stadler@student.uibk.ac.at>
+PKG_LICENSE:=BSD-3-Clause
+PKG_LICENSE_FILES:=LICENSE
+
+include ../pypi.mk
+include $(INCLUDE_DIR)/package.mk
+include ../python3-package.mk
+
+define Package/python3-asgiref
+ SUBMENU:=Python
+ SECTION:=lang
+ CATEGORY:=Languages
+ TITLE:=ASGI specs, helper code, and adapters
+ URL:=https://github.com/django/asgiref/
+ DEPENDS:=+python3-light +python3-logging +python3-asyncio
+endef
+
+define Package/python3-asgiref/description
+ ASGI is a standard for Python asynchronous web apps and servers to communicate
+ with each other, and positioned as an asynchronous successor to WSGI.
+endef
+
+$(eval $(call Py3Package,python3-asgiref))
+$(eval $(call BuildPackage,python3-asgiref))
+$(eval $(call BuildPackage,python3-asgiref-src))