summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/bumpversion/package.py
blob: d7248b6e9c9a49af7d8b69b53e75b8a59c514499 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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 Bumpversion(PythonPackage):
    """Version-bump your software with a single command."""

    pypi = "bumpversion/bumpversion-0.5.0.tar.gz"

    license("MIT")

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