summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-11-05 23:43:58 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-11-11 16:02:04 +0000
commit40c02462fa049ea427dd5a4924e2b15a751cb66b (patch)
treeafefcd3f70921d382bc1af6029bef01a1137d557
parentbdcaf7064ed38b86b42e432c9a56e8ffc5e4a9b0 (diff)
gnu: python-construct: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-construct): [build-system]: Switch to pyproject-build-system. [arguments]<#:phases>: Remove 'check phase. <#:test-flags>: Ignore benchmark tests. [native-inputs]: Add python-setuptools. Remove python-pytest-benchmark. Change-Id: I9097caa0369d49bbda3ec8883468881ace24bbed Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/python-xyz.scm14
1 files changed, 4 insertions, 10 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b17616fc0cc..fe97f771ac8 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -28340,7 +28340,6 @@ class in a @acronym{DRY, Don't Repeat Yourself} way.")
(version (git-version "2.10.70" revision commit))
(source
(origin
- ;; There are no tests in the PyPI tarball.
(method git-fetch)
(uri (git-reference
(url "https://github.com/construct/construct")
@@ -28348,17 +28347,12 @@ class in a @acronym{DRY, Don't Repeat Yourself} way.")
(file-name (git-file-name name version))
(sha256
(base32 "03f6nvyzrq50nhqqwmmws983wwjg78yd9j09pl94vkmyjph33da5"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(arguments
- (list #:phases
- #~(modify-phases %standard-phases
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (invoke "pytest" "-v" "tests/")))))))
+ (list
+ #:test-flags #~(list "--ignore=tests/test_benchmarks.py")))
(native-inputs
- (list python-pytest
- python-pytest-benchmark))
+ (list python-pytest python-setuptools))
(propagated-inputs
(list python-arrow
python-cloudpickle