summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-gitpython/package.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-gitpython/package.py b/var/spack/repos/builtin/packages/py-gitpython/package.py
new file mode 100644
index 0000000000..c77f01e2a2
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-gitpython/package.py
@@ -0,0 +1,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'))