[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#72835] [PATCH qt-team v2 33/74] gnu: Add python-setuptools-scm-next
From: |
Zheng Junjie |
Subject: |
[bug#72835] [PATCH qt-team v2 33/74] gnu: Add python-setuptools-scm-next. |
Date: |
Wed, 18 Sep 2024 09:43:15 +0800 |
* 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 <garekdyszel@disroot.org>
;;; Copyright © 2022 Greg Hogan <code@greghogan.com>
;;; Copyright © 2024 David Elsing <david.elsing@posteo.net>
+;;; 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
- [bug#72835] [PATCH qt-team v2 20/74] gnu: qtremoteobjects: Update to 6.7.2., (continued)
- [bug#72835] [PATCH qt-team v2 20/74] gnu: qtremoteobjects: Update to 6.7.2., Zheng Junjie, 2024/09/17
- [bug#72835] [PATCH qt-team v2 24/74] gnu: qtnetworkauth: Update to 6.7.2., Zheng Junjie, 2024/09/17
- [bug#72835] [PATCH qt-team v2 29/74] gnu: qtwebengine: Update to 6.7.2., Zheng Junjie, 2024/09/17
- [bug#72835] [PATCH qt-team v2 23/74] gnu: qt-creator: Update to 14.0.1., Zheng Junjie, 2024/09/17
- [bug#72835] [PATCH qt-team v2 25/74] gnu: abseil-cpp: Update to 20240722.0., Zheng Junjie, 2024/09/17
- [bug#72835] [PATCH qt-team v2 26/74] gnu: libvpx: Update to 1.14.1., Zheng Junjie, 2024/09/17
- [bug#72835] [PATCH qt-team v2 27/74] gnu: Add re2-next., Zheng Junjie, 2024/09/17
- [bug#72835] [PATCH qt-team v2 28/74] gnu: Add icu4c-75., Zheng Junjie, 2024/09/17
- [bug#72835] [PATCH qt-team v2 30/74] gnu: python-shiboken-6: Update to 6.7.2., Zheng Junjie, 2024/09/17
- [bug#72835] [PATCH qt-team v2 31/74] gnu: qtconnectivity: Rename to qtconnectivity-5., Zheng Junjie, 2024/09/17
- [bug#72835] [PATCH qt-team v2 33/74] gnu: Add python-setuptools-scm-next.,
Zheng Junjie <=
- [bug#72835] [PATCH qt-team v2 35/74] gnu: python-pyqt6-sip: Update to 13.8.0., Zheng Junjie, 2024/09/17
- [bug#72835] [PATCH qt-team v2 32/74] gnu: Add qtconnectivity., Zheng Junjie, 2024/09/17
- [bug#72835] [PATCH qt-team v2 38/74] gnu: python-pyqtwebengine-6: Update to 6.7.0., Zheng Junjie, 2024/09/17
- [bug#72835] [PATCH qt-team v2 36/74] gnu: python-pyqt-builder: Update to 1.16.4., Zheng Junjie, 2024/09/17
- [bug#72835] [PATCH qt-team v2 39/74] gnu: python-pyqt5-sip: Update to 12.15.0., Zheng Junjie, 2024/09/17
- [bug#72835] [PATCH qt-team v2 37/74] gnu: python-pyqt-6: Update to 6.7.1., Zheng Junjie, 2024/09/17
- [bug#72835] [PATCH qt-team v2 34/74] gnu: python-sip: Update to 6.8.6., Zheng Junjie, 2024/09/17
- [bug#72835] [PATCH qt-team v2 40/74] gnu: clazy: Update to 1.12., Zheng Junjie, 2024/09/17
- [bug#72835] [PATCH qt-team v2 41/74] gnu: python-pyqt: Update to 5.15.10., Zheng Junjie, 2024/09/17
- [bug#72835] [PATCH qt-team v2 50/74] gnu: qtdeclarative-5: Update to 5.15.15., Zheng Junjie, 2024/09/17