From patchwork Thu Jun 11 15:13:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giacomo Leidi X-Patchwork-Id: 22647 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E8A1127BBE3; Thu, 11 Jun 2020 16:21:12 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_ADSP_ALL, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, T_DKIM_INVALID,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id A9E5827BBE1 for ; Thu, 11 Jun 2020 16:21:12 +0100 (BST) Received: from localhost ([::1]:36114 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jjP0x-0005BI-Tm for patchwork@mira.cbaines.net; Thu, 11 Jun 2020 11:21:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52410) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jjOv8-0007Bu-Oj for guix-patches@gnu.org; Thu, 11 Jun 2020 11:15:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54466) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jjOv8-0004Cz-Aj for guix-patches@gnu.org; Thu, 11 Jun 2020 11:15:10 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jjOv8-0005LV-6A for guix-patches@gnu.org; Thu, 11 Jun 2020 11:15:10 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41807] [PATCH 11/26] gnu: Add python-hpack. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Jun 2020 15:15:10 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41807 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 41807@debbugs.gnu.org Cc: Giacomo Leidi Received: via spool by 41807-submit@debbugs.gnu.org id=B41807.159188847120299 (code B ref 41807); Thu, 11 Jun 2020 15:15:10 +0000 Received: (at 41807) by debbugs.gnu.org; 11 Jun 2020 15:14:31 +0000 Received: from localhost ([127.0.0.1]:37746 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jjOuQ-0005H7-PF for submit@debbugs.gnu.org; Thu, 11 Jun 2020 11:14:30 -0400 Received: from latitanza.investici.org ([82.94.249.234]:45269) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jjOuK-0005DR-0H for 41807@debbugs.gnu.org; Thu, 11 Jun 2020 11:14:20 -0400 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 77A461201AD; Thu, 11 Jun 2020 15:14:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1591888456; bh=XDt69e9M+kIH5BwNs8nq6uUkK5SqUIM/e5QwRJ2PpSA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WS5BvDaXgwdu+CMmtgnlHdorvGLmSE9JDhD4jo29pHiQsbbZUH0s3WGxDA4eyWZoI pI4IRV3QuyjOLvxgd2h45YrR1vH6/p+U5E7FTXiKj5LMuJwo13N2UfbathbHQk75gi v16SPoJZQzJ4kHwzhNsNQ6mnVU55RiFdxPBSRD6Q= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 494D312015C; Thu, 11 Jun 2020 15:14:16 +0000 (UTC) From: Giacomo Leidi Date: Thu, 11 Jun 2020 17:13:42 +0200 Message-Id: <20200611151357.18843-11-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20200611151357.18843-1-goodoldpaul@autistici.org> References: <20200611151357.18843-1-goodoldpaul@autistici.org> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-web.scm (python-hpack): New variable. --- gnu/packages/python-web.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index dcfe523912..4810a10834 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -4123,3 +4123,22 @@ IO code whatsoever. This means you can hook @code{python-h11} up to your favorite network API: synchronous, threaded, asynchronous, or your own implementation of RFC 6214.") (license license:expat))) + +(define-public python-hpack + (package + (name "python-hpack") + (version "3.0.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "hpack" version)) + (sha256 + (base32 + "1lp9ja4dk6jg0pm2d18kvh95k9p6yxhh4l1h7y541qzs9cgrrv4f")))) + (build-system python-build-system) + (home-page "http://hyper.rtfd.org") + (synopsis "HTTP/2 Header Encoding for Python") + (description + "@code{python-hpack} contains a pure-Python HTTP/2 header encoding +(HPACK) logic for use in Python programs that implement HTTP/2.") + (license license:expat)))