summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-gitpython/package.py
blob: c77f01e2a20119c281841a9d6083d82c9bc29e3e (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-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)

from spack import *


class PyGitpython(PythonPackage):
    """
    GitPython is a python library used to interact with Git repositories.
    """

    homepage = "http://gitpython.readthedocs.org"
    url      = "https://pypi.io/packages/source/g/gitpython/GitPython-3.1.7.tar.gz"

    version('3.1.7', sha256='2db287d71a284e22e5c2846042d0602465c7434d910406990d5b74df4afb0858')

    depends_on('python@3.4:',   type=('build', 'run'))
    depends_on('py-setuptools', type='build')
    depends_on('py-gitdb@4.0.1:4.999', type=('build', 'run'))