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
Message #16 received at 56186 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/python-science.scm (python-deepdish): Move code patch
to source snippet.
---
gnu/packages/python-science.scm | 22 +++++++++-------------
1 file changed, 9 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 57c9325f49..905de853e0 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -1377,19 +1377,15 @@ (define-public python-deepdish
(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
-")))))))
+ "1wqzwh3y0mjdyba5kfbvlamn561d3afz50zi712c7klkysz3mzva"))
+ (modules '((guix build utils)))
+ (snippet #~(begin (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
--
2.37.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.