From 8edb6ff22a448a73b0055fcc7c002785ad0515ca Mon Sep 17 00:00:00 2001 From: Caetano Melone Date: Tue, 30 Jan 2024 01:18:32 -0800 Subject: [PATCH] py-pytest-aiohttp: add package (#42313) * add pytest-aiohttp * black * py-setuptools -> py-setuptools-scm Co-authored-by: Adam J. Stewart --------- Co-authored-by: Adam J. Stewart --- .../packages/py-pytest-aiohttp/package.py | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-pytest-aiohttp/package.py diff --git a/var/spack/repos/builtin/packages/py-pytest-aiohttp/package.py b/var/spack/repos/builtin/packages/py-pytest-aiohttp/package.py new file mode 100644 index 00000000000..b45485487cc --- /dev/null +++ b/var/spack/repos/builtin/packages/py-pytest-aiohttp/package.py @@ -0,0 +1,25 @@ +# Copyright 2013-2024 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.package import * + + +class PyPytestAiohttp(PythonPackage): + """Pytest plugin for aiohttp support.""" + + homepage = "https://github.com/aio-libs/pytest-aiohttp" + pypi = "pytest-aiohttp/pytest-aiohttp-1.0.5.tar.gz" + + license("Apache-2.0") + + version("1.0.5", sha256="880262bc5951e934463b15e3af8bb298f11f7d4d3ebac970aab425aff10a780a") + + depends_on("py-setuptools@51.0:", type="build") + depends_on("py-setuptools-scm@6.2:", type="build") + depends_on("py-wheel@0.36:", type="build") + + depends_on("py-pytest@6.1.0:", type=("build", "run")) + depends_on("py-aiohttp@3.8.1:", type=("build", "run")) + depends_on("py-pytest-asyncio@0.17.2:", type=("build", "run"))