From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id UOJWFyok92WkfgAAe85BDQ:P1 (envelope-from ) for ; Sun, 17 Mar 2024 18:11:06 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id UOJWFyok92WkfgAAe85BDQ (envelope-from ) for ; Sun, 17 Mar 2024 18:11:06 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=LF7YHn6o; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1710695450; a=rsa-sha256; cv=none; b=dz8F0wdnJQ/lOQmP5nhe92s/cGYBtnSCwSBvqNXOnpjXhrHHCk8hRiP1U8BAW5/CpWUoNk o+rJ7i/hddlVHdNv2J+WZo+bv8jDLyOMLvq6f6nrBAuvYqofawTLlDUCCOd1sjLx5teLAW 8TG/Gio980mKDMPENR2QoUeu9wYLVmkg8XUzfKmWV3Lmx+DwOjygAzKJe13q3jD/A6oT8D KRblAx9nehQWk/KMQmvkfYCbuJTZBt4PLNm7pIExG0yCTAbWHPC5YjRc22BomaO/H+QyLn LRE/6t3QnBW7D6WgV5kotnvwc3lJ0I8QhZatSqK32IpYNp50M6Lnl/DKZyFj9g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=LF7YHn6o; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1710695450; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=w3oiJDDlFuX8nC6IcyrlJTwImhaBgJV0JwI6gDooXVQ=; b=Sf2uZRvEXVYmy/Ky5XcjRIeBa+LZciFBFxOl2e+8OepbRoctvAENLRdORayEDRtKaPvn0H pCEomcFFjjdvtT0yl9olXuK8AA3wo20+aAMNWyXMGOzcioUh28YrjC4iNK92qnXLydmyIL ODI4n7r2nNm7w/cRIpclSMISJWwGCryMs8XvfqT0mrUYDipiL2BPrgxhQO0bslTcH4wR0m k6k8bkrQgdWUI5nFqJbq97H5sokdQNXdh0DjT2poOZe+N+I8hRsH/kHriVjCe0iIHS9o0j 4Rq4Rp4BOAMZk8T0A0QvZ2j0J8uFbriATzpc8g/RFO0d+swb0XV31TKwUaMeNQ== 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 427EC6C502 for ; Sun, 17 Mar 2024 18:10:50 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rlu1p-0000bb-O9; Sun, 17 Mar 2024 13:10:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rlu1m-0000Ri-L5 for guix-patches@gnu.org; Sun, 17 Mar 2024 13:10:30 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rlu1m-0001NT-C8; Sun, 17 Mar 2024 13:10:30 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rlu2J-0005hv-Tg; Sun, 17 Mar 2024 13:11:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#60238] [PATCH v3 6/7] gnu: Add python-cheroot. Resent-From: Sharlatan Hellseher Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, marius@gnu.org, me@bonfacemunyoki.com, sharlatanus@gmail.com, tanguy@bioneland.org, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Sun, 17 Mar 2024 17:11:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60238 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60238@debbugs.gnu.org Cc: Sharlatan Hellseher , dan , Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , Marius Bakke , Munyoki Kilyungi , Sharlatan Hellseher , Tanguy Le Carrour , jgart Received: via spool by 60238-submit@debbugs.gnu.org id=B60238.171069541621824 (code B ref 60238); Sun, 17 Mar 2024 17:11:03 +0000 Received: (at 60238) by debbugs.gnu.org; 17 Mar 2024 17:10:16 +0000 Received: from localhost ([127.0.0.1]:58855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rlu1X-0005ft-D8 for submit@debbugs.gnu.org; Sun, 17 Mar 2024 13:10:15 -0400 Received: from mail-wr1-f48.google.com ([209.85.221.48]:44165) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rlu1O-0005eE-Mc for 60238@debbugs.gnu.org; Sun, 17 Mar 2024 13:10:07 -0400 Received: by mail-wr1-f48.google.com with SMTP id ffacd0b85a97d-3416a975840so341829f8f.0 for <60238@debbugs.gnu.org>; Sun, 17 Mar 2024 10:09:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710695303; x=1711300103; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=w3oiJDDlFuX8nC6IcyrlJTwImhaBgJV0JwI6gDooXVQ=; b=LF7YHn6oP5IPJAqKzgnRruD05koBK/v+hQph1Y6pUdaqobiiG6BBRSD0dSB0tXwcut LoZJUIky6Pv69U3oFqehxKJ0abfZ2n/3L06lbQCl6OOVboEeky7LZRPbnC42UVe8DMfV 99ZOmGtJkfzPozTM/LXzosq03mann60wMvyWv38o42lmwx/jfR2wdKbgSKhPs/gEfrKD qYy9JNgZ4oV2V71EZ90I6+GE3nDBldIOuR8PSKS8KHgOEKWhWjRHLIZuD88RfsagXMKp igCKv7y6Do9ysyJz+0sGVBIOqH9AVhZkI1K5JYmeXp6IFDExSYYAgZVFLe9ZmgQhDxcK Y6lQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710695303; x=1711300103; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=w3oiJDDlFuX8nC6IcyrlJTwImhaBgJV0JwI6gDooXVQ=; b=GuWvfUBwLNLW8rW9lNBVXI4ylpBdZYhdm28XjgjMD5czwm3qR+/3MV8WkinIOGl1I0 x0fK/OTVtYNG8uUDC5p0iQVgKn5IC4BDCHSe93qGLBIpAtCFQjispLmxz4INufV5bTIV Pdw0hulTIm4GmqszshqLLqC1bBVixAfYPmh+Crx9m4WnC1uN/SsdCHrggM0GASjOeXkh Bq9SnBWYe4CQf29T2pLsB3NhF8SWK7wgJ5svW+x9aenQavFLkwNCOb6b4PMvdfVywKJA TcXoI6TaVF0fjs8pmcI0oIV5OjFOi1XTcGBnMDwf/fN9HXbuwmeQF5Bs2nkRfQ8mLHDS BOQw== X-Gm-Message-State: AOJu0Yzj23Gzsto3bf+63muyry3eeXGJ0ukESMnN3WH2xLGAT6255aPg jDG2FAsKGHUtia6FaMli12qiE+EVA4DoNT+nYT1MDFrafOWLFM5GbiT/o6Uz5Sc= X-Google-Smtp-Source: AGHT+IE4z53PNR2Crj6o0/MgFDVE+5fDwp5tarEZF/Pcrcw18OHK9yITzPDp9T7nz9aRFrlx2F2SRg== X-Received: by 2002:a5d:4e11:0:b0:33e:741b:4977 with SMTP id p17-20020a5d4e11000000b0033e741b4977mr6845115wrt.60.1710695303314; Sun, 17 Mar 2024 10:08:23 -0700 (PDT) Received: from localhost.localdomain (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id p10-20020a5d638a000000b0033e206a0a7asm7817968wru.26.2024.03.17.10.08.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Mar 2024 10:08:23 -0700 (PDT) From: Sharlatan Hellseher Date: Sun, 17 Mar 2024 17:08:13 +0000 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: 3.70 X-Spam-Score: 3.70 X-Migadu-Queue-Id: 427EC6C502 X-TUID: QF8rgo3eEODS From: dan * gnu/packages/python-web.scm (python-cheroot): New variable. Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-web.scm | 57 +++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index c2bdfc8da8..f14c0a7bde 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -58,6 +58,7 @@ ;;; Copyright © 2022 msimonin ;;; Copyright © 2022 Michael Rohleder ;;; Copyright © 2022 Baptiste Strazzulla +;;; Copyright © 2023 dan ;;; Copyright © 2023 John Kehayias ;;; Copyright © 2023 Ivan Vilata-i-Balaguer ;;; Copyright © 2024 Troy Figiel @@ -1279,6 +1280,62 @@ (define-public python-httplib2 other HTTP libraries.") (license license:expat))) +(define-public python-cheroot + (package + (name "python-cheroot") + (version "10.0.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "cheroot" version)) + (sha256 + (base32 + "1w0ind0dza9j1py56y23344piqkpyfmcm060qfrnk6gggy3s3i2r")))) + (build-system pyproject-build-system) + (arguments + (list + #:test-flags + #~(list "--cov=cheroot" + ;; Tests a flaky in parallel invocation. + ;; "--numprocesses=auto" + "--doctest-modules" + "--showlocals" + ;; Disable test requiring networking. + "-k" "not test_tls_client_auth") + #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? test-flags #:allow-other-keys) + (when tests? + (with-directory-excursion "/tmp" + (apply invoke "pytest" "-v" + (append test-flags (list #$output)))))))))) + (propagated-inputs + (list python-jaraco-functools + python-more-itertools + python-six)) + (native-inputs + (list python-cryptography + python-jaraco-text + python-portend + python-pyopenssl + python-pypytools + python-pytest + python-pytest-cov + python-pytest-mock + python-pytest-xdist + python-requests + python-requests-toolbelt + python-requests-unixsocket + python-setuptools-scm + python-setuptools-scm-git-archive + python-trustme)) + (home-page "https://cheroot.cherrypy.dev") + (synopsis "Highly-optimized, pure-python HTTP server") + (description + "Cheroot is a high-performance, pure-Python HTTP server.") + (license license:bsd-3))) + (define-public httpie (package (name "httpie") -- 2.41.0