py-vcstool: add new package (#20112)

This commit is contained in:
Adam J. Stewart 2020-11-26 18:06:10 -06:00 committed by GitHub
parent d2a83b8318
commit e6641065af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,19 @@
# Copyright 2013-2020 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)
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"
url = "https://pypi.io/packages/source/v/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', type=('build', 'run'))