gnu: python-et-xmlfile: Update to 1.1.0.
* gnu/packages/python-xyz.scm (python-et-xmlfile): Update to 1.1.0. [source]: Switch to HG-FETCH. [arguments]: Use G-expression and respect TESTS? keyword.master
parent
379e66b64b
commit
8d5637103f
|
@ -2574,20 +2574,25 @@ downloaded, or download a strip for a particular date or index, if possible.")
|
||||||
(define-public python-et-xmlfile
|
(define-public python-et-xmlfile
|
||||||
(package
|
(package
|
||||||
(name "python-et-xmlfile")
|
(name "python-et-xmlfile")
|
||||||
(version "1.0.1")
|
(version "1.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
;; Use a checkout because the PyPI archive does not contain tests.
|
||||||
(uri (pypi-uri "et_xmlfile" version))
|
(method hg-fetch)
|
||||||
|
(uri (hg-reference
|
||||||
|
(url "https://foss.heptapod.net/openpyxl/et_xmlfile")
|
||||||
|
(changeset version)))
|
||||||
|
(file-name (string-append name "-" version "-checkout"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "09r8rjc5bhkqrm5c4n9jrlvad8vrvbyswl9g0wrc1qc7nzh9mpw7"))))
|
||||||
"0nrkhcb6jdrlb6pwkvd4rycw34y3s931hjf409ij9xkjsli9fkb1"))))
|
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases (modify-phases %standard-phases
|
(list #:phases
|
||||||
(replace 'check
|
#~(modify-phases %standard-phases
|
||||||
(lambda _
|
(replace 'check
|
||||||
(invoke "pytest"))))))
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
|
(when tests?
|
||||||
|
(invoke "pytest" "-vv")))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-pytest python-lxml)) ;used for the tests
|
(list python-pytest python-lxml)) ;used for the tests
|
||||||
(home-page "https://bitbucket.org/openpyxl/et_xmlfile")
|
(home-page "https://bitbucket.org/openpyxl/et_xmlfile")
|
||||||
|
|
Reference in New Issue