mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-28 11:55:06 -06:00
gnu: electrum: Enable tests.
* gnu/packages/finance.scm (electrum)[arguments]: Remove '#:tests? #f'. <#:test-flags>: Skip one test. <#:phases>: Add phase 'set-home' before 'check'. [native-inputs]: Add python-pytest. Change-Id: I1e42b973aec17ba2c0d4ec605190ba76b3a42136
This commit is contained in:
parent
d27220759c
commit
05c86995c0
1 changed files with 9 additions and 3 deletions
|
|
@ -652,7 +652,10 @@ require Coincurve.")
|
|||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:tests? #f ; no tests
|
||||
;; Either pycryptodomex or cryptography must be available.
|
||||
;; This package uses python-cryptography, but this test checks for
|
||||
;; cryptodomex anyway. Skip it since it's not useful.
|
||||
#:test-flags #~(list "-k" "not test_pycryptodomex_is_available")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'relax-deps
|
||||
|
|
@ -662,8 +665,11 @@ require Coincurve.")
|
|||
;; the developer does not want to introduce Hatchling in
|
||||
;; the build environment. They do work at runtime.
|
||||
(("attrs.*") "attrs")
|
||||
(("dnspython.*") "dnspython")))))))
|
||||
(native-inputs (list python-setuptools python-wheel))
|
||||
(("dnspython.*") "dnspython"))))
|
||||
(add-before 'check 'set-home
|
||||
(lambda _ ; 3 tests run mkdir
|
||||
(setenv "HOME" "/tmp"))))))
|
||||
(native-inputs (list python-pytest python-setuptools python-wheel))
|
||||
(inputs
|
||||
(list electrum-aionostr
|
||||
python-aiohttp
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue