blob: fe34688b98d2f56e0b306955911cd5ecc5a961d3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Copyright 2013-2024 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 PyHatchVcs(PythonPackage):
"""Hatch plugin for versioning with your preferred VCS"""
homepage = "https://github.com/ofek/hatch-vcs"
pypi = "hatch_vcs/hatch_vcs-0.2.0.tar.gz"
license("MIT")
version("0.3.0", sha256="cec5107cfce482c67f8bc96f18bbc320c9aa0d068180e14ad317bbee5a153fee")
version("0.2.0", sha256="9913d733b34eec9bb0345d0626ca32165a4ad2de15d1ce643c36d09ca908abff")
depends_on("py-hatchling@1.1:", when="@0.3:", type=("build", "run"))
depends_on("py-hatchling@0.21.0:", type=("build", "run"))
depends_on("py-setuptools-scm@6.4.0:", type=("build", "run"))
|