summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorChuck Atkins <chuck.atkins@kitware.com>2019-05-07 13:07:24 -0400
committerGitHub <noreply@github.com>2019-05-07 13:07:24 -0400
commit251f3f5058beb60f65d420a03f1ee77998ddbc87 (patch)
treef2c0a96e09c8d938d48439b1c575af117d2957c5 /var
parent65ff6ed8f686f10347b5f5ff1a0f0d32a486c746 (diff)
downloadspack-251f3f5058beb60f65d420a03f1ee77998ddbc87.tar.gz
spack-251f3f5058beb60f65d420a03f1ee77998ddbc87.tar.bz2
spack-251f3f5058beb60f65d420a03f1ee77998ddbc87.tar.xz
spack-251f3f5058beb60f65d420a03f1ee77998ddbc87.zip
ninja: drop python as a run dep (#11347)
* ninja: Make python a build-only dependency * ninja, ninja-fortran: allow the packages to provide eachother
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/ninja-fortran/package.py4
-rw-r--r--var/spack/repos/builtin/packages/ninja/package.py4
2 files changed, 6 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/ninja-fortran/package.py b/var/spack/repos/builtin/packages/ninja-fortran/package.py
index 605c897a72..e15de14b35 100644
--- a/var/spack/repos/builtin/packages/ninja-fortran/package.py
+++ b/var/spack/repos/builtin/packages/ninja-fortran/package.py
@@ -25,7 +25,9 @@ class NinjaFortran(Package):
version('1.7.2.0.gcc0ea', '3982f508c415c0abaca34cb5e92e711a')
version('1.7.1.0.g7ca7f', '187a8d15c1e20e5e9b00c5c3f227ca8a')
- depends_on('python', type=('build', 'run'))
+ depends_on('python', type='build')
+
+ provides('ninja')
phases = ['configure', 'install']
diff --git a/var/spack/repos/builtin/packages/ninja/package.py b/var/spack/repos/builtin/packages/ninja/package.py
index 7deb90d345..7be01a6f47 100644
--- a/var/spack/repos/builtin/packages/ninja/package.py
+++ b/var/spack/repos/builtin/packages/ninja/package.py
@@ -22,7 +22,9 @@ class Ninja(Package):
version('1.7.2', '7b482218757acbaeac4d4d54a3cd94e1')
version('1.6.0', '254133059f2da79d8727f654d7198f43')
- depends_on('python', type=('build', 'run'))
+ depends_on('python', type='build')
+
+ provides('ninja-fortran', when='@kitware')
phases = ['configure', 'install']