mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-setuptools-git: Switch to pyproject.
* gnu/packages/python-xyz.scm (python-setuptools-git): [build-system]: Switch to pyproject-build-system. [arguments]: Improve style, use gexps. [native-inputs]: Add python-setuptools, python-wheel. Change-Id: I0d451dadfbbb3acdc7049833701bc1390221dcb2 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
fa46f86f81
commit
5b5ea04775
1 changed files with 12 additions and 13 deletions
|
@ -27985,21 +27985,20 @@ belong to tagged versions.")
|
|||
(method url-fetch)
|
||||
(uri (pypi-uri "setuptools-git" version))
|
||||
(sha256
|
||||
(base32
|
||||
"0i84qjwp5m0l9qagdjww2frdh63r37km1c48mrvbmaqsl1ni6r7z"))))
|
||||
(build-system python-build-system)
|
||||
(base32 "0i84qjwp5m0l9qagdjww2frdh63r37km1c48mrvbmaqsl1ni6r7z"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
;; This is needed for tests.
|
||||
(add-after 'unpack 'configure-git
|
||||
(lambda _
|
||||
(setenv "HOME" "/tmp")
|
||||
(invoke "git" "config" "--global" "user.email" "guix")
|
||||
(invoke "git" "config" "--global" "user.name" "guix")
|
||||
#t)))))
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
;; This is needed for tests.
|
||||
(add-after 'unpack 'configure-git
|
||||
(lambda _
|
||||
(setenv "HOME" "/tmp")
|
||||
(invoke "git" "config" "--global" "user.email" "guix")
|
||||
(invoke "git" "config" "--global" "user.name" "guix"))))))
|
||||
(native-inputs
|
||||
`(("git" ,git-minimal)))
|
||||
(list git-minimal python-setuptools python-wheel))
|
||||
(home-page "https://github.com/msabramo/setuptools-git")
|
||||
(synopsis "Setuptools revision control system plugin for Git")
|
||||
(description
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue