py-setuptools-scm: add a git dependency (#36770)

* Add a git dependency

* Add the dependency only for building

* Change dependency to build and run

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

---------

Co-authored-by: jmcarcell <jmcarcell@users.noreply.github.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
Juan Miguel Carceller 2023-08-09 16:38:46 +02:00 committed by GitHub
parent 8e7c53a8ba
commit 548a9de671
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,3 +42,5 @@ class PySetuptoolsScm(PythonPackage):
depends_on("py-tomli@1:", when="@7.1: ^python@:3.10", type=("build", "run"))
depends_on("py-typing-extensions", when="@7:", type=("build", "run"))
depends_on("py-importlib-metadata", when="@7: ^python@:3.7", type=("build", "run"))
depends_on("git", type=("build", "run"))