From e0a0f41ff98be3a24cc7ecbaafe991088114a966 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Mon, 14 Feb 2022 04:01:00 -0600 Subject: py-mypy: add new versions (#28905) --- var/spack/repos/builtin/packages/py-mypy/package.py | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/var/spack/repos/builtin/packages/py-mypy/package.py b/var/spack/repos/builtin/packages/py-mypy/package.py index ef6345cccc..e8696facf0 100644 --- a/var/spack/repos/builtin/packages/py-mypy/package.py +++ b/var/spack/repos/builtin/packages/py-mypy/package.py @@ -12,6 +12,9 @@ class PyMypy(PythonPackage): homepage = "http://www.mypy-lang.org/" pypi = "mypy/mypy-0.740.tar.gz" + version('0.931', sha256='0038b21890867793581e4cb0d810829f5fd4441aa75796b53033af3aa30430ce') + version('0.930', sha256='51426262ae4714cc7dd5439814676e0992b55bcc0f6514eccb4cf8e0678962c2') + version('0.921', sha256='eca089d7053dff45d6dcd5bf67f1cabc311591e85d378917d97363e7c13da088') version('0.920', sha256='a55438627f5f546192f13255a994d6d1cf2659df48adcf966132b4379fd9c86b') version('0.910', sha256='704098302473cb31a218f1775a873b376b30b4c18229421e9e9dc8916fd16150') version('0.900', sha256='65c78570329c54fb40f956f7645e2359af5da9d8c54baa44f461cdc7f4984108') @@ -20,10 +23,8 @@ class PyMypy(PythonPackage): version('0.740', sha256='48c8bc99380575deb39f5d3400ebb6a8a1cb5cc669bbba4d3bb30f904e0a0e7d') version('0.670', sha256='e80fd6af34614a0e898a57f14296d0dacb584648f0339c2e000ddbf0f4cc2f8d') - variant('python2', default=False, description='Enable checking of python 2 type annotations') - depends_on('python@3.6:', when='@0.920:', type=('build', 'run')) - depends_on("python@3.5:", when='@0.700:', type=("build", "run")) + depends_on('python@3.5:', when='@0.700:', type=("build", "run")) depends_on('python@3.4:', type=('build', 'run')) depends_on('py-setuptools@40.6.2:', when='@0.790:', type=('build', 'run')) depends_on('py-setuptools', type=('build', 'run')) @@ -32,9 +33,12 @@ class PyMypy(PythonPackage): depends_on('py-typed-ast@1.4.0:1.4', when='@0.900:0.910 ^python@:3.7', type=('build', 'run')) depends_on('py-typed-ast@1.4.0:1.4', when='@0.700:0.899', type=('build', 'run')) depends_on('py-typed-ast@1.3.1:1.3', when='@:0.699', type=('build', 'run')) + depends_on('py-typing-extensions@3.10:', when='@0.930:', type=('build', 'run')) depends_on('py-typing-extensions@3.7.4:', when='@0.700:', type=('build', 'run')) depends_on('py-typing@3.5.3:', when='@:0.699 ^python@:3.4', type=('build', 'run')) - depends_on('py-mypy-extensions@0.4.3:0.4', when='@0.700:', type=('build', 'run')) - depends_on('py-mypy-extensions@0.4.0:0.4', type=('build', 'run')) - depends_on('py-tomli@1.1:2', when='@0.920:', type=('build', 'run')) + depends_on('py-mypy-extensions@0.4.3:', when='@0.930:', type=('build', 'run')) + depends_on('py-mypy-extensions@0.4.3:0.4', when='@0.700:0.929', type=('build', 'run')) + depends_on('py-mypy-extensions@0.4.0:0.4', when='@:0.699', type=('build', 'run')) + depends_on('py-tomli@1.1:', when='@0.930:', type=('build', 'run')) + depends_on('py-tomli@1.1:2', when='@0.920:0.929', type=('build', 'run')) depends_on('py-toml', when='@0.900:0.910', type=('build', 'run')) -- cgit v1.2.3-70-g09d2