summaryrefslogtreecommitdiff
path: root/gnu/packages
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 /gnu/packages
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>
Diffstat (limited to 'gnu/packages')
-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.")
28340 (version (git-version "2.10.70" revision commit)) 28340 (version (git-version "2.10.70" revision commit))
28341 (source 28341 (source
28342 (origin 28342 (origin
28343 ;; There are no tests in the PyPI tarball.
28344 (method git-fetch) 28343 (method git-fetch)
28345 (uri (git-reference 28344 (uri (git-reference
28346 (url "https://github.com/construct/construct") 28345 (url "https://github.com/construct/construct")
@@ -28348,17 +28347,12 @@ class in a @acronym{DRY, Don't Repeat Yourself} way.")
28348 (file-name (git-file-name name version)) 28347 (file-name (git-file-name name version))
28349 (sha256 28348 (sha256
28350 (base32 "03f6nvyzrq50nhqqwmmws983wwjg78yd9j09pl94vkmyjph33da5")))) 28349 (base32 "03f6nvyzrq50nhqqwmmws983wwjg78yd9j09pl94vkmyjph33da5"))))
28351 (build-system python-build-system) 28350 (build-system pyproject-build-system)
28352 (arguments 28351 (arguments
28353 (list #:phases 28352 (list
28354 #~(modify-phases %standard-phases 28353 #:test-flags #~(list "--ignore=tests/test_benchmarks.py")))
28355 (replace 'check
28356 (lambda* (#:key tests? #:allow-other-keys)
28357 (when tests?
28358 (invoke "pytest" "-v" "tests/")))))))
28359 (native-inputs 28354 (native-inputs
28360 (list python-pytest 28355 (list python-pytest python-setuptools))
28361 python-pytest-benchmark))
28362 (propagated-inputs 28356 (propagated-inputs
28363 (list python-arrow 28357 (list python-arrow
28364 python-cloudpickle 28358 python-cloudpickle