25 lines
993 B
Python
25 lines
993 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 PyVersioneer(PythonPackage):
|
|
"""Versioneer is a tool to automatically update version strings by
|
|
asking your version-control system about the current tree."""
|
|
|
|
homepage = "https://github.com/python-versioneer/python-versioneer"
|
|
pypi = "versioneer/versioneer-0.26.tar.gz"
|
|
git = "https://github.com/python-versioneer/python-versioneer.git"
|
|
|
|
maintainers("scemama")
|
|
|
|
version("0.26", sha256="84fc729aa296d1d26645a8f62f178019885ff6f9a1073b29a4a228270ac5257b")
|
|
version("0.18", sha256="ead1f78168150011189521b479d3a0dd2f55c94f5b07747b484fd693c3fbf335")
|
|
|
|
depends_on("python@3.7:", when="@0.23:", type=("build", "run"))
|
|
depends_on("python@3.6:", when="@0.19:", type=("build", "run"))
|
|
depends_on("py-setuptools", type="build")
|