spack/var/spack/repos/builtin/packages/py-dunamai/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

22 lines
750 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 PyDunamai(PythonPackage):
"""Dynamic version generation."""
homepage = "https://github.com/mtkennerly/dunamai"
pypi = "dunamai/dunamai-1.13.1.tar.gz"
version("1.13.1", sha256="49597bdf653bdacdeb51ec6e0f1d4d2327309376fc83e6f1d42af6e29600515f")
depends_on("python@3.5:3", type=("build", "run"))
depends_on("py-poetry-core@1:", type="build")
depends_on("py-packaging@20.9:", type=("build", "run"))
depends_on("py-importlib-metadata@1.6:", when="^pyhton@:3.7", type=("build", "run"))