mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02: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:
committed by
Sharlatan Hellseher
parent
fa46f86f81
commit
5b5ea04775
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user