me
/
guix
Archived
1
0
Fork 0

gnu: python-sep: Refresh package style.

* gnu/packages/astronomy.scm (python-sep): Refresh package style.
[package]: Swap to package/inherit.
[build-system]: Swap to pyproject-build-system.
[arguments]: <#:test-flags>: Activate tests for Python.
[native-inputs]: Do not modify inherited inputs, override instead. Add
python-pytest.
[propagated-inputs]: Override inputs.
[synopsis]: Add Python specific synopsis.

Change-Id: I86f68972eb51e9d546bcba6ee4f33de726c022e2
Signed-off-by: Andrew Tropin <andrew@trop.in>
master
Sharlatan Hellseher 2024-05-20 23:12:28 +01:00 committed by Andrew Tropin
parent ee8ff44519
commit c220874a37
No known key found for this signature in database
GPG Key ID: 2208D20958C1DEB0
1 changed files with 6 additions and 9 deletions

View File

@ -4472,19 +4472,16 @@ spectra, and data.")
(license license:bsd-3))))
(define-public python-sep
(package
(inherit libsep)
(package/inherit libsep
(name "python-sep")
(build-system python-build-system)
(build-system pyproject-build-system)
(arguments
(strip-keyword-arguments
'(#:make-flags) (package-arguments libsep)))
(list #:test-flags #~(list "test.py")))
(native-inputs
(modify-inputs (package-inputs libsep)
(prepend python-cython)))
(list python-cython python-pytest))
(propagated-inputs
(modify-inputs (package-inputs libsep)
(prepend python-numpy)))))
(list python-numpy))
(synopsis "Python library for Source Extraction and Photometry")))
(define-public python-suntime
(package