guix-commits
[Top][All Lists]
Advanced

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

02/03: gnu: python-xlrd: Update to 1.2.0.


From: guix-commits
Subject: 02/03: gnu: python-xlrd: Update to 1.2.0.
Date: Wed, 30 Oct 2019 05:18:16 -0400 (EDT)

mothacehe pushed a commit to branch master
in repository guix.

commit 3a2b1a3c9c3033345a091026d4299b0399d8f14c
Author: Giacomo Leidi <address@hidden>
Date:   Mon Oct 28 23:53:27 2019 +0100

    gnu: python-xlrd: Update to 1.2.0.
    
    * gnu/packages/python-xyz.scm (python-xlrd): Update to 1.2.0.
    
    Signed-off-by: Mathieu Othacehe <address@hidden>
---
 gnu/packages/python-xyz.scm | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f6347d7..136c786 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -7247,21 +7247,23 @@ Supported netlink families and protocols include:
 (define-public python-xlrd
   (package
     (name "python-xlrd")
-    (version "1.0.0")
+    (version "1.2.0")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "xlrd" version))
               (sha256
                (base32
-                "0s8hjiz01vbhy85xalrz0qlsmd9ypf36zjqrf97hh984spapvy0g"))))
+                "1ci93fda4n67qhdvfl16zasyxrpygzk53hs6m8z0rd4dxrnb6vjl"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
        (modify-phases %standard-phases
-         ;; Current test in setup.py does not work as of 1.0.0, so use nose to
-         ;; run tests instead for now.
-         (replace 'check (lambda _ (invoke "nosetests"))))))
-    (native-inputs `(("python-nose"       ,python-nose)))
+         ;; Some tests depend on writing a temp file
+         ;; to the user's home directory
+         (add-after 'unpack 'fix-tests
+           (lambda _
+             (delete-file "tests/test_open_workbook.py")
+             #t)))))
     (home-page "http://www.python-excel.org/";)
     (synopsis "Library for extracting data from Excel files")
     (description "This package provides a library to extract data from



reply via email to

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