mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-regularizepsf: Update to 1.0.2.
* gnu/packages/astronomy.scm (python-regularizepsf): Update to 1.0.2. [source]: Swap to PyPI tarball as a fresh release contains tests now. [phases]: Remove all custom ones. [propagated-inputs]: Remove python-dill and python-lmfit. [native-inputs]: Remove python-cython and python-pytest-runner; add python-setuptools, python-setuptools-scm, and python-wheel. Change-Id: I1c17bef1a1a21665b633d22282a9df37155e4f29
This commit is contained in:
parent
f2033e78a8
commit
36706bbf1d
1 changed files with 10 additions and 26 deletions
|
@ -4356,44 +4356,28 @@ setup(ext_modules=get_extensions())")))))
|
||||||
(define-public python-regularizepsf
|
(define-public python-regularizepsf
|
||||||
(package
|
(package
|
||||||
(name "python-regularizepsf")
|
(name "python-regularizepsf")
|
||||||
(version "0.4.0")
|
(version "1.0.2")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch) ; no tests data in the PyPI tarball
|
(method url-fetch)
|
||||||
(uri (git-reference
|
(uri (pypi-uri "regularizepsf" version))
|
||||||
(url "https://github.com/punch-mission/regularizepsf")
|
|
||||||
(commit version)))
|
|
||||||
(file-name (git-file-name name version))
|
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0b16lscrzd1lribwis19y6dh6qrgddhcinlc2lbwkzzqqkjdnyzi"))))
|
(base32 "1ial8i9nshhpn3lsgnjqm94dfrzxwz2qgpd8bjzmml1ls0j7sm9v"))))
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(native-inputs
|
||||||
(list
|
(list python-pytest
|
||||||
#:phases
|
python-pytest-mpl
|
||||||
#~(modify-phases %standard-phases
|
python-setuptools
|
||||||
(add-after 'unpack 'relax-requirements
|
python-setuptools-scm
|
||||||
(lambda _
|
python-wheel))
|
||||||
(substitute* "setup.py"
|
|
||||||
;; numpy==1.26.4
|
|
||||||
(("==1.26.4") ">=1.23"))))
|
|
||||||
(add-before 'check 'build-extensions
|
|
||||||
(lambda _
|
|
||||||
(invoke "python" "setup.py" "build_ext" "--inplace"))))))
|
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-astropy
|
(list python-astropy
|
||||||
python-dill
|
|
||||||
python-h5py
|
python-h5py
|
||||||
python-lmfit
|
|
||||||
python-matplotlib
|
python-matplotlib
|
||||||
python-numpy
|
python-numpy
|
||||||
python-scikit-image
|
python-scikit-image
|
||||||
python-scipy
|
python-scipy
|
||||||
python-sep-pjw))
|
python-sep-pjw))
|
||||||
(native-inputs
|
|
||||||
(list python-cython
|
|
||||||
python-pytest
|
|
||||||
python-pytest-mpl
|
|
||||||
python-pytest-runner))
|
|
||||||
(home-page "https://github.com/punch-mission/regularizepsf")
|
(home-page "https://github.com/punch-mission/regularizepsf")
|
||||||
(synopsis "Point spread function modeling and regularization")
|
(synopsis "Point spread function modeling and regularization")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue