gnu: python-duniterpy: Update to 0.43.7.

* gnu/packages/finance.scm (python-duniterpy): Update to 0.43.7.
[source]: Change upstream repository, which moved to a Gitlab instance.
[arguments]: Remove phase removing a failing test, no longer needed.
This commit is contained in:
Nicolas Goaziou 2018-08-09 23:34:07 +02:00
parent bcdee2dc33
commit 7dab3e61c8
No known key found for this signature in database
GPG Key ID: A834B9E080A93738
1 changed files with 3 additions and 12 deletions

View File

@ -825,28 +825,19 @@ Luhn and family of ISO/IEC 7064 check digit algorithms. ")
(define-public python-duniterpy
(package
(name "python-duniterpy")
(version "0.43.2")
(version "0.43.7")
(source
(origin
(method git-fetch)
;; Pypi's default URI is missing "requirements.txt" file.
(uri (git-reference
(url "https://github.com/duniter/duniter-python-api.git")
(url "https://git.duniter.org/clients/python/duniterpy.git")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"1ch4f150k1p1l876pp08p5rxqhpv5xfbxdw6njcmr06hspv8v8x4"))))
"19m36z98361bqxjdb65597j2kxbly491927c6p9z47s1vxc3raaq"))))
(build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
;; Among 108 tests, a single one is failing: FAIL:
;; test_from_pubkey. Remove it.
(add-after 'unpack 'remove-failing-test
(lambda _
(delete-file "tests/documents/test_crc_pubkey.py")
#t)))))
(propagated-inputs
`(("python-aiohttp" ,python-aiohttp)
("python-base58" ,python-base58)