spack/var/spack/repos/builtin/packages/py-poetry-dynamic-versioning/package.py
Harmen Stoppels fce95e2efb
license year bump (#34921)
* license bump year
* fix black issues of modified files
* mypy
* fix 2021 -> 2023
2023-01-18 14:30:17 -08:00

23 lines
885 B
Python

# 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 PyPoetryDynamicVersioning(PythonPackage):
"""Plugin for Poetry to enable dynamic versioning based on VCS tags."""
homepage = "https://github.com/mtkennerly/poetry-dynamic-versioning"
pypi = "poetry-dynamic-versioning/poetry-dynamic-versioning-0.19.0.tar.gz"
version("0.19.0", sha256="a11a7eba6e7be167c55a1dddec78f52b61a1832275c95519ad119c7a89a7f821")
depends_on("python@3.7:3", type=("build", "run"))
depends_on("py-poetry-core@1:", type="build")
depends_on("py-dunamai@1.12:1", type=("build", "run"))
depends_on("py-tomlkit@0.4:", type=("build", "run"))
depends_on("py-jinja2@2.11.1:3", type=("build", "run"))