Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 May 2018 16:54:44 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r469672 - in head/www: . py-django-ranged-response
Message-ID:  <201805111654.w4BGsi9h039761@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Fri May 11 16:54:44 2018
New Revision: 469672
URL: https://svnweb.freebsd.org/changeset/ports/469672

Log:
  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>

Added:
  head/www/py-django-ranged-response/
  head/www/py-django-ranged-response/Makefile   (contents, props changed)
  head/www/py-django-ranged-response/distinfo   (contents, props changed)
  head/www/py-django-ranged-response/pkg-descr   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Fri May 11 16:54:38 2018	(r469671)
+++ head/www/Makefile	Fri May 11 16:54:44 2018	(r469672)
@@ -1589,6 +1589,7 @@
     SUBDIR += py-django-post_office
     SUBDIR += py-django-profiles
     SUBDIR += py-django-pyscss
+    SUBDIR += py-django-ranged-response
     SUBDIR += py-django-recaptcha
     SUBDIR += py-django-redis
     SUBDIR += py-django-registration

Added: head/www/py-django-ranged-response/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-django-ranged-response/Makefile	Fri May 11 16:54:44 2018	(r469672)
@@ -0,0 +1,20 @@
+# $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>

Added: head/www/py-django-ranged-response/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-django-ranged-response/distinfo	Fri May 11 16:54:44 2018	(r469672)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1525989759
+SHA256 (django-ranged-response-0.2.0.tar.gz) = f71fff352a37316b9bead717fc76e4ddd6c9b99c4680cdf4783b9755af1cf985
+SIZE (django-ranged-response-0.2.0.tar.gz) = 3021

Added: head/www/py-django-ranged-response/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-django-ranged-response/pkg-descr	Fri May 11 16:54:44 2018	(r469672)
@@ -0,0 +1,5 @@
+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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805111654.w4BGsi9h039761>