mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-setuptools-scm-next: Set to python-setuptools-scm.
Replace all python-setuptools-scm-next occurrences with python-setuptools-scm. * gnu/packages/python-build.scm (python-setuptools-scm-next): Set to python-setuptools-scm. Change-Id: I929ca14d24ed05efecded4c23ff02c42d50098c6
This commit is contained in:
parent
b79fbf27b8
commit
762352c96f
7 changed files with 37 additions and 66 deletions
|
@ -707,36 +707,7 @@ system, then @code{flit_core} to build the package.")
|
|||
them as the version argument or in a SCM managed file.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public python-setuptools-scm-next
|
||||
(package
|
||||
(inherit python-setuptools-scm)
|
||||
(name "python-setuptools-scm")
|
||||
(version "8.1.0")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "setuptools_scm" version))
|
||||
(sha256
|
||||
(base32 "19y84rzqwb2rd88bjrlafrhfail2bnk6apaig8xskjviayva3pj2"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments (list
|
||||
;; pyproject-build-system will error handle forms such as
|
||||
;; "module:object", so we set it.
|
||||
#:build-backend "setuptools.build_meta"
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'setenv
|
||||
(lambda _
|
||||
;; pyproject-build-system ignore backend-path,
|
||||
;; and __import__ ignore GUIX_PYTHONPATH, so set
|
||||
;; PYTHONPATH.
|
||||
(setenv "PYTHONPATH"
|
||||
(string-append
|
||||
(getcwd)
|
||||
":"
|
||||
(getcwd) "/src:"
|
||||
(getenv "GUIX_PYTHONPATH"))))))
|
||||
#:tests? #f)) ;avoid extra dependencies such as pytest
|
||||
(native-inputs (list python-setuptools python-wheel))))
|
||||
(define-public python-setuptools-scm-next python-setuptools-scm)
|
||||
|
||||
(define-public python-editables
|
||||
(package
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue