From owner-svn-ports-head@freebsd.org Wed Jun 27 23:32:16 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D6F3D101B9A8; Wed, 27 Jun 2018 23:32:15 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E40D8793EF; Wed, 27 Jun 2018 23:32:14 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 370211D15; Wed, 27 Jun 2018 23:32:14 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w5RNWDX6076903; Wed, 27 Jun 2018 23:32:13 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w5RNWD3s076899; Wed, 27 Jun 2018 23:32:13 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201806272332.w5RNWD3s076899@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Wed, 27 Jun 2018 23:32:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r473464 - in head/www: . py-priority X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/www: . py-priority X-SVN-Commit-Revision: 473464 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jun 2018 23:32:16 -0000 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 +# $FreeBSD$ + +PORTNAME= priority +PORTVERSION= 1.3.0 +CATEGORIES= www python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@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 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