[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20/37: gnu: Add python-gitpython.
From: |
Marius Bakke |
Subject: |
20/37: gnu: Add python-gitpython. |
Date: |
Wed, 28 Feb 2018 10:33:53 -0500 (EST) |
mbakke pushed a commit to branch master
in repository guix.
commit 8e6177204e9f3cb5ff2651153a7388796ebccbb8
Author: Marius Bakke <address@hidden>
Date: Wed Feb 28 02:54:41 2018 +0100
gnu: Add python-gitpython.
* gnu/packages/version-control.scm (python-gitpython, python2-gitpython):
New
public variables.
---
gnu/packages/version-control.scm | 44 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index adf28ed..ef19382 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -691,6 +691,50 @@ allowing to handle large objects with a small memory
footprint.")
(define-public python2-gitdb
(package-with-python2 python-gitdb))
+(define-public python-gitpython
+ (package
+ (name "python-gitpython")
+ (version "2.1.8")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "GitPython" version))
+ (sha256
+ (base32
+ "1sbn018mn3y2r58ix5z12na1s02ccprhckb88yq3bdddvqjvqqdd"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:tests? #f ;XXX: Tests can only be run within the GitPython repository.
+ #:phases (modify-phases %standard-phases
+ (add-after 'unpack 'embed-git-reference
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "git/cmd.py"
+ (("git_exec_name = \"git\"")
+ (string-append "git_exec_name = \""
+ (assoc-ref inputs "git")
+ "/bin/git\"")))
+ #t)))))
+ (inputs
+ `(("git" ,git)))
+ (propagated-inputs
+ `(("python-gitdb" ,python-gitdb)))
+ (native-inputs
+ `(("python-ddt" ,python-ddt)
+ ("python-nose" ,python-nose)))
+ (home-page "https://github.com/gitpython-developers/GitPython")
+ (synopsis "Python library for interacting with Git repositories")
+ (description
+ "GitPython is a python library used to interact with Git repositories,
+high-level like git-porcelain, or low-level like git-plumbing.
+
+It provides abstractions of Git objects for easy access of repository data,
+and additionally allows you to access the Git repository more directly using
+either a pure Python implementation, or the faster, but more resource intensive
address@hidden command implementation.")
+ (license license:bsd-3)))
+
+(define-public python2-gitpython
+ (package-with-python2 python-gitpython))
+
(define-public shflags
(package
(name "shflags")
- 05/37: gnu: python-testtools: Update to 2.3.0., (continued)
- 05/37: gnu: python-testtools: Update to 2.3.0., Marius Bakke, 2018/02/28
- 02/37: gnu: python-subunit: Update to 1.2.0., Marius Bakke, 2018/02/28
- 18/37: gnu: python-stevedore: Update to 1.28.0., Marius Bakke, 2018/02/28
- 22/37: gnu: python-oslo.i18n: Update to 3.19.0., Marius Bakke, 2018/02/28
- 25/37: gnu: python-oslo.utils: Update to 3.35.0., Marius Bakke, 2018/02/28
- 24/37: gnu: python-oslo.config: Update to 5.2.0., Marius Bakke, 2018/02/28
- 11/37: gnu: Add python-openstackdocstheme., Marius Bakke, 2018/02/28
- 37/37: gnu: python-webencodings: Update to 0.5.1., Marius Bakke, 2018/02/28
- 27/37: gnu: python-oslo.context: Update to 2.20.0., Marius Bakke, 2018/02/28
- 12/37: gnu: python-mox3: Update to 0.24.0., Marius Bakke, 2018/02/28
- 20/37: gnu: Add python-gitpython.,
Marius Bakke <=
- 30/37: gnu: python-msgpack: Run the tests., Marius Bakke, 2018/02/28
- 35/37: gnu: python-netifaces: Update to 0.10.6., Marius Bakke, 2018/02/28
- 17/37: gnu: Add python-rfc3986., Marius Bakke, 2018/02/28
- 28/37: gnu: python-oslo.serialization: Update to 2.24.0., Marius Bakke, 2018/02/28
- 26/37: gnu: Add python-pyinotify., Marius Bakke, 2018/02/28
- 23/37: gnu: python-debtcollector: Update to 1.19.0., Marius Bakke, 2018/02/28
- 21/37: gnu: python-bandit: Update to 1.4.0., Marius Bakke, 2018/02/28
- 36/37: gnu: python-html5lib: Update to 1.0.1., Marius Bakke, 2018/02/28
- 32/37: gnu: python-oslo.log: Update to 3.36.0., Marius Bakke, 2018/02/28
- 29/37: gnu: python-msgpack: Update to 0.5.6., Marius Bakke, 2018/02/28