[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#77575] [PATCH 15/21] gnu: python-ledgerblue: Fix version detection.
From: |
Nicolas Graves |
Subject: |
[bug#77575] [PATCH 15/21] gnu: python-ledgerblue: Fix version detection. |
Date: |
Sun, 6 Apr 2025 14:37:17 +0200 |
* gnu/packages/finance.scm (python-ledgerblue): Fix version detection.
[arguments]{phases}: Add 'pretend-version phase.
[native-inputs]: Add python-setuptools-scm.
---
gnu/packages/finance.scm | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 680ebe467c..f7e7ca1fff 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -1065,9 +1065,14 @@ (define-public python-ledgerblue
"0ghpvxgih1zarp788qi1xh5xmprv6yhaxglfbix4974i7r4pszqy"))))
(build-system pyproject-build-system)
(arguments
- `(#:tests? #f)) ; no tests
+ (list #:tests? #f
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'build 'pretend-version
+ (lambda _
+ (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
(native-inputs
- (list python-setuptools python-wheel))
+ (list python-setuptools python-setuptools-scm python-wheel))
(propagated-inputs
(list python-bleak
python-pyelftools
--
2.49.0
- [bug#77575] [PATCH 09/21] gnu: python-flufl-lock: Update to 8.1.0., (continued)
- [bug#77575] [PATCH 09/21] gnu: python-flufl-lock: Update to 8.1.0., Nicolas Graves, 2025/04/06
- [bug#77575] [PATCH 13/21] gnu: mailman: Update to 3.3.10., Nicolas Graves, 2025/04/06
- [bug#77575] [PATCH 05/21] gnu: python-lap: Update to 0.5.12., Nicolas Graves, 2025/04/06
- [bug#77575] [PATCH 14/21] gnu: python-mailman-hyperkitty: Update to 1.2.1., Nicolas Graves, 2025/04/06
- [bug#77575] [PATCH 08/21] gnu: python-pymodbus: Update to 3.8.6., Nicolas Graves, 2025/04/06
- [bug#77575] [PATCH 11/21] gnu: cnvkit: Update to 0.9.12., Nicolas Graves, 2025/04/06
- [bug#77575] [PATCH 12/21] gnu: python-authheaders: Update to 0.16.3., Nicolas Graves, 2025/04/06
- [bug#77575] [PATCH 07/21] gnu: pomegranate: Disable tests., Nicolas Graves, 2025/04/06
- [bug#77575] [PATCH 03/21] gnu: python-lazr-delegates: Update to 2.1.1., Nicolas Graves, 2025/04/06
- [bug#77575] [PATCH 10/21] gnu: python-flufl-i18n: Update to 5.1.0., Nicolas Graves, 2025/04/06
- [bug#77575] [PATCH 15/21] gnu: python-ledgerblue: Fix version detection.,
Nicolas Graves <=
- [bug#77575] [PATCH 16/21] gnu: ledger-agent: Switch to pyproject-build-system., Nicolas Graves, 2025/04/06
- [bug#77575] [PATCH 21/21] gnu: python-wxpython: Update to 4.2.2., Nicolas Graves, 2025/04/06
- [bug#77575] [PATCH 18/21] gnu: python-ujson: Update to 5.10.0., Nicolas Graves, 2025/04/06
- [bug#77575] [PATCH 19/21] gnu: bpytop: Switch to pyproject-build-system., Nicolas Graves, 2025/04/06
- [bug#77575] [PATCH 17/21] gnu: python-gixy: Rename package to python-gixy-ng., Nicolas Graves, 2025/04/06
- [bug#77575] [PATCH 20/21] gnu: python-redis: Ignore i686 failing test., Nicolas Graves, 2025/04/06
- [bug#77575] [PATCH python-team 00/21] More patches, Steve George, 2025/04/08
- [bug#77575] Closing, Steve George, 2025/04/10