mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-ephem: Fix 'check phase.
* gnu/packages/astronomy.scm (python-ephem)[arguments] <#:test-flags>: Ignore failing test. <#:phases>: Add phase 'remove-installed-tests. [native-inputs]: Add python-pytest, remove python-wheel. Change-Id: I128d996ac19b413cc0680c759a21493ed722d86e Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
548538a66d
commit
a043e61a1c
1 changed files with 16 additions and 3 deletions
|
@ -4035,10 +4035,23 @@ older EsoReflex environment.")
|
|||
(sha256
|
||||
(base32 "0rb0vc3kgmw5rzhfhxffg94bcwasm46sf814hv7l13ry8m7xckrw"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:test-flags
|
||||
#~(list "--deselect=ephem/tests/test_jpl.py::JPLTest::runTest")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
;; XXX: See https://codeberg.org/guix/guix/issues/2108
|
||||
(add-after 'install 'remove-installed-tests
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(delete-file-recursively ".")
|
||||
(mkdir-p "ephem")
|
||||
(let* ((site (site-packages inputs outputs))
|
||||
(tests (string-append site "/ephem/tests")))
|
||||
(copy-recursively tests "ephem/tests")
|
||||
(delete-file-recursively tests)))))))
|
||||
(native-inputs
|
||||
(list python-setuptools
|
||||
python-wheel
|
||||
tzdata))
|
||||
(list python-pytest python-setuptools tzdata))
|
||||
(home-page "https://rhodesmill.org/pyephem/")
|
||||
(synopsis "Compute positions of the planets and stars")
|
||||
(description
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue