From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id SA1ABiuSOV8ODAAA0tVLHw (envelope-from ) for ; Sun, 16 Aug 2020 20:08:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id GCkrAiuSOV98BgAA1q6Kng (envelope-from ) for ; Sun, 16 Aug 2020 20:08:11 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A93839402A0 for ; Sun, 16 Aug 2020 20:08:10 +0000 (UTC) Received: from localhost ([::1]:44580 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k7Owr-0002Bx-MI for larch@yhetil.org; Sun, 16 Aug 2020 16:08:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39054) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k7Owk-0002BG-OR for guix-patches@gnu.org; Sun, 16 Aug 2020 16:08:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47063) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k7Owk-0000Y6-FS for guix-patches@gnu.org; Sun, 16 Aug 2020 16:08:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k7Owk-0004yz-9u for guix-patches@gnu.org; Sun, 16 Aug 2020 16:08:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42894] [PATCH 3/4] gnu: Add python-priority. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 16 Aug 2020 20:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42894 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42894@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 42894-submit@debbugs.gnu.org id=B42894.159760847619129 (code B ref 42894); Sun, 16 Aug 2020 20:08:02 +0000 Received: (at 42894) by debbugs.gnu.org; 16 Aug 2020 20:07:56 +0000 Received: from localhost ([127.0.0.1]:58608 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k7Owd-0004yT-UI for submit@debbugs.gnu.org; Sun, 16 Aug 2020 16:07:56 -0400 Received: from mout01.posteo.de ([185.67.36.65]:42650) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k7Owc-0004xz-1i for 42894@debbugs.gnu.org; Sun, 16 Aug 2020 16:07:54 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 35B8016005F for <42894@debbugs.gnu.org>; Sun, 16 Aug 2020 22:07:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1597608468; bh=AVqOyq5Njmrf6txNslyHt59IMrJd/PjG2l3N04UEC0c=; h=From:To:Cc:Subject:Date:From; b=ehDh+ap8c2qB2bhsJ4DuqYRSF1XMaMver6JaMGiMZlUphXvHpkmFnoVoqm0CVFGwn 0BCpfncpf76ANj22s84vmZJdQi3PjchTsNEjTN+l1AsdEpZ43RpW6ZxQxwBYhXmHk2 0LYsaVD0DvbzMzaeBl2pO46xR1U/BCsx9cUJcU09UpVce8QkDQ5DCRXR97mLMJBq2C FhqlS2O9h4+X3Z+oJXSMbU0dL3YknePnkjKv1Ue5bc9JwCTtTiku93nUngIpVLRGGQ z+jIoiVlY5IvPvJ0QEE83fEONaXKlIpn14uyeHOJ5ijL7sGytWekYwfdfkiiyNpliM 5QjV3p/JMgvdA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BV7Wk6dXmz9rxW; Sun, 16 Aug 2020 22:07:46 +0200 (CEST) From: Vinicius Monego Date: Sun, 16 Aug 2020 17:07:25 -0300 Message-Id: <20200816200726.1998-2-monego@posteo.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200816200726.1998-1-monego@posteo.net> References: <20200816200726.1998-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=posteo.net header.s=2017 header.b=ehDh+ap8; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 5.09 X-TUID: ywPS8rHiMQgF * gnu/packages/python-web.scm (python-priority): New variable. --- gnu/packages/python-web.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index f05658555a..d6d3b733de 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -996,6 +996,38 @@ teams extension for python-openid.") (define-public python2-openid-teams (package-with-python2 python-openid-teams)) +(define-public python-priority + (package + (name "python-priority") + (version "1.3.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "priority" version)) + (sha256 + (base32 "1gpzn9k9zgks0iw5wdmad9b4dry8haiz2sbp6gycpjkzdld9dhbb")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs outputs #:allow-other-keys) + (add-installed-pythonpath inputs outputs) + (invoke "pytest" "-vv" "test" "-k" + ;; This test exceeded the Hypothesis deadline. + "not test_period_of_repetition")))))) + (native-inputs + `(("python-hypothesis" ,python-hypothesis) + ("python-pytest" ,python-pytest) + ("python-pytest-cov" ,python-pytest-cov) + ("python-pytest-xdist" ,python-pytest-xdist))) + (home-page "http://python-hyper.org/priority/") + (synopsis "Pure-Python implementation of the HTTP/2 priority tree") + (description + "Priority is a pure-Python implementation of the priority logic for HTTP/2, +set out in RFC 7540 Section 5.3 (Stream Priority).") + (license license:expat))) + (define-public python-wsproto (package (name "python-wsproto") -- 2.20.1