From 08261af4ab00ac124b9680fbc9b2b277727b0299 Mon Sep 17 00:00:00 2001 From: "Seth R. Johnson" Date: Wed, 31 Aug 2022 13:23:19 -0400 Subject: py-breathe: add new version and improve version constraints (#31857) * py-breathe: add new version and improve version constraints * py-breathe: everyone loves versions ``` py-breathe, py-breathe in the air don't be afraid to care ```` * Update var/spack/repos/builtin/packages/py-breathe/package.py Co-authored-by: Adam J. Stewart * add comment Co-authored-by: Adam J. Stewart --- var/spack/repos/builtin/packages/py-breathe/package.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/py-breathe/package.py b/var/spack/repos/builtin/packages/py-breathe/package.py index 9053b7d4d5..318a67964a 100644 --- a/var/spack/repos/builtin/packages/py-breathe/package.py +++ b/var/spack/repos/builtin/packages/py-breathe/package.py @@ -13,6 +13,7 @@ class PyBreathe(PythonPackage): homepage = "https://github.com/michaeljones/breathe" url = "https://github.com/michaeljones/breathe/archive/v4.11.1.tar.gz" + version("4.34.0", sha256="b22e70eb4000492508d687d71f258c8f9678398e277bcee0daf34cd438a46e25") version("4.33.1", sha256="acda75b216b227ec09ffd74378a6c7ed8f023df4539693c6e20574d1df52e75b") version("4.21.0", sha256="7f97756a1b7f7998377b1153a976bf0d2879bb3ca1cb7bc846f455d37ca87ead") version("4.11.1", sha256="84723eefc7cc05da6895e2dd6e7c72926c5fd88a67de57edce42d99c058c7e06") @@ -32,12 +33,15 @@ class PyBreathe(PythonPackage): depends_on("python@3.6:", type=("build", "run"), when="@4.33:") depends_on("py-docutils@0.5:", type=("build", "run"), when="@:4.20") depends_on("py-docutils@0.12:", type=("build", "run"), when="@4.21:") + # Note: Pygments is missing from the setup.py in 4.34.0 but is listed in + # the requirements file and used by breathe.filetypes. depends_on("py-pygments@1.6:", type=("build", "run"), when="@4.21:") depends_on("py-six@1.4:", type=("build", "run"), when="@:4.20") depends_on("py-six@1.9:", type=("build", "run"), when="@4.21:4.32") depends_on("py-sphinx", type=("build", "run")) depends_on("py-sphinx@:3", type=("build", "run"), when="@:4.20") depends_on("py-sphinx@3:3.2", type=("build", "run"), when="@4.21:4.32") - depends_on("py-sphinx@3:", type=("build", "run"), when="@4.33:") + depends_on("py-sphinx@3:4", type=("build", "run"), when="@4.33") + depends_on("py-sphinx@4,5.0.1:5", type=("build", "run"), when="@4.34:") depends_on("doxygen@1.8.4:", type="run") -- cgit v1.2.3-60-g2f50