summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--guix-science/packages/physics.scm27
1 files changed, 16 insertions, 11 deletions
diff --git a/guix-science/packages/physics.scm b/guix-science/packages/physics.scm
index 42d1b2a..860d7c8 100644
--- a/guix-science/packages/physics.scm
+++ b/guix-science/packages/physics.scm
@@ -929,7 +929,7 @@ codes.")
929(define-public python-fabio 929(define-public python-fabio
930 (package 930 (package
931 (name "python-fabio") 931 (name "python-fabio")
932 (version "2025.10.0") 932 (version "2026.06")
933 (source 933 (source
934 (origin 934 (origin
935 (method git-fetch) 935 (method git-fetch)
@@ -938,28 +938,33 @@ codes.")
938 (commit (string-append "v" version)))) 938 (commit (string-append "v" version))))
939 (file-name (git-file-name name version)) 939 (file-name (git-file-name name version))
940 (sha256 940 (sha256
941 (base32 "16f8dfg01j3m7l3npghmslhd44glrj2wk3frwhc1avqxpp4n0a6m")))) 941 (base32 "0ymgv7vz030id88x140f7mmv17my40jb0zzz1ad5d72vvfch9xax"))))
942 (build-system pyproject-build-system) 942 (build-system pyproject-build-system)
943 (arguments 943 (arguments
944 (list 944 (list
945 #:phases 945 #:phases
946 #~(modify-phases %standard-phases 946 #~(modify-phases %standard-phases
947 (add-after 'unpack 'skip-test-import-all
948 (lambda _
949 (substitute* (list "src/fabio/test/meson.build"
950 "src/fabio/test/test_all.py")
951 ((".*test_import.*")
952 ""))))
953
954 ;; Requires install first.
947 (delete 'check) 955 (delete 'check)
948 (add-after 'install 'check 956
949 (lambda* (#:key tests? inputs outputs #:allow-other-keys) 957 (add-after 'add-install-to-pythonpath 'check
958 (lambda* (#:key tests? #:allow-other-keys)
950 (when tests? 959 (when tests?
951 (add-installed-pythonpath inputs outputs)
952 (invoke "python3" "run_tests.py" "--installed"))))))) 960 (invoke "python3" "run_tests.py" "--installed")))))))
953 (propagated-inputs (list python-glymur 961 (propagated-inputs (list python-filelock
954 python-h5py 962 python-h5py
955 python-hdf5plugin 963 python-hdf5plugin
956 python-lxml 964 python-lxml
957 python-matplotlib
958 python-numexpr
959 python-numpy 965 python-numpy
960 python-pillow 966 python-pillow))
961 python-pyside-6)) 967 (native-inputs (list ninja python-cython python-meson python-numexpr
962 (native-inputs (list python-meson ninja python-cython
963 python-pyproject-metadata)) 968 python-pyproject-metadata))
964 (home-page "https://www.silx.org/doc/fabio/latest") 969 (home-page "https://www.silx.org/doc/fabio/latest")
965 (synopsis "I/O library for images produced by 2D X-ray detectors") 970 (synopsis "I/O library for images produced by 2D X-ray detectors")