gnu: python-specreduce: Simplify.

* gnu/packages/astronomy.scm (python-specreduce) [arguments] <phases>:
Remove 'patch-pyproject-toml.
[native-inputs]: Remove python-setuptools-scm; add
python-setuptools-scm-next.

Change-Id: Ia582574b00bfb5a08a39c8ac8bac591fd661706e
This commit is contained in:
Sharlatan Hellseher 2025-02-17 14:55:54 +00:00
parent 5270127caf
commit a2202e93f7
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -3566,12 +3566,6 @@ but has evolved to support other missions as well.")
" and not specreduce.calibration_data.get_reference_file_path"))
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'patch-pypojrect-toml
(lambda _
(substitute* "pyproject.toml"
;; TypeError: Configuration.__init__() got an unexpected
;; keyword argument 'version_file'
(("version_file = .*") ""))))
(add-before 'check 'set-home
(lambda _
;; Relax matplotlib warning: ... because the default path
@ -3581,7 +3575,7 @@ but has evolved to support other missions as well.")
(native-inputs
(list python-photutils
python-pytest-astropy
python-setuptools-scm
python-setuptools-scm-next
python-wheel))
(propagated-inputs
(list python-astropy