svn commit: r473464 - in head/www: . py-priority

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Wed Jun 27 23:32:16 UTC 2018


Author: sunpoet
Date: Wed Jun 27 23:32:12 2018
New Revision: 473464
URL: https://svnweb.freebsd.org/changeset/ports/473464

Log:
  Add py-priority 1.3.0
  
  Priority is a pure-Python implementation of the priority logic for HTTP/2, set
  out in RFC 7540 Section 5.3 (Stream Priority). This logic allows for clients to
  express a preference for how the server allocates its (limited) resources to the
  many outstanding HTTP requests that may be running over a single HTTP/2
  connection.
  
  Specifically, this Python implementation uses a variant of the implementation
  used in the excellent H2O project. This original implementation is also the
  inspiration for nghttp2's priority implementation, and generally produces a very
  clean and even priority stream. The only notable changes from H2O's
  implementation are small modifications to allow the priority implementation to
  work cleanly as a separate implementation, rather than being embedded in a
  HTTP/2 stack directly.
  
  While priority information in HTTP/2 is only a suggestion, rather than an
  enforceable constraint, where possible servers should respect the priority
  requests of their clients.
  
  WWW: https://github.com/python-hyper/priority

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

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Wed Jun 27 23:32:06 2018	(r473463)
+++ head/www/Makefile	Wed Jun 27 23:32:12 2018	(r473464)
@@ -1805,6 +1805,7 @@
     SUBDIR += py-poster
     SUBDIR += py-praw
     SUBDIR += py-prewikka
+    SUBDIR += py-priority
     SUBDIR += py-puppetboard
     SUBDIR += py-puppetboard02
     SUBDIR += py-puppetboard03

Added: head/www/py-priority/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-priority/Makefile	Wed Jun 27 23:32:12 2018	(r473464)
@@ -0,0 +1,20 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	priority
+PORTVERSION=	1.3.0
+CATEGORIES=	www python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet at FreeBSD.org
+COMMENT=	Pure-Python implementation of the HTTP/2 priority tree
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+NO_ARCH=	yes
+USE_PYTHON=	autoplist concurrent distutils
+USES=		python
+
+.include <bsd.port.mk>

Added: head/www/py-priority/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-priority/distinfo	Wed Jun 27 23:32:12 2018	(r473464)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1530051116
+SHA256 (priority-1.3.0.tar.gz) = 6bc1961a6d7fcacbfc337769f1a382c8e746566aaa365e78047abe9f66b2ffbe
+SIZE (priority-1.3.0.tar.gz) = 13827

Added: head/www/py-priority/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/py-priority/pkg-descr	Wed Jun 27 23:32:12 2018	(r473464)
@@ -0,0 +1,19 @@
+Priority is a pure-Python implementation of the priority logic for HTTP/2, set
+out in RFC 7540 Section 5.3 (Stream Priority). This logic allows for clients to
+express a preference for how the server allocates its (limited) resources to the
+many outstanding HTTP requests that may be running over a single HTTP/2
+connection.
+
+Specifically, this Python implementation uses a variant of the implementation
+used in the excellent H2O project. This original implementation is also the
+inspiration for nghttp2's priority implementation, and generally produces a very
+clean and even priority stream. The only notable changes from H2O's
+implementation are small modifications to allow the priority implementation to
+work cleanly as a separate implementation, rather than being embedded in a
+HTTP/2 stack directly.
+
+While priority information in HTTP/2 is only a suggestion, rather than an
+enforceable constraint, where possible servers should respect the priority
+requests of their clients.
+
+WWW: https://github.com/python-hyper/priority


More information about the svn-ports-all mailing list