diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2019-10-20 11:10:40 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-20 11:10:40 -0500 |
commit | 0443581a2018b6c1449f5b77afec0bb1c640876a (patch) | |
tree | 1c9e80f4f0c76112e001a7078bf8dcc8711bc283 | |
parent | 92a359e4ba41b99279999187bebfb4a2502c1578 (diff) | |
download | spack-0443581a2018b6c1449f5b77afec0bb1c640876a.tar.gz spack-0443581a2018b6c1449f5b77afec0bb1c640876a.tar.bz2 spack-0443581a2018b6c1449f5b77afec0bb1c640876a.tar.xz spack-0443581a2018b6c1449f5b77afec0bb1c640876a.zip |
Add py-mypy-extensions package (#13283)
-rw-r--r-- | var/spack/repos/builtin/packages/py-mypy-extensions/package.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-mypy-extensions/package.py b/var/spack/repos/builtin/packages/py-mypy-extensions/package.py new file mode 100644 index 0000000000..f0ee060789 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-mypy-extensions/package.py @@ -0,0 +1,19 @@ +# 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 PyMypyExtensions(PythonPackage): + """Experimental type system extensions for programs checked with the + mypy typechecker.""" + + homepage = "https://github.com/python/mypy_extensions" + url = "https://pypi.io/packages/source/m/mypy-extensions/mypy_extensions-0.4.3.tar.gz" + + version('0.4.3', sha256='2d82818f5bb3e369420cb3c4060a7970edba416647068eb4c5343488a6c604a8') + + depends_on('py-setuptools', type='build') + depends_on('py-typing@3.5.3:', when='^python@:3.4', type=('build', 'run')) |