freebsd-ports/www/py-django-ranged-response/Makefile
Sunpoet Po-Chuan Hsieh 39e39c600c Add py-django-ranged-response 0.2.0
This is a modified FileResponse that returns 'Content-Range' headers with the
HTTP response, so browsers (e.g. Safari 9+) that request the file, can stream
the response properly.

WWW: https://github.com/i3thuan5/django-ranged-response

PR:		228132
Submitted by:	Kai <freebsd_ports@k-worx.org>
2018-05-11 16:54:44 +00:00

20 lines
438 B
Makefile

# $FreeBSD$
PORTNAME= django-ranged-response
DISTVERSION= 0.2.0
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= freebsd_ports@k-worx.org
COMMENT= Modified Django FileResponse that adds Content-Range headers
LICENSE= MIT
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django111>=0:www/py-django111@${PY_FLAVOR}
USES= python
USE_PYTHON= distutils autoplist
NO_ARCH= yes
.include <bsd.port.mk>