me
/
guix
Archived
1
0
Fork 0

gnu: python-xlrd: Update to 2.0.1.

* gnu/packages/python-xyz.scm (python-xlrd): Update to 2.0.1.
[source]: Use git-fetch.
[arguments]: Delete field.
[native-inputs]: Add python-pytest.
master
Maxim Cournoyer 2021-12-27 22:23:46 -05:00
parent 48baca342d
commit 0c83eca719
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 10 additions and 13 deletions

View File

@ -11002,23 +11002,20 @@ native modules.")
(define-public python-xlrd (define-public python-xlrd
(package (package
(name "python-xlrd") (name "python-xlrd")
(version "1.2.0") (version "2.0.1")
(source (origin (source (origin
(method url-fetch) ;; The tests are not included in the PyPI archive.
(uri (pypi-uri "xlrd" version)) (method git-fetch)
(uri (git-reference
(url "https://github.com/python-excel/xlrd")
(commit version)))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32
"1ci93fda4n67qhdvfl16zasyxrpygzk53hs6m8z0rd4dxrnb6vjl")))) "170asszffvf6rh5w169ic4h5kxgjkmdl3060vw737d4g1qfifvzz"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (native-inputs
`(#:phases (list python-pytest))
(modify-phases %standard-phases
;; Some tests depend on writing a temporary 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/") (home-page "http://www.python-excel.org/")
(synopsis "Library for extracting data from Excel files") (synopsis "Library for extracting data from Excel files")
(description "This package provides a library to extract data from (description "This package provides a library to extract data from