gnu: python-gatspy: Refresh package style.
* gnu/packages/astronomy.scm (python-gatspy): Adjust indentetion. [arguments]: Use #~ qutation style. <#:test-flags>: Activate tests for supersmoother. [propagated-inputs]: Add python-supersmoother. Change-Id: Ibbaae0f87693f5f4aa6e3f92d567881ad58dbfbamaster
parent
b4306b66fd
commit
b332e7b85e
|
@ -675,33 +675,34 @@ CFITSIO library. Among other things, it can
|
||||||
(package
|
(package
|
||||||
(name "python-gatspy")
|
(name "python-gatspy")
|
||||||
(version "0.3")
|
(version "0.3")
|
||||||
(source (origin
|
(source
|
||||||
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "gatspy" version))
|
(uri (pypi-uri "gatspy" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "1gw2z6x8nikvnw2gkdl70gr81cwczd1pd7v8ry2kjn6k4kssrfav"))))
|
||||||
"1gw2z6x8nikvnw2gkdl70gr81cwczd1pd7v8ry2kjn6k4kssrfav"))))
|
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
|
#:test-flags
|
||||||
|
;; These tests require internet access
|
||||||
|
#~(list "-k" "not test_download_data.py")
|
||||||
#:phases
|
#:phases
|
||||||
'(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
;; Tests need this
|
;; Tests need this
|
||||||
(add-before 'check 'set-HOME
|
(add-before 'check 'set-HOME
|
||||||
(lambda _ (setenv "HOME" "/tmp"))))
|
(lambda _ (setenv "HOME" "/tmp"))))))
|
||||||
#:test-flags
|
(propagated-inputs
|
||||||
'(list "-k"
|
(list python-astroml
|
||||||
(string-append
|
python-numpy
|
||||||
;; These tests require internet access
|
python-scipy
|
||||||
"not test_download_data.py"
|
python-supersmoother))
|
||||||
;; XXX: we don't have supersmoother
|
|
||||||
" and not test_supersmoother.py"))))
|
|
||||||
(propagated-inputs (list python-astroml python-numpy python-scipy))
|
|
||||||
(native-inputs (list python-pytest python-nose python-setuptools-scm))
|
(native-inputs (list python-pytest python-nose python-setuptools-scm))
|
||||||
(home-page "https://github.com/astroml/gatspy")
|
(home-page "https://github.com/astroml/gatspy")
|
||||||
(synopsis "General tools for astronomical time series in Python")
|
(synopsis "General tools for astronomical time series in Python")
|
||||||
(description "This package provides general tools for astronomical time
|
(description
|
||||||
series in Python.")
|
"This package provides general tools for astronomical time series in
|
||||||
|
Python.")
|
||||||
(license license:bsd-2)))
|
(license license:bsd-2)))
|
||||||
|
|
||||||
(define-public python-ginga
|
(define-public python-ginga
|
||||||
|
|
Reference in New Issue