py-multidict: add 6.0.2 and get sources fom pypi (#29219)

This commit is contained in:
Manuela Kuhn 2022-03-03 19:23:21 +01:00 committed by GitHub
parent 9900d348d7
commit 8db12b72ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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