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:
parent
8e7c53a8ba
commit
548a9de671
1 changed files with 2 additions and 0 deletions
|
@ -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"))
|
||||
|
|
Loading…
Reference in a new issue