openwrt-packages/lang/python/python3-django-cors-headers/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))