diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-hatch-requirements-txt/package.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-hatch-requirements-txt/package.py b/var/spack/repos/builtin/packages/py-hatch-requirements-txt/package.py new file mode 100644 index 0000000000..6f2489e2a9 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-hatch-requirements-txt/package.py @@ -0,0 +1,19 @@ +# 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" + + 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")) |