diff options
author | Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com> | 2022-03-03 19:23:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-03 19:23:21 +0100 |
commit | 8db12b72ec31725b034ecbe21f08e30eff65dfce (patch) | |
tree | c97e04229ed5c1c35e0416c860552b35517db738 | |
parent | 9900d348d7122a47fc844e8cd84c90a4dc309ad1 (diff) | |
download | spack-8db12b72ec31725b034ecbe21f08e30eff65dfce.tar.gz spack-8db12b72ec31725b034ecbe21f08e30eff65dfce.tar.bz2 spack-8db12b72ec31725b034ecbe21f08e30eff65dfce.tar.xz spack-8db12b72ec31725b034ecbe21f08e30eff65dfce.zip |
py-multidict: add 6.0.2 and get sources fom pypi (#29219)
-rw-r--r-- | var/spack/repos/builtin/packages/py-multidict/package.py | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/var/spack/repos/builtin/packages/py-multidict/package.py b/var/spack/repos/builtin/packages/py-multidict/package.py index a01c0379aa..6502fd42b8 100644 --- a/var/spack/repos/builtin/packages/py-multidict/package.py +++ b/var/spack/repos/builtin/packages/py-multidict/package.py @@ -3,19 +3,23 @@ # # SPDX-License-Identifier: (Apache-2.0 OR MIT) +from spack import * + class PyMultidict(PythonPackage): """Multidict is dict-like collection of key-value pairs where key might be occurred more than once in the container.""" homepage = "https://github.com/aio-libs/multidict" - url = "https://github.com/aio-libs/multidict/archive/v4.7.6.tar.gz" + pypi = "multidict/multidict-6.0.2.tar.gz" - version('5.2.0', sha256='70039c8d0f4883816de230619c9d4ee1b8527b3628a42783e8bc26de4fee1154') - version('5.1.0', sha256='1798708288851b808d2d03ea6046ca51bc44c228aaea12c9643a0a481ee41d8c') - version('4.7.6', sha256='449035f89a12f189579ff83811424c71e4a39e335bcb8045145ad084b7bde2dc') + version('6.0.2', sha256='5ff3bd75f38e4c43f1f470f2df7a4d430b821c4ce22be384e1459cb57d6bb013') + version('5.2.0', sha256='0dd1c93edb444b33ba2274b66f63def8a327d607c6c790772f448a53b6ea59ce') + version('5.1.0', sha256='25b4e5f22d3a37ddf3effc0710ba692cfc792c2b9edfb9c05aefe823256e84d5') + version('4.7.6', sha256='fbb77a75e529021e7c4a8d4e823d88ef4d23674a202be4f5addffc72cbb91430') - depends_on('py-setuptools', type='build') - depends_on('py-setuptools@40:', type='build', when='@5.1.0:') + depends_on('python@3.7:', when='@6:', type=('build', 'run')) + depends_on('python@3.6:', when='@5.1:', type=('build', 'run')) depends_on('python@3.5:', type=('build', 'run')) - depends_on('python@3.6:', type=('build', 'run'), when='@5.1.0:') + depends_on('py-pip@18:', when='@:4', type='build') + depends_on('py-setuptools@40:', type='build') |