2020-01-28 21:31:58 +01:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=asgiref
|
2021-10-27 12:18:49 +02:00
|
|
|
PKG_VERSION:=3.4.1
|
treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.
The following temporary change was made to the core:
diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))
COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))
all:
FORCE: ;
And this command used to fix affected packages:
for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
make package/$i/download
done
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 18:32:27 +02:00
|
|
|
PKG_RELEASE:=2
|
2020-01-28 21:31:58 +01:00
|
|
|
|
|
|
|
PYPI_NAME:=asgiref
|
2021-10-27 12:18:49 +02:00
|
|
|
PKG_HASH:=4ef1ab46b484e3c706329cedeff284a5d40824200638503f5768edb6de7d58e9
|
2020-01-28 21:31:58 +01:00
|
|
|
|
|
|
|
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:=Standard for Python asynchronous web apps and servers.
|
|
|
|
URL:=https://asgi.readthedocs.io/en/latest/
|
|
|
|
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))
|