From patchwork Sun Aug 14 16:35:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 41675 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 9E1B327BBEA; Sun, 14 Aug 2022 17:37:56 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=unavailable 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 6BF0327BBE9 for ; Sun, 14 Aug 2022 17:37:56 +0100 (BST) Received: from localhost ([::1]:36040 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oNGcd-0001nD-Kf for patchwork@mira.cbaines.net; Sun, 14 Aug 2022 12:37:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33798) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNGbn-0001T6-2W for guix-patches@gnu.org; Sun, 14 Aug 2022 12:37:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49964) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oNGbm-0004ct-Pt for guix-patches@gnu.org; Sun, 14 Aug 2022 12:37:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oNGbm-0005sY-Ma for guix-patches@gnu.org; Sun, 14 Aug 2022 12:37:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57056] [PATCH v3 1/3] gnu: Add python-whatthepatch. References: <87a68fkosf.fsf@ngraves.fr> In-Reply-To: <87a68fkosf.fsf@ngraves.fr> Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 14 Aug 2022 16:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57056 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57056@debbugs.gnu.org Cc: Nicolas Graves Received: via spool by 57056-submit@debbugs.gnu.org id=B57056.166049497622499 (code B ref 57056); Sun, 14 Aug 2022 16:37:02 +0000 Received: (at 57056) by debbugs.gnu.org; 14 Aug 2022 16:36:16 +0000 Received: from localhost ([127.0.0.1]:39702 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNGb1-0005qo-PM for submit@debbugs.gnu.org; Sun, 14 Aug 2022 12:36:16 -0400 Received: from 2.mo560.mail-out.ovh.net ([188.165.53.149]:57473) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNGat-0005qA-9a for 57056@debbugs.gnu.org; Sun, 14 Aug 2022 12:36:08 -0400 Received: from player756.ha.ovh.net (unknown [10.110.115.3]) by mo560.mail-out.ovh.net (Postfix) with ESMTP id 62125222DF for <57056@debbugs.gnu.org>; Sun, 14 Aug 2022 16:36:04 +0000 (UTC) Received: from ngraves.fr (met42-h01-213-44-161-47.dsl.sta.abo.bbox.fr [213.44.161.47]) (Authenticated sender: ngraves@ngraves.fr) by player756.ha.ovh.net (Postfix) with ESMTPSA id 801B42CB74832; Sun, 14 Aug 2022 16:36:03 +0000 (UTC) Authentication-Results: garm.ovh; auth=pass (GARM-105G006280c2499-2028-48c1-b2bc-0f4da26d25f6, A728B5C477DFC82AF468DED1B709942BB5369094) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 213.44.161.47 Date: Sun, 14 Aug 2022 18:35:58 +0200 Message-Id: <20220814163600.28011-1-ngraves@ngraves.fr> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 X-Ovh-Tracer-Id: 2626724484285784802 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvfedrvdehtddguddtgecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecunecujfgurhephffvvefufffkofgggfestdekredtredttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeetfeefhfffhfejveeluedvhefggfevkeehuefhkefhheeugfehffehudfggeelieenucffohhmrghinhepghhithhhuhgsrdgtohhmnecukfhppedtrddtrddtrddtpddvudefrdeggedrudeiuddrgeejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhpohhuthdphhgvlhhopehplhgrhigvrhejheeirdhhrgdrohhvhhdrnhgvthdpihhnvghtpedtrddtrddtrddtpdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepheejtdehieesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheeitd 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" Reply-to: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches X-Patchwork-Original-From: Nicolas Graves via Guix-patches via From: Nicolas Graves X-getmail-retrieved-from-mailbox: Patches * gnu/packages/python-web.scm (python-whatthepatch): New variable. --- gnu/packages/python-web.scm | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 896e60aba2..0f00a23747 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -7761,3 +7761,20 @@ (define-public python-shopifyapi ruby Shopify API gem. The library makes HTTP requests to Shopify in order to list, create, update, or delete resources (e.g. Order, Product, Collection).") (license license:expat))) + +(define-public python-whatthepatch + (package + (name "python-whatthepatch") + (version "1.0.2") + (source (origin + (method url-fetch) + (uri (pypi-uri "whatthepatch" version)) + (sha256 + (base32 + "17zspm5sxhvggkdhwq4s0fzf4mkc825xshn734g2j2iy2xcylh65")))) + (build-system python-build-system) + (home-page "https://github.com/cscorley/whatthepatch") + (synopsis "Patch parsing and application") + (description + "This package provides a library to parse and apply patches.") + (license license:expat)))