mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-sparse: Simplify.
* gnu/packages/python-xyz.scm (python-sparse) [arguments] <phases>: Remove 'fix-version as setuptools-scm 8+ provides this now. [native-inputs]: Remove python-setuptools-scm; add python-setuptools-scm-next. Change-Id: Ic75b481d78a1f4d5bd5ad16da6fbd0e54176f43e
This commit is contained in:
parent
959a88e6f4
commit
2230982885
1 changed files with 1 additions and 19 deletions
|
@ -9706,24 +9706,6 @@ objects.")
|
||||||
(base32
|
(base32
|
||||||
"111bqz2xqr17rrc7svd20z94xf3zkfs9anjvzpr683zz4iywbcfl"))))
|
"111bqz2xqr17rrc7svd20z94xf3zkfs9anjvzpr683zz4iywbcfl"))))
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
|
||||||
(list
|
|
||||||
#:phases
|
|
||||||
#~(modify-phases %standard-phases
|
|
||||||
(add-after 'unpack 'fix-version
|
|
||||||
(lambda _
|
|
||||||
(with-output-to-file "sparse/_version.py"
|
|
||||||
(let* ((version #$(package-version this-package) )
|
|
||||||
(version-tuple (string-join (string-split version #\.) ", ")))
|
|
||||||
(lambda ()
|
|
||||||
(format #t
|
|
||||||
"__version__ = version = '~a'
|
|
||||||
__version_tuple__ = version_tuple = (~a)~%" version version-tuple))))
|
|
||||||
(substitute* "pyproject.toml"
|
|
||||||
(("\\[tool\\.setuptools_scm\\]") "")
|
|
||||||
(("^version_file.*") "")
|
|
||||||
(("^dynamic = \\[\"version\"\\]")
|
|
||||||
(string-append "version = \"" #$version "\"\n"))))))))
|
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-numba python-numpy python-scipy))
|
(list python-numba python-numpy python-scipy))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
|
@ -9732,7 +9714,7 @@ __version_tuple__ = version_tuple = (~a)~%" version version-tuple))))
|
||||||
python-pytest
|
python-pytest
|
||||||
python-pytest-cov
|
python-pytest-cov
|
||||||
python-setuptools
|
python-setuptools
|
||||||
python-setuptools-scm
|
python-setuptools-scm-next
|
||||||
python-wheel))
|
python-wheel))
|
||||||
(home-page "https://github.com/pydata/sparse/")
|
(home-page "https://github.com/pydata/sparse/")
|
||||||
(synopsis "Library for multi-dimensional sparse arrays")
|
(synopsis "Library for multi-dimensional sparse arrays")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue