diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-01-27 20:17:20 +0000 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-01-27 21:22:32 +0000 |
| commit | a35e975e162d43fff34a643a98b1aa4f5b5bc639 (patch) | |
| tree | aeb159d889fdcf911622e5f7e79369e2b527ecc7 /gnu/packages/python-science.scm | |
| parent | b17657ee86e31c81e923bd3d91dad1a377a6917a (diff) | |
gnu: python-deepdish: Fix indentation.
* gnu/packages/python-science.scm (python-deepdish): Fix indentation.
Change-Id: Idf8a0b5cdb9e371cb5d1f5f51f993da6209342d5
Diffstat (limited to 'gnu/packages/python-science.scm')
| -rw-r--r-- | gnu/packages/python-science.scm | 93 |
1 files changed, 47 insertions, 46 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index f80ae19b235..49738d8559c 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm | |||
| @@ -3524,60 +3524,61 @@ data.") | |||
| 3524 | ;; packed in Guix (now 1.24.4), use the latest commit containing fixes. | 3524 | ;; packed in Guix (now 1.24.4), use the latest commit containing fixes. |
| 3525 | ;; See: <https://github.com/uchicago-cs/deepdish/issues/50>. | 3525 | ;; See: <https://github.com/uchicago-cs/deepdish/issues/50>. |
| 3526 | ;; However, there is a maintained fork that appears to be a good | 3526 | ;; However, there is a maintained fork that appears to be a good |
| 3527 | ;; replacement: https://github.com/portugueslab/flammkuchen. | 3527 | ;; replacement: https://github.com/portugueslab/flammkuchen. |
| 3528 | (let ((commit "3f2dff7a03f1b31f6924b665ad5b8c299329c1cd") | 3528 | (let ((commit "3f2dff7a03f1b31f6924b665ad5b8c299329c1cd") |
| 3529 | (revision "0")) | 3529 | (revision "0")) |
| 3530 | (package | 3530 | (package |
| 3531 | (name "python-deepdish") | 3531 | (name "python-deepdish") |
| 3532 | (version (git-version "0.3.7" revision commit)) | 3532 | (version (git-version "0.3.7" revision commit)) |
| 3533 | (source | 3533 | (source |
| 3534 | (origin | 3534 | (origin |
| 3535 | (method git-fetch) | 3535 | (method git-fetch) |
| 3536 | (uri (git-reference | 3536 | (uri (git-reference |
| 3537 | (url "https://github.com/uchicago-cs/deepdish") | 3537 | (url "https://github.com/uchicago-cs/deepdish") |
| 3538 | (commit commit))) | 3538 | (commit commit))) |
| 3539 | (file-name (git-file-name name version)) | 3539 | (file-name (git-file-name name version)) |
| 3540 | (sha256 | 3540 | (sha256 |
| 3541 | (base32 | 3541 | (base32 "1n3r6z5zd18kdmzyg1gkm9lqi573szlxbls1ck5wjn4a14ar9fw3")))) |
| 3542 | "1n3r6z5zd18kdmzyg1gkm9lqi573szlxbls1ck5wjn4a14ar9fw3")))) | 3542 | (arguments |
| 3543 | (arguments | 3543 | ;; Disable few failing tests to pass the build. |
| 3544 | ;; Disable few failing tests to pass the build. | 3544 | (list |
| 3545 | (list #:test-flags | 3545 | #:test-flags |
| 3546 | #~(list "-k" (string-append "not test_pad" | 3546 | #~(list "-k" (string-append "not test_pad" |
| 3547 | " and not test_pad_repeat_border" | 3547 | " and not test_pad_repeat_border" |
| 3548 | " and not test_pad_repeat_border_corner" | 3548 | " and not test_pad_repeat_border_corner" |
| 3549 | " and not test_pad_to_size")) | 3549 | " and not test_pad_to_size")) |
| 3550 | #:phases #~(modify-phases %standard-phases | 3550 | #:phases |
| 3551 | (add-after 'unpack 'dont-vendor-six | 3551 | #~(modify-phases %standard-phases |
| 3552 | (lambda _ | 3552 | (add-after 'unpack 'dont-vendor-six |
| 3553 | (delete-file "deepdish/six.py") | 3553 | (lambda _ |
| 3554 | (substitute* "deepdish/io/hdf5io.py" | 3554 | (delete-file "deepdish/six.py") |
| 3555 | (("from deepdish import six") "import six")) | 3555 | (substitute* "deepdish/io/hdf5io.py" |
| 3556 | (substitute* "deepdish/io/ls.py" | 3556 | (("from deepdish import six") "import six")) |
| 3557 | (("from deepdish import io, six, __version__") | 3557 | (substitute* "deepdish/io/ls.py" |
| 3558 | "from deepdish import io, __version__ | 3558 | (("from deepdish import io, six, __version__") |
| 3559 | "from deepdish import io, __version__ | ||
| 3559 | import six | 3560 | import six |
| 3560 | "))))))) | 3561 | "))))))) |
| 3561 | (build-system pyproject-build-system) | 3562 | (build-system pyproject-build-system) |
| 3562 | (native-inputs | 3563 | (native-inputs |
| 3563 | (list python-pytest | 3564 | (list python-pytest |
| 3564 | python-pandas | 3565 | python-pandas |
| 3565 | python-setuptools | 3566 | python-setuptools |
| 3566 | python-wheel)) | 3567 | python-wheel)) |
| 3567 | (propagated-inputs | 3568 | (propagated-inputs |
| 3568 | (list python-numpy | 3569 | (list python-numpy |
| 3569 | python-scipy | 3570 | python-scipy |
| 3570 | python-six | 3571 | python-six |
| 3571 | python-tables)) | 3572 | python-tables)) |
| 3572 | (home-page "https://github.com/uchicago-cs/deepdish") | 3573 | (home-page "https://github.com/uchicago-cs/deepdish") |
| 3573 | (synopsis "Python library for HDF5 file saving and loading") | 3574 | (synopsis "Python library for HDF5 file saving and loading") |
| 3574 | (description | 3575 | (description |
| 3575 | "Deepdish is a Python library to load and save HDF5 files. | 3576 | "Deepdish is a Python library to load and save HDF5 files. |
| 3576 | The primary feature of deepdish is its ability to save and load all kinds of | 3577 | The primary feature of deepdish is its ability to save and load all kinds of |
| 3577 | data as HDF5. It can save any Python data structure, offering the same ease | 3578 | data as HDF5. It can save any Python data structure, offering the same ease |
| 3578 | of use as pickling or @code{numpy.save}, but with the language | 3579 | of use as pickling or @code{numpy.save}, but with the language |
| 3579 | interoperability offered by HDF5.") | 3580 | interoperability offered by HDF5.") |
| 3580 | (license license:bsd-3)))) | 3581 | (license license:bsd-3)))) |
| 3581 | 3582 | ||
| 3582 | (define-public python-simple-pid | 3583 | (define-public python-simple-pid |
| 3583 | (package | 3584 | (package |
