[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
23/23: gnu: python-deepmerge: Use pyproject-build-system.
From: |
guix-commits |
Subject: |
23/23: gnu: python-deepmerge: Use pyproject-build-system. |
Date: |
Thu, 27 Oct 2022 13:47:15 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit f928abac369f699f425ddee925d0d0c2dc0a635d
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Fri Oct 21 00:43:00 2022 +0200
gnu: python-deepmerge: Use pyproject-build-system.
* gnu/packages/python-xyz.scm (python-deepmerge)[build-system]: Set to
PYPROJECT-BUILD-SYSTEM.
[arguments]: Remove obsolete phases.
[native-inputs]: Remove PYTHON-PYPA-BUILD and PYTHON-WHEEL.
---
gnu/packages/python-xyz.scm | 25 ++++---------------------
1 file changed, 4 insertions(+), 21 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 368f6a8a78..18089d090e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -30450,34 +30450,17 @@ object, which can be useful if you want to force your
objects into a table.")
(uri (pypi-uri "deepmerge" version))
(sha256
(base32 "06hagzg8ccmjzqvszdxb52jgx5il8a1jdz41n4dpkyyjsfg7fi2b"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(add-before 'build 'set-version
(lambda _
- (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)
- ;; ZIP does not support timestamps before 1980.
- (setenv "SOURCE_DATE_EPOCH" "315532800")))
- (replace 'build
- (lambda _
- (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)))))))
+ (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
(native-inputs
- (list python-pypa-build
- python-setuptools-scm
- python-pytest
- python-wheel))
+ (list python-setuptools-scm
+ python-pytest))
(home-page "https://deepmerge.readthedocs.io/en/latest/")
(synopsis "Merge nested data structures")
(description
- 06/23: build-system: Add pyproject-build-system., (continued)
- 06/23: build-system: Add pyproject-build-system., guix-commits, 2022/10/27
- 12/23: gnu: python-statmake: Use pyproject-build-system., guix-commits, 2022/10/27
- 14/23: gnu: python-mypy-protobuf: Switch to pyproject-build-system., guix-commits, 2022/10/27
- 15/23: gnu: python-tempora: Switch to pyproject-build-system., guix-commits, 2022/10/27
- 16/23: gnu: python-pygmsh: Use pyproject-build-system., guix-commits, 2022/10/27
- 19/23: gnu: python-openapi-spec-validator: Use pyproject-build-system., guix-commits, 2022/10/27
- 21/23: gnu: python-cattrs: Use pyproject-build-system., guix-commits, 2022/10/27
- 22/23: gnu: python-scikit-build: Switch to pyproject-build-system., guix-commits, 2022/10/27
- 07/23: news: Add entry for 'pyproject-build-system'., guix-commits, 2022/10/27
- 18/23: gnu: python-openapi-schema-validator: Use pyproject-build-system., guix-commits, 2022/10/27
- 23/23: gnu: python-deepmerge: Use pyproject-build-system.,
guix-commits <=