openwrt-packages/lang/python/django-ranged-response/Makefile

39 lines
1.1 KiB
Makefile

#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=django-ranged-response
PKG_VERSION:=0.2.0
PKG_RELEASE:=4
PKG_MAINTAINER:=Eneas U de Queiroz <cote2004-github@yahoo.com>
PKG_LICENSE:=MIT
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/d/${PKG_NAME}
PKG_HASH:=f71fff352a37316b9bead717fc76e4ddd6c9b99c4680cdf4783b9755af1cf985
include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
define Package/django-ranged-response
SUBMENU:=Python
SECTION:=lang
CATEGORY:=Languages
TITLE:=Add Content-Range: to FileResponse
URL:=https://github.com/wearespindle/django-ranged-fileresponse
DEPENDS:=+python +python-django
VARIANT:=python
endef
define Package/django-ranged-response/description
Modified Django FileResponse that adds Content-Range headers.
endef
$(eval $(call PyPackage,django-ranged-response))
$(eval $(call BuildPackage,django-ranged-response))
$(eval $(call BuildPackage,django-ranged-response-src))