guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 02/10] gnu: Add python-bz2file.


From: Ben Woodcroft
Subject: Re: [PATCH 02/10] gnu: Add python-bz2file.
Date: Sun, 24 Apr 2016 23:17:41 +1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0

Hi Hartmut,

Thanks for your comments.

On 22/04/16 04:24, Hartmut Goebel wrote:
Am 21.04.2016 um 15:21 schrieb Ben Woodcroft:
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         ;; python setup.py test does not work as of 0.98
+         ;; but there is only the one test file
+         (replace 'check
+           (lambda _ (zero? (system* "python" "test_bz2file.py")))))))

I wonder if this is actually working. The python-3 package does not include "python" (except if this was changed the last days).

As I understand, python-wrapper, which provides python as a symlink to python3, as a native input. And, it works.

+    (description
+     "Bz2file is a Python library for reading and writing bzip2-compressed
+files.  It contains a drop-in replacement for the file interface in the

I do not understand "replacement for the file interface". If this like the "zipfile" module?

Better now?

    (description
     "Bz2file is a Python library for reading and writing bzip2-compressed
files.  It contains a drop-in replacement for the I/O interface in the
standard library's @code{bz2} module, including features from the latest
development version of CPython that are not available in older releases.")


ta,
ben

reply via email to

[Prev in Thread] Current Thread [Next in Thread]