Add py-tox package (#14024)

This commit is contained in:
Adam J. Stewart 2019-12-07 14:02:39 -06:00 committed by GitHub
parent 9ece63242a
commit b6a6f28482
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'))