From 3e4a24c8782a7f3744489390928e4d6ca637ff80 Mon Sep 17 00:00:00 2001 From: a-saitoh-fj <63334055+a-saitoh-fj@users.noreply.github.com> Date: Mon, 15 Mar 2021 13:58:14 +0900 Subject: py-aioitertools: New package (#22256) * py-aioitertools: New package * py-aioitertools: Fixed python dependencies, and Fixed style of code * switch to the source build --- .../builtin/packages/py-aioitertools/package.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-aioitertools/package.py (limited to 'var') diff --git a/var/spack/repos/builtin/packages/py-aioitertools/package.py b/var/spack/repos/builtin/packages/py-aioitertools/package.py new file mode 100644 index 0000000000..39484caaef --- /dev/null +++ b/var/spack/repos/builtin/packages/py-aioitertools/package.py @@ -0,0 +1,20 @@ +# Copyright 2013-2021 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 PyAioitertools(PythonPackage): + """Implementation of itertools, builtins, and more for AsyncIO and mixed-type + iterables.""" + + homepage = "https://aioitertools.omnilib.dev/en/stable/" + pypi = "aioitertools/aioitertools-0.7.1.tar.gz" + + version('0.7.1', sha256='54a56c7cf3b5290d1cb5e8974353c9f52c677612b5d69a859369a020c53414a3') + + depends_on('python@3.6:', type=('build', 'run')) + depends_on('py-typing-extensions@3.7:', type=('build', 'run')) -- cgit v1.2.3-70-g09d2