gnu: python-duniterpy: Update to 0.60.0.

* gnu/packages/finance.scm (python-duniterpy): Update to 0.60.0.
This commit is contained in:
Nicolas Goaziou 2020-10-17 21:59:46 +02:00
parent e97be4a3c7
commit b75ef68a08
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -1034,26 +1034,18 @@ (define-public python2-stdnum
(define-public python-duniterpy
(package
(name "python-duniterpy")
(version "0.57.0")
(version "0.60.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "duniterpy" version))
(sha256
(base32 "0rw2c7r9gcqhymp82gbk1ky45zqbypsi2q5x4vdwjc6g00kh7h6l"))))
(base32 "0djn6ykmqbp8l2xbg6z8r7rkz9ijgygp2pr0gc6i7dsrlsqmjh32"))))
(build-system python-build-system)
(arguments
;; FIXME: Tests fail with: "ModuleNotFoundError: No module named
;; 'tests'". Not sure how to handle this.
`(#:tests? #f
#:phases
(modify-phases %standard-phases
;; "setup.py" tries to open missing "requirements.txt".
(add-after 'unpack 'ignore-missing-file
(lambda _
(substitute* "setup.py"
(("open\\('requirements\\.txt'\\)") "[]"))
#t)))))
;; FIXME: Tests fail with: "TypeError: block_uid() missing 1 required
;; positional argument: 'value'".
`(#:tests? #f))
(propagated-inputs
`(("aiohttp" ,python-aiohttp)
("attrs" ,python-attrs)