From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id uBlPKrGROV+JDgAA0tVLHw (envelope-from ) for ; Sun, 16 Aug 2020 20:06:09 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id HjDwJbGROV9kEwAAbx9fmQ (envelope-from ) for ; Sun, 16 Aug 2020 20:06:09 +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 40690940654 for ; Sun, 16 Aug 2020 20:06:09 +0000 (UTC) Received: from localhost ([::1]:44328 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k7Ous-00022f-M8 for larch@yhetil.org; Sun, 16 Aug 2020 16:06:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38794) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k7Ouo-00022Z-I0 for guix-patches@gnu.org; Sun, 16 Aug 2020 16:06:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47054) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k7Ouo-0000SW-7r for guix-patches@gnu.org; Sun, 16 Aug 2020 16:06:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k7Ouo-0004uT-2Y for guix-patches@gnu.org; Sun, 16 Aug 2020 16:06:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#42894] [PATCH 1/4] gnu: Add python-h11. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 16 Aug 2020 20:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42894 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 42894@debbugs.gnu.org Cc: Vinicius Monego X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159760832318793 (code B ref -1); Sun, 16 Aug 2020 20:06:01 +0000 Received: (at submit) by debbugs.gnu.org; 16 Aug 2020 20:05:23 +0000 Received: from localhost ([127.0.0.1]:58600 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k7OuB-0004t3-8b for submit@debbugs.gnu.org; Sun, 16 Aug 2020 16:05:23 -0400 Received: from lists.gnu.org ([209.51.188.17]:46742) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k7Ou8-0004su-P3 for submit@debbugs.gnu.org; Sun, 16 Aug 2020 16:05:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38740) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k7Ou7-0001vs-8K for guix-patches@gnu.org; Sun, 16 Aug 2020 16:05:20 -0400 Received: from mout02.posteo.de ([185.67.36.66]:56903) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k7Ou3-0000FT-Uh for guix-patches@gnu.org; Sun, 16 Aug 2020 16:05:18 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 4861B2400FB for ; Sun, 16 Aug 2020 22:05:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1597608311; bh=vl/XByV1KhWxuBxM0n7+DjFyIG1/MjLqmpB2NlfM5p4=; h=From:To:Cc:Subject:Date:From; b=WJtrC5jTfGLH862KJ5EskVewCP2PL9+nOUt8FvDWWcr30+hrsVL37EmTQ3/f1NSh5 wKEtNUuSJBStXbFj1+11eKenj6qo/usFOy7BgDdIfU57mkN3EEBvAymto2pY5x4LXY ma0Zcc8Vko7jNAUlIF8pspAl2QZwoIyplVbHLnmBe0Bk8bHGX613QXbq+VpiD+8Bi9 pix4gUYmIokY1x/FyhRQKoq0gPR9qoPmuwdgDrCvDCr9TVWirnzSBqABHC3rFLQHD3 F+6fZHg/UEfQ9dC8mTCYmChoCU/YBxY5LKXzT+uP6Rnn+vEzyXDnhJ7XfDeo+0D3iL KYHobpnJ8My0Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BV7Sj4L6jz6tmZ; Sun, 16 Aug 2020 22:05:08 +0200 (CEST) From: Vinicius Monego Date: Sun, 16 Aug 2020 17:04:54 -0300 Message-Id: <20200816200454.1467-1-monego@posteo.net> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.66; envelope-from=monego@posteo.net; helo=mout02.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/16 14:10:54 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -2.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=WJtrC5jT; 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: QioZ8fxwhOq4 * gnu/packages/python-web.scm (python-h11): New variable. --- gnu/packages/python-web.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index f9c8157f0d..957c5ceeff 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -527,6 +527,34 @@ into HTTP/2 frames.") for use in Python programs that implement HTTP/2.") (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) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "pytest" "-vv")))))) + (native-inputs + `(("python-pytest" ,python-pytest))) + (home-page "https://github.com/python-hyper/h11") + (synopsis "Pure-Python, bring-your-own-I/O implementation of HTTP/1.1") + (description + "This is a little HTTP/1.1 library written from scratch in Python, heavily +inspired by hyper-h2. It's a bring-your-own-I/O library; h11 contains no IO +code whatsoever. This means you can hook h11 up to your favorite network API, +and that could be anything you want.") + (license license:expat))) + (define-public python-h2 (package (name "python-h2") -- 2.20.1