You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.1 KiB

  1. #
  2. # This is free software, licensed under the GNU General Public License v2.
  3. # See /LICENSE for more information.
  4. #
  5. include $(TOPDIR)/rules.mk
  6. PKG_NAME:=django-ranged-response
  7. PKG_VERSION:=0.2.0
  8. PKG_RELEASE:=3
  9. PKG_MAINTAINER:=Eneas U de Queiroz <cote2004-github@yahoo.com>
  10. PKG_LICENSE:=MIT
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/d/${PKG_NAME}
  13. PKG_HASH:=f71fff352a37316b9bead717fc76e4ddd6c9b99c4680cdf4783b9755af1cf985
  14. include $(INCLUDE_DIR)/package.mk
  15. include ../python-package.mk
  16. define Package/django-ranged-response
  17. SUBMENU:=Python
  18. SECTION:=lang
  19. CATEGORY:=Languages
  20. TITLE:=Add Content-Range: to FileResponse
  21. URL:=https://github.com/wearespindle/django-ranged-fileresponse
  22. DEPENDS:=+python +django
  23. VARIANT:=python
  24. endef
  25. define Package/django-ranged-response/description
  26. Modified Django FileResponse that adds Content-Range headers.
  27. endef
  28. $(eval $(call PyPackage,django-ranged-response))
  29. $(eval $(call BuildPackage,django-ranged-response))
  30. $(eval $(call BuildPackage,django-ranged-response-src))