Add py-mypy-extensions package (#13283)

This commit is contained in:
Adam J. Stewart 2019-10-20 11:10:40 -05:00 committed by GitHub
parent 92a359e4ba
commit 0443581a20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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