From patchwork Fri May 10 07:55:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 27353 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 8D3F927BBE2; Fri, 10 May 2024 08:58:52 +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,TVD_SPACE_RATIO,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 ACF8A27BBE2 for ; Fri, 10 May 2024 08:58:50 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s5L8x-0002Ru-9J; Fri, 10 May 2024 03:58:18 -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 1s5L85-0001v6-GV for guix-patches@gnu.org; Fri, 10 May 2024 03:57:23 -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 1s5L7w-0005VL-8G for guix-patches@gnu.org; Fri, 10 May 2024 03:57:15 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s5L7u-0000VC-Oj for guix-patches@gnu.org; Fri, 10 May 2024 03:57:10 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70858] [PATCH 19/32] gnu: python-immutables: Remove python-mypy native-input. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 10 May 2024 07:57:10 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70858 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70858@debbugs.gnu.org Cc: ngraves@ngraves.fr Received: via spool by 70858-submit@debbugs.gnu.org id=B70858.17153278041713 (code B ref 70858); Fri, 10 May 2024 07:57:10 +0000 Received: (at 70858) by debbugs.gnu.org; 10 May 2024 07:56:44 +0000 Received: from localhost ([127.0.0.1]:41746 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s5L7U-0000RT-Ci for submit@debbugs.gnu.org; Fri, 10 May 2024 03:56:44 -0400 Received: from 2.mo583.mail-out.ovh.net ([178.33.109.111]:46733) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s5L7L-0000Pw-Sj for 70858@debbugs.gnu.org; Fri, 10 May 2024 03:56:36 -0400 Received: from director7.ghost.mail-out.ovh.net (unknown [10.109.148.65]) by mo583.mail-out.ovh.net (Postfix) with ESMTP id 4VbLn00c71z1QhP for <70858@debbugs.gnu.org>; Fri, 10 May 2024 07:56:36 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-6dhzz (unknown [10.110.113.226]) by director7.ghost.mail-out.ovh.net (Postfix) with ESMTPS id E02B61FE88; Fri, 10 May 2024 07:56:35 +0000 (UTC) Received: from ngraves.fr ([37.59.142.95]) by ghost-submission-6684bf9d7b-6dhzz with ESMTPSA id o6/8NDPTPWZEMCIAXUNWsQ (envelope-from ); Fri, 10 May 2024 07:56:35 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-95G0014fbf4d0b-144a-4e38-9dc8-3bdeac994a27, E63BAB6C0A71DD4DA934779D5D345DF804807214) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.146.208 Date: Fri, 10 May 2024 09:55:23 +0200 Message-ID: <20240510075605.6303-19-ngraves@ngraves.fr> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240510075605.6303-1-ngraves@ngraves.fr> References: <20240510075605.6303-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 15218789044922540770 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvledrvdefjedgvddvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkedurdeijedrudegiedrvddtkedpfeejrdehledrudegvddrleehnecuvehluhhsthgvrhfuihiivgepudenucfrrghrrghmpehinhgvthepuddvjedrtddrtddruddpmhgrihhlfhhrohhmpehnghhrrghvvghssehnghhrrghvvghsrdhfrhdpnhgspghrtghpthhtohepuddprhgtphhtthhopeejtdekheekseguvggssghughhsrdhgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkeefpdhmohguvgepshhmthhpohhuth 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: , 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 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-xyz.scm (python-immutables): [origin]: Use git-fetch to use upstream test-data directory. [build-system]: Move to pyrpoject-build-system. [native-inputs]: Remove python-mypy. [arguments]<#:phases>: Add phase to remove python-mypy native-input. Change-Id: Ie67f634ffecbc3711f354e915b2fab54a1639925 --- gnu/packages/python-xyz.scm | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index dd2b35eb35d..6fc3f0dbb06 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15819,13 +15819,21 @@ (define-public python-immutables (version "0.18") (source (origin - (method url-fetch) - (uri (pypi-uri "immutables" version)) + (method git-fetch) + (uri (git-reference + (url "https://github.com/MagicStack/immutables") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "1x4cinh0xbl6p6p2yfm2s07mxxy3lf0zzai9gqpydk4482bwfdjk")))) + (base32 "1xjbkgls0dqrvpg4yzkdzz6aayizxcv5chjc5gyynk196wyshw4m")))) (build-system pyproject-build-system) - (native-inputs (list python-mypy python-pytest - python-setuptools python-wheel)) + (arguments + (list #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'remove-mypy-dependency + (lambda _ + (delete-file "tests/test_mypy.py") + (delete-file "tests/conftest.py")))))) + (native-inputs (list python-pytest python-setuptools python-wheel)) (home-page "https://github.com/MagicStack/immutables") (synopsis "High-performance immutable mapping type for Python") (description