mirror of
https://github.com/openwrt/packages.git
synced 2025-02-12 04:38:06 +00:00
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>
34 lines
1.0 KiB
Makefile
34 lines
1.0 KiB
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=django-cors-headers
|
|
PKG_VERSION:=3.10.0
|
|
PKG_RELEASE:=2
|
|
|
|
PYPI_NAME:=django-cors-headers
|
|
PKG_HASH:=cd6f4360f5246569c149dc1c40c907c191f1ec45551e10d2a2e2e68512652f78
|
|
|
|
PKG_MAINTAINER:=Peter Stadler <peter.stadler@student.uibk.ac.at>
|
|
PKG_LICENSE:=MIT
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
|
|
include ../pypi.mk
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include ../python3-package.mk
|
|
|
|
define Package/python3-django-cors-headers
|
|
SUBMENU:=Python
|
|
SECTION:=lang
|
|
CATEGORY:=Languages
|
|
TITLE:=Django application for handling the server headers required for Cross-Origin Resource Sharing (CORS).
|
|
URL:=https://github.com/adamchainz/django-cors-headers
|
|
DEPENDS:=+python3-django +python3-urllib +python3-light
|
|
endef
|
|
|
|
define Package/python3-django-cors-headers/description
|
|
Django application for handling the server headers required for Cross-Origin Resource Sharing (CORS).
|
|
endef
|
|
|
|
$(eval $(call Py3Package,python3-django-cors-headers))
|
|
$(eval $(call BuildPackage,python3-django-cors-headers))
|
|
$(eval $(call BuildPackage,python3-django-cors-headers-src))
|