diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2019-10-20 11:10:22 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-20 11:10:22 -0500 |
commit | 92a359e4ba41b99279999187bebfb4a2502c1578 (patch) | |
tree | e0f7d4c2f36705f8064624834dd0a27f99be597e | |
parent | 9ac7e098d90726749e8375a43e57ff7fdfe02150 (diff) | |
download | spack-92a359e4ba41b99279999187bebfb4a2502c1578.tar.gz spack-92a359e4ba41b99279999187bebfb4a2502c1578.tar.bz2 spack-92a359e4ba41b99279999187bebfb4a2502c1578.tar.xz spack-92a359e4ba41b99279999187bebfb4a2502c1578.zip |
Add py-mypy package (#13282)
-rw-r--r-- | var/spack/repos/builtin/packages/py-mypy/package.py | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-mypy/package.py b/var/spack/repos/builtin/packages/py-mypy/package.py new file mode 100644 index 0000000000..887964fe5b --- /dev/null +++ b/var/spack/repos/builtin/packages/py-mypy/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 PyMypy(PythonPackage): + """Optional static typing for Python.""" + + homepage = "http://www.mypy-lang.org/" + url = "https://pypi.io/packages/source/m/mypy/mypy-0.740.tar.gz" + + version('0.740', sha256='48c8bc99380575deb39f5d3400ebb6a8a1cb5cc669bbba4d3bb30f904e0a0e7d') + + depends_on('python@3.5:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-typed-ast@1.4.0:1.4.999', type=('build', 'run')) + depends_on('py-typing-extensions@3.7.4:', type=('build', 'run')) + depends_on('py-mypy-extensions@0.4.0:0.4.999', type=('build', 'run')) + depends_on('py-pytest', type='test') + depends_on('py-virtualenv', type='test') + depends_on('py-pip', type='test') + depends_on('py-lxml', type='test') + depends_on('googletest', type='test') |