From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 8LYCOEY66mbEPgAAqHPOHw:P1 (envelope-from ) for ; Wed, 18 Sep 2024 02:26:15 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 8LYCOEY66mbEPgAAqHPOHw (envelope-from ) for ; Wed, 18 Sep 2024 04:26:15 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="UYc/X5g4"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1726626374; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=EURMd4Lfj5te3YoDx1eqNYwq9QraQxnllHVAfqDU4yQ=; b=spLDgemfQrUXmKI1R8ntOSNVP6KrNP6UFH6aiuWpGvhYkJ0fjIBKGJIXuFariwe7XIic5y 3rHbRCoDTSvSb64V6aMU7NS4lNuaaospjfUoQi28b3N3uxGwXMTjGfdFzQMuqdEmSI9OWm DOeT7sz4v2CEUEcVpmNA2blqEwogzFvF8VGnIOMyUcdFeglN7QvR+MWJ+wTReEEF/cFGga rFQYWkQhsbHgMmW5H/H/h/8fXPe4Ku0hJoWgzEM2WkBQXPiJ4aDUBEH/xVRdBtDv+lpjFS vuXIsc+I3p32BmkgcwxlVyB2k0QfKfSET56fr5fZO2qZGZrN3J3PmsIwos3cow== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="UYc/X5g4"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1726626374; a=rsa-sha256; cv=none; b=XRL4PYzQA/XzdDfeaWzGYNJ944gbIysWzrwe7V2WUtgvrpTS2NSmunfuuXWsEWkKPXA0eR jD+45VfSWwr7dOfPCjOPi9IXcc/oO4Fa1BWYFbnfTSYemaq7GLEtoY5rocgzp09XkIN4Fb Wi17ul6VLONwNi5HOaoW07UMSM/7Viz4Z6z7fdUtK2z7cPma7mk4UGeaOiHuIz4hghA4lL pYEeZax1K8vgN2F2SmTLp1o0knPQwLSpdmViqCVYP7eWLepieS3aPMAvHTX24IGxIWdP8o +GXDLkuISu7FpdoKy+oQHq3r66HUkdee3iI+2GoZjgWpHD4AjyRafeeSj9r4sw== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9116428AE for ; Wed, 18 Sep 2024 04:26:14 +0200 (CEST) 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 9116428AE X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -9.54 X-Migadu-Spam-Score: -9.54 X-TUID: H8ZZzF/ufvKU * 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") -- 2.45.2