summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-hatch-requirements-txt/package.py
blob: 75a5136ba91e28b8285cbf1c2aaa117d4b9ef6db (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright 2013-2023 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 PyHatchRequirementsTxt(PythonPackage):
    """Hatchling plugin to read project dependencies from requirements.txt"""

    homepage = "https://github.com/repo-helper/hatch-requirements-txt"
    pypi = "hatch_requirements_txt/hatch_requirements_txt-0.4.0.tar.gz"

    license("MIT")

    version("0.4.0", sha256="800509946e85d9e56d73242fab223ec36db50372e870a04e2dd1fd9bad98455d")

    depends_on("python@3.6.1:", type=("build", "run"))
    depends_on("py-hatchling@0.21:", type=("build", "run"))
    depends_on("py-packaging@21.3:", type=("build", "run"))