From patchwork Tue Aug 27 16:25:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Z572 X-Patchwork-Id: 67355 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 5145127BBEA; Tue, 27 Aug 2024 17:27:45 +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=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 04E3D27BBE2 for ; Tue, 27 Aug 2024 17:27:43 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1siz2M-0002nD-2M; Tue, 27 Aug 2024 12:27: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 1siz2J-0002lT-9h for guix-patches@gnu.org; Tue, 27 Aug 2024 12:27:15 -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 1siz2J-0000oP-08; Tue, 27 Aug 2024 12:27:15 -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=K6r0X2KcPo+jIfq6O+x9c7owSFuKd5n6wd7iG5Fko2g=; b=Mhi9MtImSlbUJYY0txH0ySGcwkbaAcqry1oXMV48cU5Pg0X+hhEi5xmSIESK7y3xuYueL6azxG6i0WSq3RMiFir25HBnZwi1hWD69moQt5gcQCTqO2Pj5Hl3sXh7h9zsBqe4Jq3fUSLB0R3biuqwdFlQUaiJIW9U/0l6Rn9wCeGnD+VbrMYncKLTREQonAxrSgjJiA4AeDzIpawp46S6VlWcxJzgBHji3c/3baV5eNT12YTmu3etlvfVhOQh8/NLyq1fafR2xeXc+S4hF0mms3CDhvmTk9Ci/B32aV1dJ5+Hi/7lOt3kPtdb8p/EmsPTfWR24kD5qzhCWt9ox8xzGw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1siz37-0001Rt-2y; Tue, 27 Aug 2024 12:28:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#72835] [PATCH qt-team 33/38] 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: Tue, 27 Aug 2024 16:28:05 +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.17247760285405 (code B ref 72835); Tue, 27 Aug 2024 16:28:05 +0000 Received: (at 72835) by debbugs.gnu.org; 27 Aug 2024 16:27:08 +0000 Received: from localhost ([127.0.0.1]:47417 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1siz2C-0001P1-7T for submit@debbugs.gnu.org; Tue, 27 Aug 2024 12:27:08 -0400 Received: from smtp84.cstnet.cn ([159.226.251.84]:52374 helo=cstnet.cn) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1siz1y-0001LE-FL for 72835@debbugs.gnu.org; Tue, 27 Aug 2024 12:26:56 -0400 Received: from m.tailaa68d.ts.net (unknown [117.147.108.198]) by APP-05 (Coremail) with SMTP id zQCowACnEUEP_s1mbhXLCg--.5542S12; Wed, 28 Aug 2024 00:25:54 +0800 (CST) From: Zheng Junjie Date: Wed, 28 Aug 2024 00:25:41 +0800 Message-ID: <4530ab806124d6ec0536de28de062c8364e938f8.1724775512.git.zhengjunjie@iscas.ac.cn> X-Mailer: git-send-email 2.45.2 In-Reply-To: References: MIME-Version: 1.0 X-CM-TRANSID: zQCowACnEUEP_s1mbhXLCg--.5542S12 X-Coremail-Antispam: 1UD129KBjvJXoW7CrykCryDtw1fZryDXw1xAFb_yoW8ZrWkpr yxCryakrykX3ZxJw43XF12vw45Xws7Xa1UJa17Aa1UKw4agrW7XrW2va1YkF9rJw4xCa42 93WxX3WrGFyUJ3DanT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUU9Sb7Iv0xC_Cr1lb4IE77IF4wAFF20E14v26rWj6s0DM7CY07I2 0VC2zVCF04k26cxKx2IYs7xG6rWj6s0DM7CIcVAFz4kK6r1j6r18M28IrcIa0xkI8VA2jI 8067AKxVWUAVCq3wA2048vs2IY020Ec7CjxVAFwI0_JFI_Gr1l8cAvFVAK0II2c7xJM28C jxkF64kEwVA0rcxSw2x7M28EF7xvwVC0I7IYx2IY67AKxVW5JVW7JwA2z4x0Y4vE2Ix0cI 8IcVCY1x0267AKxVW8JVWxJwA2z4x0Y4vEx4A2jsIE14v26r4j6F4UM28EF7xvwVC2z280 aVCY1x0267AKxVW8JVW8Jr1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqx4xG64xvF2IEw4 CE5I8CrVC2j2WlYx0E2Ix0cI8IcVAFwI0_Jrv_JF1lYx0Ex4A2jsIE14v26r1j6r4UMcvj eVCFs4IE7xkEbVWUJVW8JwACjcxG0xvY0x0EwIxGrwCF04k20xvY0x0EwIxGrwCFx2IqxV CFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r1j6r18MI8I3I0E7480Y4vE14v26r10 6r1rMI8E67AF67kF1VAFwI0_Jr0_JrylIxkGc2Ij64vIr41lIxAIcVC0I7IYx2IY67AKxV W5JVW7JwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Gr0_Cr1lIxAIcVCF04k26cxKx2IYs7xG 6r1j6r1xMIIF0xvEx4A2jsIE14v26r4j6F4UMIIF0xvEx4A2jsIEc7CjxVAFwI0_Gr0_Gr 1UYxBIdaVFxhVjvjDU0xZFpf9x07jenmiUUUUU= X-Originating-IP: [117.147.108.198] 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 72da369208..e79336796d 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. ;;; @@ -696,6 +697,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")