From patchwork Sat Jan 13 11:40:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Troy Figiel X-Patchwork-Id: 58839 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 BA06C27BBEA; Sat, 13 Jan 2024 12:00:17 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id B47F427BBE2 for ; Sat, 13 Jan 2024 12:00:13 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rOcgJ-00020J-8Q; Sat, 13 Jan 2024 07:00:07 -0500 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 1rOcgH-000203-G9 for guix-patches@gnu.org; Sat, 13 Jan 2024 07:00:05 -0500 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 1rOcgH-0002W7-7P for guix-patches@gnu.org; Sat, 13 Jan 2024 07:00:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rOcgF-0002vg-Nv for guix-patches@gnu.org; Sat, 13 Jan 2024 07:00:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68424] [PATCH 3/3] gnu: hypercorn: Reformat with guix style. References: <877ckd4fda.fsf@troyfigiel.com> In-Reply-To: <877ckd4fda.fsf@troyfigiel.com> Resent-From: Troy Figiel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 13 Jan 2024 12:00:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68424 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68424@debbugs.gnu.org Received: via spool by 68424-submit@debbugs.gnu.org id=B68424.170514720011130 (code B ref 68424); Sat, 13 Jan 2024 12:00:03 +0000 Received: (at 68424) by debbugs.gnu.org; 13 Jan 2024 12:00:00 +0000 Received: from localhost ([127.0.0.1]:38659 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rOcgC-0002tQ-5D for submit@debbugs.gnu.org; Sat, 13 Jan 2024 07:00:00 -0500 Received: from mout-p-202.mailbox.org ([2001:67c:2050:0:465::202]:58512) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rOcgA-0002t6-V2 for 68424@debbugs.gnu.org; Sat, 13 Jan 2024 06:59:59 -0500 Received: from smtp102.mailbox.org (smtp102.mailbox.org [IPv6:2001:67c:2050:b231:465::102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4TBxm66mlDz9scH for <68424@debbugs.gnu.org>; Sat, 13 Jan 2024 12:59:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=troyfigiel.com; s=MBO0001; t=1705147190; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=prJd+tWJCV5AGsyvSeT3Im/VC0YLteAsRBXRZELY1oc=; b=Xp/Ir30Z+6qOA/Fi9he6FyD33ibbKAqETnuNGQHF1I9bzQCwUPQoAlu2dswxPovTgs7L8S aO86iqgt9x/qpb5HQoUu1L5OGtaM/zC/3aNLyDgaSoRkJznKXg/W8sH3M5XpBKqA6logGE 2JihfuPQWR+V4YhPZypKASR3XKEQYkM9BvOH5inEKRgQngXwxudmkk1R6/rLFfdF3CHLVi T14w/DGp9bqPtKN9VGODVgnEKQLmZwouU0ugeGlHvKrKxgHBDoO4qHwXR4LsZ5xNMBBt5J 9KWdsFxTX8446CfZQE9RYYVmyoc+dcd0+lKoIUM2cg/KeRtYlkYoxS7ZBhveYA== From: Troy Figiel Date: Sat, 13 Jan 2024 12:40:12 +0100 Message-ID: <8734v14f61.fsf@troyfigiel.com> MIME-Version: 1.0 X-Rspamd-Queue-Id: 4TBxm66mlDz9scH 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-web.scm (hypercorn): Reformat with guix style. --- gnu/packages/python-web.scm | 46 ++++++++++++++++++------------------- 1 file changed, 22 insertions(+), 24 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index f88ea6437e..ee1a4d8a3f 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -2380,32 +2380,30 @@ (define-public hypercorn (package (name "hypercorn") (version "0.14.4") - (source (origin - (method git-fetch) ;PyPI does not have tests - (uri (git-reference - (url "https://github.com/pgjones/hypercorn") - (commit version))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0zyf5b8959sd12ycmqzvsb8746i3gn76rz55gxvix5cwj672m7yx")))) + (source + (origin + (method git-fetch) ;PyPI does not have tests + (uri (git-reference + (url "https://github.com/pgjones/hypercorn") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0zyf5b8959sd12ycmqzvsb8746i3gn76rz55gxvix5cwj672m7yx")))) (build-system pyproject-build-system) ;; Propagate because Hypercorn also exposes functionality over a module. - (propagated-inputs - (list python-exceptiongroup - python-h11 - python-h2 - python-priority - python-tomli - python-wsproto)) - (native-inputs - (list python-hypothesis - python-poetry-core - python-pytest - python-pytest-asyncio - python-pytest-cov - python-pytest-trio - python-trio)) + (propagated-inputs (list python-exceptiongroup + python-h11 + python-h2 + python-priority + python-tomli + python-wsproto)) + (native-inputs (list python-hypothesis + python-poetry-core + python-pytest + python-pytest-asyncio + python-pytest-cov + python-pytest-trio + python-trio)) (home-page "https://gitlab.com/pgjones/hypercorn/") (synopsis "ASGI Server based on Hyper libraries") (description