summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-vcstool/package.py
blob: 51244b4425f0943ec4658250a76c558361a6eb06 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Copyright 2013-2022 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 PyVcstool(PythonPackage):
    """vcstool enables batch commands on multiple different vcs repositories.

    Currently it supports git, hg, svn and bzr."""

    homepage = "https://github.com/dirk-thomas/vcstool"
    pypi = "vcstool/vcstool-0.2.15.tar.gz"

    version('0.2.15', sha256='b1fce6fcef7b117b245a72dc8658a128635749d01dc7e9d1316490f89f9c2fde')

    depends_on('py-pyyaml', type=('build', 'run'))
    depends_on('py-setuptools', type=('build', 'run'))
    depends_on('py-argparse', when='^python@:2.6,3.0:3.1', type=('build', 'run'))