2022-01-13 03:21:41 +08:00
|
|
|
# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other
|
2020-09-15 14:28:51 +08:00
|
|
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
|
|
|
|
|
|
|
|
class PyNestAsyncio(PythonPackage):
|
|
|
|
"""Patch asyncio to allow nested event loops."""
|
|
|
|
|
|
|
|
homepage = "https://github.com/erdewit/nest_asyncio"
|
2020-12-30 08:44:04 +08:00
|
|
|
pypi = "nest-asyncio/nest_asyncio-1.4.0.tar.gz"
|
2020-09-15 14:28:51 +08:00
|
|
|
|
2022-03-02 03:48:45 +08:00
|
|
|
version('1.5.4', sha256='f969f6013a16fadb4adcf09d11a68a4f617c6049d7af7ac2c676110169a63abd')
|
2021-11-12 00:35:33 +08:00
|
|
|
version('1.5.1', sha256='afc5a1c515210a23c461932765691ad39e8eba6551c055ac8d5546e69250d0aa')
|
2020-09-15 14:28:51 +08:00
|
|
|
version('1.4.0', sha256='5773054bbc14579b000236f85bc01ecced7ffd045ec8ca4a9809371ec65a59c8')
|
|
|
|
|
|
|
|
depends_on('python@3.5:', type=('build', 'run'))
|
2021-11-12 00:35:33 +08:00
|
|
|
depends_on('py-setuptools@42:', type='build')
|
|
|
|
depends_on('py-setuptools-scm@3.4.3: +toml', type='build')
|