From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id UF8KD3/+zWaKcQAAe85BDQ:P1 (envelope-from ) for ; Tue, 27 Aug 2024 16:27:43 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id UF8KD3/+zWaKcQAAe85BDQ (envelope-from ) for ; Tue, 27 Aug 2024 18:27:43 +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=Mhi9MtIm; 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=1724776063; 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=K6r0X2KcPo+jIfq6O+x9c7owSFuKd5n6wd7iG5Fko2g=; b=fg5xfXDmBKklc1uTp92Rc/EEoC0FAUFOFu0OaQJA8sKX9k8xj4YThCF2OPtrf/VL6XjCGm 5IbEA/Uh6Etqn6pOQbLXZ0BAaSgeRYL5y/sEaQDEx/jiXiftGWFGrb9B4lrFjntAadCOU/ SSe1wVUa9tbHELZaKQrar/rK5JCwrgcIuG7ywXNu9x8atnzqsWvREbIhOMpDeBr0fI1pQa BD/fMZhpDi4z65cvRmYoGZRSJkHRCWtML7aGKXDaf5DZDQOwaMto7BxjPB/EXVxUpUdp0y d4gPbaQym26jvTFlep+h3enwqEBMtkyfSLPCg4aLi449/wh07aH6YbhB2TG12w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Mhi9MtIm; 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=1724776063; a=rsa-sha256; cv=none; b=Im1jkZxU7nhCdk00cU8UPhV7jftKHCtTWFlog/a2DY3CmhBb1u3zZgkDxlc2HF5kRLsf1B xmVSnzvF6dXarXIKVPWIKYENity/OJrOCUaPusk7u9rhKbgC4aRVTUK9O2EI0lwvnd+Rp0 8akXcpn4ThexIxNATWN1sJe1jvmamwMe5HOD7C/W6F+x2fPZVbs/XXgZL8p0wiMckLTfFO Ma08e6OxohOFsoB5yXcOuDAAwwfA+hV1MIv8tSpjouWbob0G0O8XAeLiJwJutRKVssb+Dj 2yZi51Hz3LuRf3a1mMHesoghu6Nj8yDZGyS6oQZ9RvRSTemcPamhp9U/AcKOYA== 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 14F6A63637 for ; Tue, 27 Aug 2024 18:27:43 +0200 (CEST) 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 14F6A63637 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -7.51 X-Spam-Score: -7.51 X-TUID: nws6mj2YZTHI * 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") -- 2.45.2