bumpversion: add v0.6.0 and bump2version dependency (#36021)

* bumpversion: add v0.6.0

* Add bump2version dependency package
This commit is contained in:
Alec Scott 2023-03-18 20:51:06 -07:00 committed by GitHub
parent df97827a7b
commit 620effec1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,17 @@
# 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 Bump2version(PythonPackage):
"""This is a maintained fork of the excellent bumpversion project."""
homepage = "https://github.com/c4urself/bump2version"
pypi = "bump2version/bump2version-1.0.1.tar.gz"
depends_on("py-setuptools", type="build")
version("1.0.1", sha256="762cb2bfad61f4ec8e2bdf452c7c267416f8c70dd9ecb1653fd0bbb01fa936e6")

View File

@ -11,7 +11,9 @@ class Bumpversion(PythonPackage):
pypi = "bumpversion/bumpversion-0.5.0.tar.gz"
version("0.6.0", sha256="4ba55e4080d373f80177b4dabef146c07ce73c7d1377aabf9d3c3ae1f94584a6")
version("0.5.3", sha256="6744c873dd7aafc24453d8b6a1a0d6d109faf63cd0cd19cb78fd46e74932c77e")
version("0.5.0", sha256="030832b9b46848e1c1ac6678dba8242a021e35e908b65565800c9650291117dc")
depends_on("py-setuptools", type="build")
depends_on("bump2version", type=("build", "run"), when="@0.6:")