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 EAZ9NcpM4l5jKgAA0tVLHw (envelope-from ) for ; Thu, 11 Jun 2020 15:24:58 +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 GGBqMcpM4l7ubQAA1q6Kng (envelope-from ) for ; Thu, 11 Jun 2020 15:24:58 +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 7614594051C for ; Thu, 11 Jun 2020 15:24:58 +0000 (UTC) Received: from localhost ([::1]:43934 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jjP4a-0000bw-Vi for larch@yhetil.org; Thu, 11 Jun 2020 11:24:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52394) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jjOv7-0007B3-TK for guix-patches@gnu.org; Thu, 11 Jun 2020 11:15:09 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54464) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jjOv7-0004Ck-FY for guix-patches@gnu.org; Thu, 11 Jun 2020 11:15:09 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jjOv7-0005LG-A0 for guix-patches@gnu.org; Thu, 11 Jun 2020 11:15:09 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41807] [PATCH 10/26] gnu: Add python-h11. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 Jun 2020 15:15:09 +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.159188846620277 (code B ref 41807); Thu, 11 Jun 2020 15:15:09 +0000 Received: (at 41807) by debbugs.gnu.org; 11 Jun 2020 15:14:26 +0000 Received: from localhost ([127.0.0.1]:37742 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jjOuQ-0005Gs-3i for submit@debbugs.gnu.org; Thu, 11 Jun 2020 11:14:26 -0400 Received: from latitanza.investici.org ([82.94.249.234]:63641) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jjOuJ-0005DA-MG for 41807@debbugs.gnu.org; Thu, 11 Jun 2020 11:14:19 -0400 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 2B88F12018B; 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=f2gBnFgjDRAUOYwQzgCZhjMQenrm2yOmMpxg/57hZXE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ygk2iPnFJr5Jt8ZyneS5rA3xm4R4b8+QzU6QlDCiQYUTo7vwBz+7yRfXQaDMKxAup ivZLmkullkEuOR0D4C2QCuOKIf5H2ukbVmtDEKoT80EJbqtJXyuhmh5j5Zb9rSZbhh R+FgYj73QunjZt4z5IgngYC4+e87/VCSQ1Qpsom0= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id EF71712015C; Thu, 11 Jun 2020 15:14:15 +0000 (UTC) From: Giacomo Leidi Date: Thu, 11 Jun 2020 17:13:41 +0200 Message-Id: <20200611151357.18843-10-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 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) 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=autistici.org header.s=stigmate header.b=Ygk2iPnF; dmarc=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: 4.99 X-TUID: sRIhnE6QKOF0 * gnu/packages/python-web.scm (python-h11): New variable. --- gnu/packages/python-web.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 83333d5f1c..dcfe523912 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -4096,3 +4096,30 @@ based on filters.") NodeJS HTTP parser. It provides collection of framework independent HTTP protocol utils.") (license license:expat))) + +(define-public python-h11 + (package + (name "python-h11") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "h11" version)) + (sha256 + (base32 + "1qfad70h59hya21vrzz8dqyyaiqhac0anl2dx3s3k80gpskvrm1k")))) + (build-system python-build-system) + (native-inputs + `(("python-pytest" ,python-pytest))) + (home-page "https://github.com/python-hyper/h11") + (synopsis + "Python implementation of HTTP/1.1") + (description + "@code{python-h11} is a little HTTP/1.1 library written from +scratch in Python, heavily inspired by code{hyper-h2}. + +It's a \"bring-your-own-I/O\" library; @code{python-h11} contains no +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))) -- 2.26.2