2018-06-23 19:45:26 +00:00
|
|
|
#
|
|
|
|
# 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
|
2020-02-05 11:13:45 +00:00
|
|
|
PKG_RELEASE:=7
|
2018-06-23 19:45:26 +00:00
|
|
|
|
2019-10-20 19:03:12 +00:00
|
|
|
PYPI_NAME:=$(PKG_NAME)
|
2018-06-23 19:45:26 +00:00
|
|
|
PKG_HASH:=f71fff352a37316b9bead717fc76e4ddd6c9b99c4680cdf4783b9755af1cf985
|
|
|
|
|
2019-07-03 08:23:46 +00:00
|
|
|
PKG_MAINTAINER:=Eneas U de Queiroz <cotequeiroz@gmail.com>
|
|
|
|
PKG_LICENSE:=MIT
|
|
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
|
|
|
2019-10-20 19:03:12 +00:00
|
|
|
include ../pypi.mk
|
2018-06-23 19:45:26 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2019-07-03 08:23:46 +00:00
|
|
|
include ../python3-package.mk
|
|
|
|
|
2020-01-30 14:44:26 +00:00
|
|
|
define Package/django-ranged-response/Default
|
2018-06-23 19:45:26 +00:00
|
|
|
SUBMENU:=Python
|
|
|
|
SECTION:=lang
|
|
|
|
CATEGORY:=Languages
|
2019-05-16 14:49:55 +00:00
|
|
|
TITLE:=Add Content-Range: to FileResponse
|
2020-02-20 15:16:31 +00:00
|
|
|
URL:=https://github.com/i3thuan5/django-ranged-response
|
2019-07-03 08:23:46 +00:00
|
|
|
endef
|
|
|
|
|
2020-01-30 14:44:26 +00:00
|
|
|
define Package/python3-django-ranged-response
|
|
|
|
$(call Package/django-ranged-response/Default)
|
2019-07-03 08:23:46 +00:00
|
|
|
DEPENDS:= \
|
2020-01-30 14:44:26 +00:00
|
|
|
+PACKAGE_python3-django-ranged-response:python3 \
|
2020-02-05 11:13:45 +00:00
|
|
|
+PACKAGE_python3-django-ranged-response:python3-django1
|
2019-07-03 08:23:46 +00:00
|
|
|
VARIANT:=python3
|
|
|
|
endef
|
|
|
|
|
2020-01-30 14:44:26 +00:00
|
|
|
define Package/python3-django-ranged-response/description
|
2020-04-01 14:21:16 +00:00
|
|
|
Modified Django FileResponse that adds Content-Range headers.
|
2019-07-03 08:23:46 +00:00
|
|
|
.
|
|
|
|
(Variant for Python3)
|
|
|
|
endef
|
|
|
|
|
2020-01-30 14:44:26 +00:00
|
|
|
$(eval $(call Py3Package,python3-django-ranged-response))
|
|
|
|
$(eval $(call BuildPackage,python3-django-ranged-response))
|
|
|
|
$(eval $(call BuildPackage,python3-django-ranged-response-src))
|