From ac2a5ef4ddc05c347d75133f46d94e95f2838379 Mon Sep 17 00:00:00 2001 From: Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com> Date: Fri, 26 May 2023 23:54:43 +0200 Subject: py-beautifulsoup4: add 4.12.2 (#37820) --- var/spack/repos/builtin/packages/py-beautifulsoup4/package.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/var/spack/repos/builtin/packages/py-beautifulsoup4/package.py b/var/spack/repos/builtin/packages/py-beautifulsoup4/package.py index cee233d7ef..1dd4ebb8aa 100644 --- a/var/spack/repos/builtin/packages/py-beautifulsoup4/package.py +++ b/var/spack/repos/builtin/packages/py-beautifulsoup4/package.py @@ -14,6 +14,7 @@ class PyBeautifulsoup4(PythonPackage): homepage = "https://www.crummy.com/software/BeautifulSoup" pypi = "beautifulsoup4/beautifulsoup4-4.8.0.tar.gz" + version("4.12.2", sha256="492bbc69dca35d12daac71c4db1bfff0c876c00ef4a2ffacce226d4638eb72da") version("4.11.1", sha256="ad9aa55b65ef2808eb405f46cf74df7fcb7044d5cbc26487f96eb2ef2e436693") version("4.10.0", sha256="c23ad23c521d818955a4151a67d81580319d4bf548d3d49f4223ae041ff98891") version("4.9.3", sha256="84729e322ad1d5b4d25f805bfa05b902dd96450f43842c4e99067d5e1369eb25") @@ -25,11 +26,13 @@ class PyBeautifulsoup4(PythonPackage): variant("lxml", default=False, description="Enable lxml parser") variant("html5lib", default=False, description="Enable html5lib parser") - depends_on("python@3.6:", when="@4.11.0:", type=("build", "run")) - depends_on("python@3:", when="@4.10.0:", type=("build", "run")) - depends_on("py-setuptools", type="build") + depends_on("py-hatchling", when="@4.12.1:", type="build") + depends_on("py-setuptools", when="@:4.12.0", type="build") + depends_on("py-soupsieve@1.3:", when="@4.9.0:", type=("build", "run")) depends_on("py-soupsieve@1.2:", when="@4.7.0:", type=("build", "run")) depends_on("py-lxml", when="+lxml", type=("build", "run")) depends_on("py-html5lib", when="+html5lib", type=("build", "run")) + + depends_on("py-pytest", type="test") -- cgit v1.2.3-70-g09d2