[py-asynctest] Added py-asynctest package (#28194)

* [py-asynctest] Added py-asynctest package

* [py-asynctest] added dependency to py-setuptools
This commit is contained in:
Matthieu Dorier 2022-01-03 18:25:11 +01:00 committed by GitHub
parent 94f5d0a3f4
commit 98dfe7e7e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,19 @@
# 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 PyAsynctest(PythonPackage):
"""The package asynctest is built on top of the standard unittest module
and cuts down boilerplate code when testing libraries for asyncio."""
homepage = "https://asynctest.readthedocs.io"
pypi = "asynctest/asynctest-0.13.0.tar.gz"
version('0.13.0', sha256='c27862842d15d83e6a34eb0b2866c323880eb3a75e4485b079ea11748fd77fac')
depends_on('python@3.5:', type=('build', 'run'))
depends_on('py-setuptools@30.3:', type='build')