mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-21 09:37:03 +01:00
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.
This commit is contained in:
parent
48baca342d
commit
0c83eca719
1 changed files with 10 additions and 13 deletions
|
@ -11002,23 +11002,20 @@ (define-public python-commonmark
|
|||
(define-public python-xlrd
|
||||
(package
|
||||
(name "python-xlrd")
|
||||
(version "1.2.0")
|
||||
(version "2.0.1")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "xlrd" version))
|
||||
;; The tests are not included in the PyPI archive.
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/python-excel/xlrd")
|
||||
(commit version)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"1ci93fda4n67qhdvfl16zasyxrpygzk53hs6m8z0rd4dxrnb6vjl"))))
|
||||
"170asszffvf6rh5w169ic4h5kxgjkmdl3060vw737d4g1qfifvzz"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(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)))))
|
||||
(native-inputs
|
||||
(list python-pytest))
|
||||
(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
|
||||
|
|
Loading…
Reference in a new issue