[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/15: gnu: python-canonicaljson: Use pyproject-build-system.
From: |
guix-commits |
Subject: |
13/15: gnu: python-canonicaljson: Use pyproject-build-system. |
Date: |
Fri, 12 May 2023 17:25:45 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 27341afe53bf073e2fbda042d81a29757a8d9bfd
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri May 12 23:06:34 2023 +0200
gnu: python-canonicaljson: Use pyproject-build-system.
* gnu/packages/python-xyz.scm (python-canonicaljson)[arguments]: Remove
custom
'build, 'check, and 'install phases.
[build-system]: Use pyproject-build-system.
---
gnu/packages/python-xyz.scm | 18 ++----------------
1 file changed, 2 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 5de9ff1bb2..8e57f7abd0 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -27472,7 +27472,7 @@ information for your operating system.")
(uri (pypi-uri "canonicaljson" version))
(sha256
(base32 "0j5lq191jkd483q6xzc16c9fahxf15lrv03mvah9ka3lq85pcnfa"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(arguments
(list
#:phases
@@ -27481,21 +27481,7 @@ information for your operating system.")
(lambda _
;; Permit newer versions of setuptools_scm
(substitute* "pyproject.toml"
- ((">= 2.0.0, <3") ">= 2.0.0"))))
- (replace 'build
- (lambda _
- ;; ZIP does not support timestamps before 1980.
- (setenv "SOURCE_DATE_EPOCH" "315532800")
- (invoke "python" "-m" "build" "--wheel" "--no-isolation" ".")))
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (invoke "pytest"))))
- (replace 'install
- (lambda _
- (let ((whl (car (find-files "dist" "\\.whl$"))))
- (invoke "pip" "--no-cache-dir" "--no-input"
- "install" "--no-deps" "--prefix" #$output whl)))))))
+ ((">= 2.0.0, <3") ">= 2.0.0")))))))
(native-inputs
(list python-pypa-build python-pytest python-setuptools
python-setuptools-scm))
(propagated-inputs
- 04/15: gnu: methyldackel: Update to 0.6.1., (continued)
- 04/15: gnu: methyldackel: Update to 0.6.1., guix-commits, 2023/05/12
- 07/15: gnu: multichoose: Clean up., guix-commits, 2023/05/12
- 08/15: gnu: arriba: Use SEARCH-INPUT-FILE and -DIRECTORY., guix-commits, 2023/05/12
- 11/15: gnu: python-seaborn: Simplify by using pyproject-build-system., guix-commits, 2023/05/12
- 12/15: gnu: python-pyproject-metadata: Simplify by using pyproject-build-system., guix-commits, 2023/05/12
- 14/15: gnu: python-orjson: Reuse phases from pyproject-build-system., guix-commits, 2023/05/12
- 09/15: gnu: jamm: Use G-expression., guix-commits, 2023/05/12
- 10/15: gnu: shrinkwrap: Use pyproject-build-system., guix-commits, 2023/05/12
- 15/15: gnu: python-orjson: Fix version string of Python module., guix-commits, 2023/05/12
- 05/15: gnu: samblaster: Simplify., guix-commits, 2023/05/12
- 13/15: gnu: python-canonicaljson: Use pyproject-build-system.,
guix-commits <=