diff --git a/var/spack/repos/builtin/packages/py-hatch-fancy-pypi-readme/package.py b/var/spack/repos/builtin/packages/py-hatch-fancy-pypi-readme/package.py new file mode 100644 index 0000000000..4b9677e843 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-hatch-fancy-pypi-readme/package.py @@ -0,0 +1,20 @@ +# Copyright 2013-2022 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 PyHatchFancyPypiReadme(PythonPackage): + """Fancy PyPI READMEs with Hatch.""" + + homepage = "https://github.com/hynek/hatch-fancy-pypi-readme" + pypi = "hatch_fancy_pypi_readme/hatch_fancy_pypi_readme-22.7.0.tar.gz" + + version("22.7.0", sha256="dedf2ba0b81a2975abb1deee9310b2eb85d22380fda0d52869e760b5435aa596") + + depends_on("python@3.7:", type=("build", "run")) + depends_on("py-hatchling", type=("build", "run")) + depends_on("py-tomli", when="python@:3.10", type=("build", "run")) + depends_on("py-typing-extensions", when="python@:3.7", type=("build", "run")) diff --git a/var/spack/repos/builtin/packages/py-jsonschema/package.py b/var/spack/repos/builtin/packages/py-jsonschema/package.py index 26b887a256..a238401ea8 100644 --- a/var/spack/repos/builtin/packages/py-jsonschema/package.py +++ b/var/spack/repos/builtin/packages/py-jsonschema/package.py @@ -12,6 +12,7 @@ class PyJsonschema(PythonPackage): homepage = "https://github.com/Julian/jsonschema" pypi = "jsonschema/jsonschema-3.2.0.tar.gz" + version("4.16.0", sha256="165059f076eff6971bae5b742fc029a7b4ef3f9bcf04c14e4776a7605de14b23") version("4.10.0", sha256="8ff7b44c6a99c6bfd55ca9ac45261c649cefd40aaba1124c29aaef1bcb378d84") version("4.4.0", sha256="636694eb41b3535ed608fe04129f26542b59ed99808b4f688aa32dcf55317a83") version("3.2.0", sha256="c8a85b28d377cc7737e46e2d9f2b4f44ee3c0e1deac6bf46ddefc7187d30797a") @@ -27,6 +28,7 @@ class PyJsonschema(PythonPackage): depends_on("py-hatchling", when="@4.10:", type="build") depends_on("py-hatch-vcs", when="@4.10:", type="build") + depends_on("py-hatch-fancy-pypi-readme", when="@4.11:", type="build") depends_on("py-setuptools@40.6.0:", when="@4:4.4", type="build") depends_on("py-setuptools", when="@3", type=("build", "run")) depends_on("py-setuptools", when="@:2", type="build") @@ -35,12 +37,12 @@ class PyJsonschema(PythonPackage): depends_on("py-setuptools-scm", when="@3", type="build") depends_on("py-attrs@17.4:", when="@3:", type=("build", "run")) - depends_on("py-importlib-metadata", when="@3.1.1: ^python@:3.7", type=("build", "run")) - depends_on("py-importlib-resources@1.4:", when="@4.2.1: ^python@:3.8", type=("build", "run")) - depends_on("py-importlib-resources", when="@4.2.0 ^python@:3.8", type=("build", "run")) depends_on("py-pyrsistent@0.14:0.16,0.17.3:", when="@4:", type=("build", "run")) depends_on("py-pyrsistent@0.14:", when="@3", type=("build", "run")) + depends_on("py-importlib-metadata", when="@3.1.1: ^python@:3.7", type=("build", "run")) depends_on("py-typing-extensions", when="@4.3: ^python@:3.7", type=("build", "run")) + depends_on("py-importlib-resources@1.4:", when="@4.2.1: ^python@:3.8", type=("build", "run")) + depends_on("py-importlib-resources", when="@4.2.0 ^python@:3.8", type=("build", "run")) depends_on("py-pkgutil-resolve-name@1.3.10:", when="@4.10.0: ^python@:3.8") depends_on("py-six@1.11:", when="@3", type=("build", "run"))