gnu: python-astrodendro: Update to 0.3.1.

* gnu/packages/astronomy.scm (python-astrodendro): Update to 0.3.1.
[source]: Swap to PyPI tarball containing a fresh release.
[phases]: Remove 'set-env-version, no longer required.

Change-Id: I3180990d8a12747b7b301680a705f956a7f47e0c
This commit is contained in:
Sharlatan Hellseher 2024-11-21 16:06:37 +00:00
parent 0cd1b7d3dd
commit 20a8dac0b5
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -1756,32 +1756,16 @@ astronomical images, especially when there is no WCS information available.")
(license license:expat))) (license license:expat)))
(define-public python-astrodendro (define-public python-astrodendro
;; XXX: 0.2.0 was released 8 years ago and not compatible with Python 3.10,
;; use the latest commit on master branch, see
;; <https://github.com/dendrograms/astrodendro/issues/189>.
(let ((commit "3181c36489caa4c62b36b7ec8e06f4da65af6fda")
(revision "0"))
(package (package
(name "python-astrodendro") (name "python-astrodendro")
(version (git-version "0.2.0" revision commit)) (version "0.3.1")
(source (source
(origin (origin
(method git-fetch) (method url-fetch)
(uri (git-reference (uri (pypi-uri "astrodendro" version))
(url "https://github.com/dendrograms/astrodendro")
(commit commit)))
(sha256 (sha256
(base32 "1imahzl0g8r1lxyiz9wi9q4zk519yxgn6qs1nb0ybb34sipjs4kz")) (base32 "0pav2rq5q0wyr38g6z8ai4z2iqqc9x04iwll158yvkvgnv352m0i"))))
(file-name (git-file-name name version))))
(build-system pyproject-build-system) (build-system pyproject-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(add-before 'build 'set-env-version
(lambda _
(setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
#$(version-major+minor+point version)))))))
(native-inputs (native-inputs
(list python-pytest (list python-pytest
python-setuptools python-setuptools
@ -1797,7 +1781,7 @@ astronomical images, especially when there is no WCS information available.")
(description (description
"This package provides an way to compute dendrograms of observed or "This package provides an way to compute dendrograms of observed or
simulated Astronomical data in Python.") simulated Astronomical data in Python.")
(license license:expat)))) (license license:expat)))
(define-public python-astroml (define-public python-astroml
(package (package