From patchwork Wed Sep 18 01:43:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Z572 X-Patchwork-Id: 68059 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 5DBF127BBE2; Wed, 18 Sep 2024 02:48:34 +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=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,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 0D39227BBE9 for ; Wed, 18 Sep 2024 02:48:33 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sqjnQ-0005QE-LT; Tue, 17 Sep 2024 21:47:56 -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 1sqjnL-0005Ol-Ul for guix-patches@gnu.org; Tue, 17 Sep 2024 21:47:53 -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 1sqjnK-0008TN-SB; Tue, 17 Sep 2024 21:47:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=EURMd4Lfj5te3YoDx1eqNYwq9QraQxnllHVAfqDU4yQ=; b=UYc/X5g48UamgdCoXqaaJOcLJozy/sTZ0Xwa6WtPBa4b8hFhELlUo9oSuKDXq7KJkUQNodsKqXNW4wYoPxIdlX9CVZ/4UiGE2RnK5L7+snrUEUldIkuhKTwR6VbIg9podrB5J6pSFn8PSFhScHgHLgngwu0T8bPY9w9syNzCKcVKikFlLt3D4pNGkWk4oTKY0+5rmGuNZ1UqD8o1gZRuTG0BpotGbMlPw/AbSnZTyiGQ2FGMdBySTjcZKNkWTr+cPel2XebmrYJz9Px42NeHEbHp2BqoEzVvCmKwVHsf0d5o+oeV0Q29A1lpyhBiB6ZgYb9whi14dipSKFysL5+2Cg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sqjnY-0004JZ-3q; Tue, 17 Sep 2024 21:48:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72835] [PATCH qt-team v2 33/74] gnu: Add python-setuptools-scm-next. Resent-From: Zheng Junjie 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: Wed, 18 Sep 2024 01:48:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72835 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 72835@debbugs.gnu.org Cc: 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 72835-submit@debbugs.gnu.org id=B72835.172662404416423 (code B ref 72835); Wed, 18 Sep 2024 01:48:04 +0000 Received: (at 72835) by debbugs.gnu.org; 18 Sep 2024 01:47:24 +0000 Received: from localhost ([127.0.0.1]:56461 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sqjmu-0004Gp-1t for submit@debbugs.gnu.org; Tue, 17 Sep 2024 21:47:24 -0400 Received: from smtp81.cstnet.cn ([159.226.251.81]:57934 helo=cstnet.cn) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sqjmr-0004GE-In for 72835@debbugs.gnu.org; Tue, 17 Sep 2024 21:47:22 -0400 Received: from m.tailaa68d.ts.net (unknown [107.174.64.25]) by APP-03 (Coremail) with SMTP id rQCowACHjX0CMepmpZpWBA--.169S5; Wed, 18 Sep 2024 09:46:57 +0800 (CST) From: Zheng Junjie Date: Wed, 18 Sep 2024 09:43:15 +0800 Message-ID: <2b1f9a094a5c53e70bc67d6d8dd3ccb1da421a6b.1726567073.git.zhengjunjie@iscas.ac.cn> X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 X-CM-TRANSID: rQCowACHjX0CMepmpZpWBA--.169S5 X-Coremail-Antispam: 1UD129KBjvJXoW7CrykCryDtw1fZryDXw1xAFb_yoW8ZrWkpr 97Cryakr95X3ZxJw43XF12vw45Xws7Wa1UJa17Aa1UKw4agrW7XrW2va1YkF9rJw4xCa42 93WxX3WrGFyUJ3DanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUU9qb7Iv0xC_Zr1lb4IE77IF4wAFF20E14v26r4j6ryUM7CY07I2 0VC2zVCF04k26cxKx2IYs7xG6rWj6s0DM7CIcVAFz4kK6r1j6r18M28IrcIa0xkI8VA2jI 8067AKxVWUWwA2048vs2IY020Ec7CjxVAFwI0_Jrv_JF4l8cAvFVAK0II2c7xJM28CjxkF 64kEwVA0rcxSw2x7M28EF7xvwVC0I7IYx2IY67AKxVW7JVWDJwA2z4x0Y4vE2Ix0cI8IcV CY1x0267AKxVW8Jr0_Cr1UM28EF7xvwVC2z280aVAFwI0_Gr1j6F4UJwA2z4x0Y4vEx4A2 jsIEc7CjxVAFwI0_Cr1j6rxdM2AIxVAIcxkEcVAq07x20xvEncxIr21l5I8CrVACY4xI64 kE6c02F40Ex7xfMcIj6xIIjxv20xvE14v26r126r1DMcIj6I8E87Iv67AKxVWUJVW8JwAm 72CE4IkC6x0Yz7v_Jr0_Gr1lF7xvr2IYc2Ij64vIr41l42xK82IYc2Ij64vIr41l4I8I3I 0E4IkC6x0Yz7v_Jr0_Gr1lx2IqxVAqx4xG67AKxVWUJVWUGwC20s026x8GjcxK67AKxVWU GVWUWwC2zVAF1VAY17CE14v26r1j6r15MIIYrxkI7VAKI48JMIIF0xvE2Ix0cI8IcVAFwI 0_Xr0_Ar1lIxAIcVC0I7IYx2IY6xkF7I0E14v26r4j6F4UMIIF0xvE42xK8VAvwI8IcIk0 rVWUJVWUCwCI42IY6I8E87Iv67AKxVW8JVWxJwCI42IY6I8E87Iv6xkF7I0E14v26r4j6r 4UJbIYCTnIWIevJa73UjIFyTuYvjxU2QJ5UUUUU X-Originating-IP: [107.174.64.25] X-CM-SenderInfo: x2kh0wxmxqyx3h6l2u1dvotugofq/ 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-build.scm (python-setuptools-scm-next): New variable. Change-Id: Ic6b95ed437f95c25c165de3d51732154e2bd954a --- gnu/packages/python-build.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm index 5b46272bde..47c9c5a9ff 100644 --- a/gnu/packages/python-build.scm +++ b/gnu/packages/python-build.scm @@ -11,6 +11,7 @@ ;;; Copyright © 2022 Garek Dyszel ;;; Copyright © 2022 Greg Hogan ;;; Copyright © 2024 David Elsing +;;; Copyright © 2024 Zheng Junjie <873216071@qq.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -677,6 +678,37 @@ (define-public python-setuptools-scm them as the version argument or in a SCM managed file.") (license license:expat))) +(define-public python-setuptools-scm-next + (package + (inherit python-setuptools-scm) + (name "python-setuptools-scm") + (version "8.1.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "setuptools_scm" version)) + (sha256 + (base32 "19y84rzqwb2rd88bjrlafrhfail2bnk6apaig8xskjviayva3pj2")))) + (build-system pyproject-build-system) + (arguments (list + ;; pyproject-build-system will error handle forms such as + ;; "module:object", so we set it. + #:build-backend "setuptools.build_meta" + #:phases + #~(modify-phases %standard-phases + (add-before 'build 'setenv + (lambda _ + ;; pyproject-build-system ignore backend-path, + ;; and __import__ ignore GUIX_PYTHONPATH, so set + ;; PYTHONPATH. + (setenv "PYTHONPATH" + (string-append + (getcwd) + ":" + (getcwd) "/src:" + (getenv "GUIX_PYTHONPATH")))))) + #:tests? #f)) ;avoid extra dependencies such as pytest + (native-inputs (list python-setuptools)))) + (define-public python-editables (package (name "python-editables")