gnu: python-benchexec: Update to 3.29.

* gnu/packages/benchmark.scm (python-benchexec): Update to 3.29.
[arguments]<#:phases>: Add 'fix-paths phase.
[propagated-inputs]: Add fuse-overlayfs.
[native-inputs]: Add python-setuptools and python-wheel.

Change-Id: I79916bd559fb7019f2953a0f0502d4f0ab9315eb
This commit is contained in:
Greg Hogan 2025-03-11 19:35:08 +00:00
parent 2387e4aaab
commit 2eb02f3327
No known key found for this signature in database
GPG key ID: EF6EB27413CFEEF3

View file

@ -52,10 +52,11 @@
#:use-module (gnu packages compression)
#:use-module (gnu packages databases)
#:use-module (gnu packages docbook)
#:use-module (gnu packages kde-frameworks)
#:use-module (gnu packages file-systems)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages gl)
#:use-module (gnu packages graphics)
#:use-module (gnu packages kde-frameworks)
#:use-module (gnu packages linux)
#:use-module (gnu packages lua)
#:use-module (gnu packages maths)
@ -403,7 +404,7 @@ setup against another one.")
(define-public python-benchexec
(package
(name "python-benchexec")
(version "3.24")
(version "3.29")
(source
(origin
(method git-fetch)
@ -412,18 +413,29 @@ setup against another one.")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "14yllwinbvifrin29vbm9ibjzswri0isvc6476ygf0whlg90z24j"))))
(base32 "0vcafk20sg8bwh9qqwf94d6hqk0kq3yhiraknf7jsjisf2mrksjk"))))
(build-system pyproject-build-system)
(arguments
(list
#:test-flags #~(list "--exclude=runexecutor")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'fix-paths
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((prog (search-input-file inputs "bin/fuse-overlayfs")))
(substitute* "benchexec/container.py"
(("shutil.which\\(\"fuse-overlayfs\"\\)")
(string-append "\"" prog "\""))))))
(add-before 'check 'skip-failing-tests
(lambda _
(delete-file-recursively "benchexec/test_integration"))))))
(propagated-inputs (list python-pyyaml))
(native-inputs (list coreutils python-lxml python-nose))
(propagated-inputs (list fuse-overlayfs python-pyyaml))
(native-inputs
(list coreutils
python-lxml
python-nose
python-setuptools
python-wheel))
(home-page "https://github.com/sosy-lab/benchexec/")
(synopsis "Framework for Reliable Benchmarking")
(description