29 lines
1.3 KiB
Python
29 lines
1.3 KiB
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 PyHatchling(PythonPackage):
|
|
"""Modern, extensible Python build backend."""
|
|
|
|
homepage = "https://hatch.pypa.io/latest/"
|
|
pypi = "hatchling/hatchling-1.4.1.tar.gz"
|
|
git = "https://github.com/pypa/hatch"
|
|
|
|
version("1.10.0", sha256="5d31f43dffaf6265c808e1b5353662ffa5146d844278b55caa6c7f74f427ec50")
|
|
version("1.8.1", sha256="448b04b23faed669b2b565b998ac955af4feea66c5deed3a1212ac9399d2e1cd")
|
|
version("1.4.1", sha256="13461b42876ade4f75ee5d2a2c656b288ca0aab7f048ef66657ef166996b2118")
|
|
|
|
# dependencies found in backend/src/hatchling/ouroboros.py
|
|
depends_on("python@3.7:", type=("build", "run"))
|
|
depends_on("py-editables@0.3:", type=("build", "run"))
|
|
depends_on("py-importlib-metadata", when="^python@:3.7", type=("build", "run"))
|
|
depends_on("py-packaging@21.3:", type=("build", "run"))
|
|
depends_on("py-pathspec@0.10.1:", when="@1.9:", type=("build", "run"))
|
|
depends_on("py-pathspec@0.9:", type=("build", "run"))
|
|
depends_on("py-pluggy@1:", type=("build", "run"))
|
|
depends_on("py-tomli@1.2.2:", when="^python@:3.10", type=("build", "run"))
|