diff options
author | Juan Miguel Carceller <22276694+jmcarcell@users.noreply.github.com> | 2023-08-09 16:38:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-09 10:38:46 -0400 |
commit | 548a9de6715f27d1643975c8b89e4034a4ea1199 (patch) | |
tree | d42d3a582b347c814b46090799beaf8f06ea5141 | |
parent | 8e7c53a8ba32e0793e36e66b5fdac8f4f61e644d (diff) | |
download | spack-548a9de6715f27d1643975c8b89e4034a4ea1199.tar.gz spack-548a9de6715f27d1643975c8b89e4034a4ea1199.tar.bz2 spack-548a9de6715f27d1643975c8b89e4034a4ea1199.tar.xz spack-548a9de6715f27d1643975c8b89e4034a4ea1199.zip |
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>
-rw-r--r-- | var/spack/repos/builtin/packages/py-setuptools-scm/package.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-setuptools-scm/package.py b/var/spack/repos/builtin/packages/py-setuptools-scm/package.py index 807c0ced17..6b5412cf9b 100644 --- a/var/spack/repos/builtin/packages/py-setuptools-scm/package.py +++ b/var/spack/repos/builtin/packages/py-setuptools-scm/package.py @@ -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")) |