spack/var/spack/repos/builtin/packages/py-hatch-fancy-pypi-readme/package.py

21 lines
815 B
Python

# 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"))