From patchwork Sat Jun 1 15:36:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Graves X-Patchwork-Id: 65096 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 8A2BF27BBF1; Sat, 1 Jun 2024 16:40:59 +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,URIBL_BLOCKED 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 4018627BBF2 for ; Sat, 1 Jun 2024 16:40:55 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sDQpy-00012h-GG; Sat, 01 Jun 2024 11:40:06 -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 1sDQpv-0000zI-NR for guix-patches@gnu.org; Sat, 01 Jun 2024 11:40:03 -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 1sDQpv-0007jf-Ew for guix-patches@gnu.org; Sat, 01 Jun 2024 11:40:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sDQq7-0003ht-43 for guix-patches@gnu.org; Sat, 01 Jun 2024 11:40:15 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70858] [PATCH python-team v2 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: Sat, 01 Jun 2024 15:40:15 +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.171725639113983 (code B ref 70858); Sat, 01 Jun 2024 15:40:15 +0000 Received: (at 70858) by debbugs.gnu.org; 1 Jun 2024 15:39:51 +0000 Received: from localhost ([127.0.0.1]:57178 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sDQpj-0003dS-Ej for submit@debbugs.gnu.org; Sat, 01 Jun 2024 11:39:51 -0400 Received: from 9.mo581.mail-out.ovh.net ([46.105.60.248]:49533) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sDQph-0003co-Sn for 70858@debbugs.gnu.org; Sat, 01 Jun 2024 11:39:50 -0400 Received: from director3.ghost.mail-out.ovh.net (unknown [10.109.148.65]) by mo581.mail-out.ovh.net (Postfix) with ESMTP id 4Vs4150X7hz1DrB for <70858@debbugs.gnu.org>; Sat, 1 Jun 2024 15:39:37 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-mdd2d (unknown [10.110.96.108]) by director3.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 4919C1FD36; Sat, 1 Jun 2024 15:39:35 +0000 (UTC) Received: from ngraves.fr ([37.59.142.107]) by ghost-submission-6684bf9d7b-mdd2d with ESMTPSA id bwpjDrdAW2YwWQ4AsdzKPw (envelope-from ); Sat, 01 Jun 2024 15:39:35 +0000 Authentication-Results: garm.ovh; auth=pass (GARM-107S001d0a08ff6-7f7f-4e58-b7a7-25bcc47b04dc, 066A105622CFB65C0C1E9735678F98E7108F9FA5) smtp.auth=ngraves@ngraves.fr X-OVh-ClientIp: 81.67.146.208 Date: Sat, 1 Jun 2024 17:36:51 +0200 Message-ID: <20240601153854.30805-20-ngraves@ngraves.fr> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240601153854.30805-1-ngraves@ngraves.fr> References: <20240601153854.30805-1-ngraves@ngraves.fr> MIME-Version: 1.0 X-Ovh-Tracer-Id: 4663758889172329186 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvledrvdekkedgleduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepvdehleeiffehtedvlefhffffjeefgfduhfetkeevheeiteduiedugfekuedtheejnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepuddvjedrtddrtddruddpkedurdeijedrudegiedrvddtkedpfeejrdehledrudegvddruddtjeenucevlhhushhtvghrufhiiigvpedvnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepjedtkeehkeesuggvsggsuhhgshdrghhnuhdrohhrghdpoffvtefjohhsthepmhhoheekuddpmhhouggvpehsmhhtphhouhht 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 | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 963747bb06a..180158e3b64 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -15824,13 +15824,22 @@ (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) + (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-mypy python-pytest python-setuptools python-wheel)) + (list python-pytest python-setuptools python-wheel)) (home-page "https://github.com/MagicStack/immutables") (synopsis "High-performance immutable mapping type for Python") (description