From 541e40e2523bfa89e15b632bc3208e4c9a605191 Mon Sep 17 00:00:00 2001 From: Jen Herting Date: Sat, 7 Sep 2024 04:28:15 -0400 Subject: py-httpcore: add v1.0.5 (#46123) * py-httpcore: Added new version * [py-httpcore] - added version 0.18.0 - restructured dependencies as everything has a when and type/when ordering was all over the place * [py-httpcore] ordered dependencies in the order listed in v1.0.5 pyproject.toml --------- Co-authored-by: Alex C Leute --- .../repos/builtin/packages/py-httpcore/package.py | 25 +++++++++++++++------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/var/spack/repos/builtin/packages/py-httpcore/package.py b/var/spack/repos/builtin/packages/py-httpcore/package.py index 8a72e47aa0..45fbf4b22b 100644 --- a/var/spack/repos/builtin/packages/py-httpcore/package.py +++ b/var/spack/repos/builtin/packages/py-httpcore/package.py @@ -15,15 +15,24 @@ class PyHttpcore(PythonPackage): license("BSD-3-Clause") + version("1.0.5", sha256="34a38e2f9291467ee3b44e89dd52615370e152954ba21721378a87b2960f7a61") + version("0.18.0", sha256="13b5e5cd1dca1a6636a6aaea212b19f4f85cd88c366a2b82304181b769aab3c9") version("0.16.3", sha256="c5d6f04e2fc530f39e0c077e6a30caa53f1451096120f1f38b954afd0b17c0cb") version("0.14.7", sha256="7503ec1c0f559066e7e39bc4003fd2ce023d01cf51793e3c173b864eb456ead1") version("0.11.0", sha256="35ffc735d746b83f8fc6d36f82600e56117b9e8adc65d0c0423264b6ebfef7bf") - depends_on("py-setuptools", type="build") - depends_on("py-h11@0.13:0.14", when="@0.16.3", type=("build", "run")) - depends_on("py-h11@0.11:0.12", type=("build", "run"), when="@0.14.7") - depends_on("py-h11@0.8:0.9", type=("build", "run"), when="@0.11.0") - depends_on("py-sniffio@1", type=("build", "run")) - depends_on("py-anyio@3:4", when="@0.16.3", type=("build", "run")) - depends_on("py-anyio@3", type=("build", "run"), when="@0.14.7") - depends_on("py-certifi", type=("build", "run"), when="@0.14.7:") + depends_on("py-setuptools", when="@:1.16.3", type="build") + depends_on("py-hatchling", when="@0.18:", type="build") + depends_on("py-hatch-fancy-pypi-readme", when="@0.18:", type="build") + + with default_args(type=("build", "run")): + depends_on("py-certifi", when="@0.14.7:") + + depends_on("py-h11@0.8:0.9", when="@0.11.0") + depends_on("py-h11@0.11:0.12", when="@0.14.7") + depends_on("py-h11@0.13:0.14", when="@0.16.3:") + + depends_on("py-sniffio@1", when="@0") + + depends_on("py-anyio@3", when="@0.14.7") + depends_on("py-anyio@3:4", when="@0.16.3:0.18") -- cgit v1.2.3-70-g09d2