diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2019-12-07 14:02:39 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-07 14:02:39 -0600 |
commit | b6a6f284820600982550fe985dc513b41555f6da (patch) | |
tree | bdec6941fa5e5de79926cc93166368c55c3b888b | |
parent | 9ece63242a608aeb3d6ad2d0b2dd8236592f6aa6 (diff) | |
download | spack-b6a6f284820600982550fe985dc513b41555f6da.tar.gz spack-b6a6f284820600982550fe985dc513b41555f6da.tar.bz2 spack-b6a6f284820600982550fe985dc513b41555f6da.tar.xz spack-b6a6f284820600982550fe985dc513b41555f6da.zip |
Add py-tox package (#14024)
-rw-r--r-- | var/spack/repos/builtin/packages/py-tox/package.py | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-tox/package.py b/var/spack/repos/builtin/packages/py-tox/package.py new file mode 100644 index 0000000000..0ac694063d --- /dev/null +++ b/var/spack/repos/builtin/packages/py-tox/package.py @@ -0,0 +1,26 @@ +# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack import * + + +class PyTox(PythonPackage): + """tox is a generic virtualenv management and test command line tool.""" + + homepage = "https://tox.readthedocs.org/" + url = "https://pypi.io/packages/source/t/tox/tox-3.14.2.tar.gz" + + version('3.14.2', sha256='7efd010a98339209f3a8292f02909b51c58417bfc6838ab7eca14cf90f96117a') + + depends_on('python@2.7:2.8,3.5:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-importlib-metadata@1.1.0:', when='^python@:3.7', type=('build', 'run')) + depends_on('py-packaging@14:', type=('build', 'run')) + depends_on('py-pluggy@0.12.0:0.999', type=('build', 'run')) + depends_on('py-py@1.4.17:1.999', type=('build', 'run')) + depends_on('py-six@1.0.0:1.999', type=('build', 'run')) + depends_on('py-virtualenv@16.0.0:', type=('build', 'run')) + depends_on('py-toml@0.9.4:', type=('build', 'run')) + depends_on('py-filelock@3.0.0:3.999', type=('build', 'run')) |