mirror of
https://github.com/openwrt/packages.git
synced 2026-06-01 07:21:56 +08:00
ccd69a148f
Major changes since 3.10.0: 4.0: - add CORS_ALLOW_PRIVATE_NETWORK setting for Local Network Access spec support - add async middleware support, reducing overhead on async views - remove deprecated CORS_REPLACE_HTTPS_REFERER and CorsPostCsrfMiddleware - remove three header names from default allowed list (accept-encoding, dnt, origin) 4.3: - fix access-control-allow-credentials header not being omitted on non-allowed responses 4.6: - drop support for Django 3.2 through 4.1 4.9: - add Django 6.0 support - tighten validation of sequence-type settings (e.g. CORS_ALLOW_METHODS) Add PYPI_SOURCE_NAME:=django_cors_headers as the 4.x sdist uses underscores in the filename. Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
35 lines
1.1 KiB
Makefile
35 lines
1.1 KiB
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=django-cors-headers
|
|
PKG_VERSION:=4.9.0
|
|
PKG_RELEASE:=2
|
|
|
|
PYPI_NAME:=django-cors-headers
|
|
PYPI_SOURCE_NAME:=django_cors_headers
|
|
PKG_HASH:=fe5d7cb59fdc2c8c646ce84b727ac2bca8912a247e6e68e1fb507372178e59e8
|
|
|
|
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))
|