diff options
author | darmac <xiaojun2@hisilicon.com> | 2020-09-24 09:30:17 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-23 20:30:17 -0500 |
commit | 8c3b0811475c917ca9d177b257e0d686a67c773e (patch) | |
tree | 503385d5c2f4a8e7c9a5403bd1af38d86a1206cf | |
parent | 9263f56b6d249a1bc329a80229a7f34dc3c386c2 (diff) | |
download | spack-8c3b0811475c917ca9d177b257e0d686a67c773e.tar.gz spack-8c3b0811475c917ca9d177b257e0d686a67c773e.tar.bz2 spack-8c3b0811475c917ca9d177b257e0d686a67c773e.tar.xz spack-8c3b0811475c917ca9d177b257e0d686a67c773e.zip |
Add new package: py-asyncio (#18809)
-rw-r--r-- | var/spack/repos/builtin/packages/py-asyncio/package.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-asyncio/package.py b/var/spack/repos/builtin/packages/py-asyncio/package.py new file mode 100644 index 0000000000..42de434cde --- /dev/null +++ b/var/spack/repos/builtin/packages/py-asyncio/package.py @@ -0,0 +1,23 @@ +# Copyright 2013-2020 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 PyAsyncio(PythonPackage): + """The asyncio module provides infrastructure for writing + single-threaded concurrent code using coroutines, multiplexing I/O + access over sockets and other resources, running network clients + and servers, and other related primitives.""" + + homepage = "https://docs.python.org/3/library/asyncio.html" + url = "https://github.com/python/asyncio/archive/3.4.3.tar.gz" + + version('3.4.3', sha256='b22225680ea04c3528b7fa03e9c6d152470173dd3873996b8cb29fcb37799f1b') + version('3.4.2', sha256='ba28d351c579875e2a1cb1989e310285d3eb76c5bb749694b6ddd3901f8d39de') + version('3.4.1', sha256='51cdfbd4964ef8286cbef7d88f9b7abcc8b710ecec0a0794aa354f94ef703126') + + depends_on('python@3.3:', type=('build', 'run')) + depends_on('py-setuptools', type='build') |