[py-hatch-requirements-txt] new package (#38965)

This commit is contained in:
Jen Herting 2023-07-19 08:03:21 -04:00 committed by GitHub
parent 950b5579fb
commit 33939656e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"))