mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-suntime: Fix tests.
* gnu/packages/astronomy.scm (python-suntime)[source]: Switch to git-fetch providing tests. [arguments] <test-flags>: Provide the path to the test file. [native-inputs]: Remove python-wheel; add python-pytest. Change-Id: Ia00f4940d6e398996eaa67689ff1d804533d2729
This commit is contained in:
parent
dc2ba91533
commit
045079199a
1 changed files with 10 additions and 5 deletions
|
@ -9034,14 +9034,19 @@ analyze spectrogram data.")
|
||||||
(version "1.3.2")
|
(version "1.3.2")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method git-fetch) ; no tests data in the PyPI tarball
|
||||||
(uri (pypi-uri "suntime" version))
|
(uri (git-reference
|
||||||
|
(url "https://github.com/SatAgro/suntime")
|
||||||
|
(commit (string-append "v" version))))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1kyd1r6zcs0jmh5gq74adrnb1h7dfr1mzjq4k4vbngfiga8gfd28"))))
|
(base32 "145jqwnl8frg49981xcli1l13h73m40gkbnpwa88lhva03j7y1k2"))))
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
|
(arguments
|
||||||
|
(list #:test-flags #~(list "tests.py")))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-setuptools
|
(list python-pytest
|
||||||
python-wheel))
|
python-setuptools))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-dateutil))
|
(list python-dateutil))
|
||||||
(home-page "https://github.com/SatAgro/suntime")
|
(home-page "https://github.com/SatAgro/suntime")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue