From owner-dev-commits-ports-all@freebsd.org Tue Jul 6 15:04:34 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 839466596E7; Tue, 6 Jul 2021 15:04:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GK5SL398vz3JlN; Tue, 6 Jul 2021 15:04:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4E5A81BC8A; Tue, 6 Jul 2021 15:04:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 166F4Y0A019419; Tue, 6 Jul 2021 15:04:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 166F4YEU019418; Tue, 6 Jul 2021 15:04:34 GMT (envelope-from git) Date: Tue, 6 Jul 2021 15:04:34 GMT Message-Id: <202107061504.166F4YEU019418@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 4b327b761217 - main - www/py-priority1: Add py-priority1 1.3.0 (copied from py-priority) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4b327b761217146ef3f453d969c0ab5c23240353 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2021 15:04:34 -0000 The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=4b327b761217146ef3f453d969c0ab5c23240353 commit 4b327b761217146ef3f453d969c0ab5c23240353 Author: Po-Chuan Hsieh AuthorDate: 2021-07-06 14:54:37 +0000 Commit: Po-Chuan Hsieh CommitDate: 2021-07-06 14:54:37 +0000 www/py-priority1: Add py-priority1 1.3.0 (copied from py-priority) - Add PORTSCOUT --- www/Makefile | 1 + www/py-priority1/Makefile | 23 +++++++++++++++++++++++ www/py-priority1/distinfo | 3 +++ www/py-priority1/pkg-descr | 19 +++++++++++++++++++ 4 files changed, 46 insertions(+) diff --git a/www/Makefile b/www/Makefile index 57fcd3405c8a..b23978c52355 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1684,6 +1684,7 @@ SUBDIR += py-praw SUBDIR += py-prawcore SUBDIR += py-priority + SUBDIR += py-priority1 SUBDIR += py-protego SUBDIR += py-puppetboard SUBDIR += py-py-restclient diff --git a/www/py-priority1/Makefile b/www/py-priority1/Makefile new file mode 100644 index 000000000000..bc3898031fe7 --- /dev/null +++ b/www/py-priority1/Makefile @@ -0,0 +1,23 @@ +# Created by: Po-Chuan Hsieh + +PORTNAME= priority +PORTVERSION= 1.3.0 +CATEGORIES= www python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +PKGNAMESUFFIX= 1 + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Pure-Python implementation of the HTTP/2 priority tree + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= python:3.6+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +PORTSCOUT= limit:^1\. + +.include diff --git a/www/py-priority1/distinfo b/www/py-priority1/distinfo new file mode 100644 index 000000000000..c3a2b5d3cbc0 --- /dev/null +++ b/www/py-priority1/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1530051116 +SHA256 (priority-1.3.0.tar.gz) = 6bc1961a6d7fcacbfc337769f1a382c8e746566aaa365e78047abe9f66b2ffbe +SIZE (priority-1.3.0.tar.gz) = 13827 diff --git a/www/py-priority1/pkg-descr b/www/py-priority1/pkg-descr new file mode 100644 index 000000000000..8042496947ee --- /dev/null +++ b/www/py-priority1/pkg-descr @@ -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