summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm20
1 files changed, 1 insertions, 19 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 1445c6f3025..75cbc8d6f93 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9706,24 +9706,6 @@ objects.")
9706 (base32 9706 (base32
9707 "111bqz2xqr17rrc7svd20z94xf3zkfs9anjvzpr683zz4iywbcfl")))) 9707 "111bqz2xqr17rrc7svd20z94xf3zkfs9anjvzpr683zz4iywbcfl"))))
9708 (build-system pyproject-build-system) 9708 (build-system pyproject-build-system)
9709 (arguments
9710 (list
9711 #:phases
9712 #~(modify-phases %standard-phases
9713 (add-after 'unpack 'fix-version
9714 (lambda _
9715 (with-output-to-file "sparse/_version.py"
9716 (let* ((version #$(package-version this-package) )
9717 (version-tuple (string-join (string-split version #\.) ", ")))
9718 (lambda ()
9719 (format #t
9720 "__version__ = version = '~a'
9721__version_tuple__ = version_tuple = (~a)~%" version version-tuple))))
9722 (substitute* "pyproject.toml"
9723 (("\\[tool\\.setuptools_scm\\]") "")
9724 (("^version_file.*") "")
9725 (("^dynamic = \\[\"version\"\\]")
9726 (string-append "version = \"" #$version "\"\n"))))))))
9727 (propagated-inputs 9709 (propagated-inputs
9728 (list python-numba python-numpy python-scipy)) 9710 (list python-numba python-numpy python-scipy))
9729 (native-inputs 9711 (native-inputs
@@ -9732,7 +9714,7 @@ __version_tuple__ = version_tuple = (~a)~%" version version-tuple))))
9732 python-pytest 9714 python-pytest
9733 python-pytest-cov 9715 python-pytest-cov
9734 python-setuptools 9716 python-setuptools
9735 python-setuptools-scm 9717 python-setuptools-scm-next
9736 python-wheel)) 9718 python-wheel))
9737 (home-page "https://github.com/pydata/sparse/") 9719 (home-page "https://github.com/pydata/sparse/")
9738 (synopsis "Library for multi-dimensional sparse arrays") 9720 (synopsis "Library for multi-dimensional sparse arrays")