Mark py-argparse dependency everywhere with ^python@:2.6 (#13928)
* Mark py-argparse dependency everywhere with ^python@:2.6 * Update package.py * Update package.py
This commit is contained in:
parent
c5da94eb58
commit
aec5874b94
@ -24,7 +24,7 @@ class Awscli(PythonPackage):
|
||||
when='^python@2.6:2.6.99')
|
||||
depends_on('py-pyyaml@3.10:5.1', type=('build', 'run'),
|
||||
when='^python@2.7:')
|
||||
depends_on('py-argparse@1.1:', when='^python@2.6:2.6.99',
|
||||
depends_on('py-argparse@1.1:', when='^python@:2.6',
|
||||
type=('build', 'run'))
|
||||
depends_on('py-s3transfer@0.2.0:0.2.999', type=('build', 'run'))
|
||||
depends_on('py-botocore@1.12.169', type=('build', 'run'))
|
||||
|
@ -31,7 +31,7 @@ class GitImerge(MakefilePackage):
|
||||
version('1.0.0', sha256='2ef3a49a6d54c4248ef2541efc3c860824fc8295a7226760f24f0bb2c5dd41f2')
|
||||
|
||||
depends_on('python@2.6:')
|
||||
depends_on('py-argparse', when='^python@2.6')
|
||||
depends_on('py-argparse', when='^python@:2.6')
|
||||
depends_on('git')
|
||||
|
||||
# Package copies a Python script and bash-completion files, so
|
||||
|
@ -26,4 +26,4 @@ class Httpie(PythonPackage):
|
||||
# https://github.com/spack/spack/issues/3628
|
||||
# depends_on('py-argparse@1.2.1:', type=('build', 'run'),
|
||||
# when='^python@:2.6,3.0:3.1')
|
||||
depends_on('py-argparse@1.2.1:', type=('build', 'run'))
|
||||
depends_on('py-argparse@1.2.1:', type=('build', 'run'), when='^python@:2.6')
|
||||
|
@ -104,7 +104,7 @@ class Lbann(CMakePackage):
|
||||
depends_on('python@3: +shared', type=('build', 'run'), when='@:0.90,0.99:')
|
||||
extends("python")
|
||||
depends_on('py-setuptools', type='build')
|
||||
depends_on('py-argparse', type='run', when='@:0.90,0.99:')
|
||||
depends_on('py-argparse', type='run', when='@:0.90,0.99: ^python@:2.6')
|
||||
depends_on('py-configparser', type='run', when='@:0.90,0.99:')
|
||||
depends_on('py-graphviz@0.10.1:', type='run', when='@:0.90,0.99:')
|
||||
depends_on('py-matplotlib@3.0.0:', type='run', when='@:0.90,0.99:')
|
||||
|
@ -20,7 +20,7 @@ class Nrm(PythonPackage):
|
||||
depends_on('py-pyyaml', type=('build', 'run'))
|
||||
depends_on('py-tornado@5.1.1', type=('build', 'run'))
|
||||
depends_on('py-numpy', type=('build', 'run'))
|
||||
depends_on('py-argparse@1.2.1:', type=('build', 'run'))
|
||||
depends_on('py-argparse@1.2.1:', type=('build', 'run'), when='^python@:2.6')
|
||||
depends_on('py-jsonschema@2.6.0', type=('build', 'run'))
|
||||
depends_on('py-warlock', type=('build', 'run'))
|
||||
depends_on('py-scipy', type=('build', 'run'))
|
||||
|
@ -19,7 +19,7 @@ class Oclint(Package):
|
||||
version('0.13', sha256='a0fd188673863e6357d6585b9bb9c3affe737df134b9383a1a5ed021d09ed848')
|
||||
|
||||
depends_on('python', type=('build'))
|
||||
depends_on('py-argparse', type=('build'))
|
||||
depends_on('py-argparse', type=('build'), when='^python@:2.6')
|
||||
depends_on('git', type=('build'))
|
||||
depends_on('subversion', type=('build'))
|
||||
depends_on('cmake', type=('build'))
|
||||
|
@ -27,7 +27,7 @@ class PyNumba(PythonPackage):
|
||||
depends_on('py-llvmlite@0.25:', type=('build', 'run'), when='@0.40.1:')
|
||||
depends_on('py-llvmlite@0.20:0.25', type=('build', 'run'), when='@0.35.1')
|
||||
|
||||
depends_on('py-argparse', type=('build', 'run'))
|
||||
depends_on('py-argparse', type=('build', 'run'), when='^python@:2.6')
|
||||
depends_on('py-funcsigs', type=('build', 'run'), when='^python@:3.3.99')
|
||||
depends_on('py-singledispatch', type=('build', 'run'), when='^python@:3.3.99')
|
||||
|
||||
|
@ -21,7 +21,7 @@ class PyOpppy(PythonPackage):
|
||||
depends_on('py-setuptools', type=('build', 'run'))
|
||||
depends_on('py-numpy@1.6:', type=('build', 'run'))
|
||||
depends_on('python@3:', type=('build', 'run'))
|
||||
depends_on('py-argparse', type=('build', 'run'))
|
||||
depends_on('py-argparse', type=('build', 'run'), when='^python@:2.6')
|
||||
depends_on('py-scipy', type=('build', 'run'))
|
||||
depends_on('py-matplotlib', type=('build', 'run'))
|
||||
depends_on('py-sphinx', type=('build', 'run'))
|
||||
|
Loading…
Reference in New Issue
Block a user