summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Hogan <code@greghogan.com>2025-03-11 19:35:08 +0000
committerGreg Hogan <code@greghogan.com>2025-07-08 13:41:01 +0000
commit2eb02f332721d4a98daf8dc294376019e9f43e42 (patch)
treef67ae7734b91125a9330d0d304216cce46e3434d
parent2387e4aaab32eb1f7e749173fa449476591934a8 (diff)
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
-rw-r--r--gnu/packages/benchmark.scm22
1 files changed, 17 insertions, 5 deletions
diff --git a/gnu/packages/benchmark.scm b/gnu/packages/benchmark.scm
index 527d937125..711244ecca 100644
--- a/gnu/packages/benchmark.scm
+++ b/gnu/packages/benchmark.scm
@@ -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