GNU bug report logs -
#56186
[PATCH] gnu: Add python-deepdish.
Previous Next
Reported by: Antero Mejr <antero <at> mailbox.org>
Date: Fri, 24 Jun 2022 12:52:02 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#56186: [PATCH] gnu: Add python-deepdish.
which was filed against the guix-patches package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 56186 <at> debbugs.gnu.org.
--
56186: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=56186
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
[Message part 3 (text/plain, inline)]
Hi Antero,
Antero Mejr <antero <at> mailbox.org> skribis:
> * gnu/packages/python-science.scm (python-deepdish): New variable.
Applied with the changes below (inspired by ‘README.rst’), as per
<https://guix.gnu.org/manual/devel/en/html_node/Synopses-and-Descriptions.html>.
Thanks,
Ludo’.
[Message part 4 (text/x-patch, inline)]
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 135c6a99ff..747c84d493 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -1396,5 +1396,10 @@ (define-public python-deepdish
python-tables))
(home-page "https://github.com/uchicago-cs/deepdish")
(synopsis "Python library for HDF5 file saving and loading")
- (description "HDF5 saving/loading and other data science tools.")
+ (description
+ "Deepdish is a Python library to load and save HDF5 files.
+The primary feature of deepdish is its ability to save and load all kinds of
+data as HDF5. It can save any Python data structure, offering the same ease
+of use as pickling or @code{numpy.save}, but with the language
+interoperability offered by HDF5.")
(license license:bsd-3)))
[Message part 5 (message/rfc822, inline)]
* gnu/packages/python-science.scm (python-deepdish): New variable.
---
gnu/packages/python-science.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 56f109e3d5..0f5403b36b 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -1367,3 +1367,34 @@ (define-public python-gpy
Python, from the Sheffield machine learning group. GPy implements a range of
machine learning algorithms based on GPs.")
(license license:bsd-3)))
+
+(define-public python-deepdish
+ (package
+ (name "python-deepdish")
+ (version "0.3.7")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "deepdish" version))
+ (sha256
+ (base32
+ "1wqzwh3y0mjdyba5kfbvlamn561d3afz50zi712c7klkysz3mzva"))))
+ (arguments
+ (list #:phases #~(modify-phases %standard-phases
+ (add-after 'unpack 'dont-vendor-six
+ (lambda _
+ (delete-file "deepdish/six.py")
+ (substitute* "deepdish/io/hdf5io.py"
+ (("from deepdish import six") "import six"))
+ (substitute* "deepdish/io/ls.py"
+ (("from deepdish import io, six, __version__")
+ "from deepdish import io, __version__
+import six
+")))))))
+ (build-system python-build-system)
+ (native-inputs (list python-pandas))
+ (propagated-inputs (list python-numpy python-scipy python-six
+ python-tables))
+ (home-page "https://github.com/uchicago-cs/deepdish")
+ (synopsis "Python library for HDF5 file saving and loading")
+ (description "HDF5 saving/loading and other data science tools.")
+ (license license:bsd-3)))
--
2.36.1
This bug report was last modified 2 years and 346 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.