diff options
| author | Ghislain Vaillant <ghislain.vaillant@inria.fr> | 2026-08-21 11:28:54 +0200 |
|---|---|---|
| committer | Ghislain Vaillant <ghislain.vaillant@inria.fr> | 2026-08-23 08:21:07 +0200 |
| commit | 52d7ab7851a5ced97c0c8f1a602a103b5ca0b046 (patch) | |
| tree | 954e39fc6ec9780f133753273f2157d0891560cf | |
| parent | 0bd90c77a5d6956e42ebeba61db480f1c58df19a (diff) | |
physics: silx: Update to 3.1.1.
* guix-science/packages/physics.scm (silx)
[source]: Swith to git-fetch, update to 3.1.1.
[propagated-inputs]: Add python-{filelock,pydantic}.
Remove python-{hdf5plugin, pint}.
[native-inputs]: Add python-{h5pyd,meson,pytest-httpserver,qtawesome}.
Remove python-setuptools.
| -rw-r--r-- | guix-science/packages/physics.scm | 32 |
1 files changed, 21 insertions, 11 deletions
diff --git a/guix-science/packages/physics.scm b/guix-science/packages/physics.scm index 860d7c8..f6c6b5e 100644 --- a/guix-science/packages/physics.scm +++ b/guix-science/packages/physics.scm | |||
| @@ -57,6 +57,7 @@ | |||
| 57 | #:use-module (gnu packages sqlite) | 57 | #:use-module (gnu packages sqlite) |
| 58 | #:use-module (gnu packages swig) | 58 | #:use-module (gnu packages swig) |
| 59 | #:use-module (gnu packages tbb) | 59 | #:use-module (gnu packages tbb) |
| 60 | #:use-module (gnu packages time) | ||
| 60 | #:use-module (gnu packages tls) | 61 | #:use-module (gnu packages tls) |
| 61 | #:use-module (gnu packages web) | 62 | #:use-module (gnu packages web) |
| 62 | #:use-module (gnu packages xml) | 63 | #:use-module (gnu packages xml) |
| @@ -1213,38 +1214,47 @@ processing analysis of X-Ray Fluorescence Spectra.") | |||
| 1213 | (define-public python-silx | 1214 | (define-public python-silx |
| 1214 | (package | 1215 | (package |
| 1215 | (name "python-silx") | 1216 | (name "python-silx") |
| 1216 | (version "2.2.2") | 1217 | (version "3.1.1") |
| 1217 | (source | 1218 | (source |
| 1218 | (origin | 1219 | (origin |
| 1219 | (method url-fetch) | 1220 | (method git-fetch) |
| 1220 | (uri (pypi-uri "silx" version)) | 1221 | (uri (git-reference |
| 1222 | (url "https://github.com/silx-kit/silx") | ||
| 1223 | (commit (string-append "v" version)))) | ||
| 1224 | (file-name (git-file-name name version)) | ||
| 1221 | (sha256 | 1225 | (sha256 |
| 1222 | (base32 "07sp5hs0ldfi5yai1jbnfvmpn390f4yqyf0ij35w8p3inmks76sx")))) | 1226 | (base32 "1r78q7f61qpm663h7gk7rh5ymrx7knnz0gnp9k750dyip8bygjs2")))) |
| 1223 | (build-system pyproject-build-system) | 1227 | (build-system pyproject-build-system) |
| 1224 | (arguments | 1228 | (arguments |
| 1225 | (list | 1229 | (list |
| 1226 | #:phases | 1230 | #:phases |
| 1227 | #~(modify-phases %standard-phases | 1231 | #~(modify-phases %standard-phases |
| 1232 | ;; Requires install first. | ||
| 1228 | (delete 'check) | 1233 | (delete 'check) |
| 1229 | (add-after 'install 'check | 1234 | |
| 1230 | (lambda* (#:key tests? inputs outputs #:allow-other-keys) | 1235 | (add-after 'add-install-to-pythonpath 'check |
| 1236 | (lambda* (#:key tests? #:allow-other-keys) | ||
| 1231 | (when tests? | 1237 | (when tests? |
| 1232 | (add-installed-pythonpath inputs outputs) | ||
| 1233 | (invoke "python3" "-c" | 1238 | (invoke "python3" "-c" |
| 1234 | "import silx.test, sys; sys.exit(silx.test.run_tests(verbosity=2, args=['--no-gui', '--no-opengl', '--no-opencl', '-k', 'not TestHistogramnd']))"))))))) | 1239 | "import silx.test, sys; sys.exit(silx.test.run_tests(verbosity=2, args=['--no-gui', '--no-opengl', '--no-opencl', '-k', 'not TestHistogramnd']))"))))))) |
| 1235 | (propagated-inputs (list python-fabio | 1240 | (propagated-inputs (list python-fabio |
| 1241 | python-filelock | ||
| 1236 | python-h5py | 1242 | python-h5py |
| 1237 | python-hdf5plugin | ||
| 1238 | python-numpy | 1243 | python-numpy |
| 1239 | python-packaging | 1244 | python-packaging |
| 1240 | python-pint)) | 1245 | python-pydantic)) |
| 1241 | (native-inputs (list python-cython | 1246 | (native-inputs (list python-cython |
| 1247 | python-dateutil | ||
| 1248 | python-h5pyd | ||
| 1249 | python-matplotlib | ||
| 1250 | python-meson | ||
| 1242 | python-pyopengl | 1251 | python-pyopengl |
| 1243 | python-pyqt | 1252 | python-pyside-6 |
| 1244 | python-pytest | 1253 | python-pytest |
| 1254 | python-pytest-httpserver | ||
| 1245 | python-pytest-mock | 1255 | python-pytest-mock |
| 1246 | python-pytest-xvfb | 1256 | python-pytest-xvfb |
| 1247 | python-setuptools)) | 1257 | python-qtawesome)) |
| 1248 | (home-page "https://www.silx.org") | 1258 | (home-page "https://www.silx.org") |
| 1249 | (synopsis "Software library for X-ray data analysis") | 1259 | (synopsis "Software library for X-ray data analysis") |
| 1250 | (description | 1260 | (description |
