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