summaryrefslogblamecommitdiff
path: root/var/spack/repos/builtin/packages/py-hatch-vcs/package.py
blob: 105635097cc480c328351ae65799cbf4d76ba604 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















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

    version("0.2.0", sha256="9913d733b34eec9bb0345d0626ca32165a4ad2de15d1ce643c36d09ca908abff")

    depends_on("py-hatchling@0.21.0:", type=("build", "run"))
    depends_on("py-setuptools-scm@6.4.0:", type=("build", "run"))