
- [x] add `concretize.lp`, `spack.yaml`, etc. to licensed files - [x] update all licensed files to say 2013-2021 using `spack license update-copyright-year` - [x] appease mypy with some additions to package.py that needed for oneapi.py
26 lines
1.2 KiB
Python
26 lines
1.2 KiB
Python
# Copyright 2013-2021 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 PyTypingExtensions(PythonPackage):
|
|
"""The typing_extensions module contains both backports of these
|
|
changes as well as experimental types that will eventually be
|
|
added to the typing module, such as Protocol (see PEP 544 for
|
|
details about protocols and static duck typing)."""
|
|
|
|
homepage = "https://github.com/python/typing/tree/master/typing_extensions"
|
|
pypi = "typing_extensions/typing_extensions-3.7.4.tar.gz"
|
|
|
|
version('3.7.4', sha256='2ed632b30bb54fc3941c382decfd0ee4148f5c591651c9272473fea2c6397d95')
|
|
version('3.7.2', sha256='fb2cd053238d33a8ec939190f30cfd736c00653a85a2919415cecf7dc3d9da71')
|
|
version('3.6.6', sha256='51e7b7f3dcabf9ad22eed61490f3b8d23d9922af400fe6656cb08e66656b701f')
|
|
|
|
depends_on('python@2.7:2.8,3.4:', type=('build', 'run'))
|
|
depends_on('py-setuptools', type='build')
|
|
depends_on('py-typing@3.7.4:', when='@3.7: ^python@:3.4', type=('build', 'run'))
|
|
depends_on('py-typing@3.6.2:', when='^python@:3.4', type=('build', 'run'))
|