debian/0000755000000000000000000000000012235045515007170 5ustar debian/source/0000755000000000000000000000000012235045515010470 5ustar debian/source/options0000644000000000000000000000005212235043230012073 0ustar extend-diff-ignore = "^[^/]*[.]egg-info/" debian/source/format0000644000000000000000000000001411560615073011700 0ustar 3.0 (quilt) debian/doc-base0000644000000000000000000000043712235043230010564 0ustar #Document: python-git #Title: GitPython (python-git) documentation #Abstract: This manual contains information on how to use the GitPython # Python module #Section: Programming/Python # #Format: HTML #Index: /usr/share/doc/python-git/index.html #Files: /usr/share/doc/python-git/*.html debian/patches/0000755000000000000000000000000012235045515010617 5ustar debian/patches/series0000644000000000000000000000003712235044541012032 0ustar dont-choke-on-rc-version.patch debian/patches/dont-choke-on-rc-version.patch0000644000000000000000000000152212235045352016371 0ustar Author: "Marcus R. Brown" Description: Fix the `git version` parser to not choke on stuff like '1.8.4.rc3'. Origin: https://github.com/gitpython-developers/GitPython/pull/88 Bug-Debian: http://bugs.debian.org/722481 diff --git a/git/cmd.py b/git/cmd.py index 576a530..6bd7901 100644 --- a/git/cmd.py +++ b/git/cmd.py @@ -234,7 +234,7 @@ def _set_cache_(self, attr): if attr == '_version_info': # We only use the first 4 numbers, as everthing else could be strings in fact (on windows) version_numbers = self._call_process('version').split(' ')[2] - self._version_info = tuple(int(n) for n in version_numbers.split('.')[:4]) + self._version_info = tuple(int(n) for n in version_numbers.split('.')[:4] if n.isdigit()) else: super(Git, self)._set_cache_(attr) #END handle version info -- 1.8.4 debian/copyright0000644000000000000000000000377212235043230011124 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: GitPython Upstream-Contact: Michael Trier Source: http://gitorious.org/git-python Files: * Copyright: 2008-2011 Michael Trier 2008-2011 Florian Apolloner 2008-2011 David Aguilar 2008-2011 Alan Briolat License: BSD-3-clause Files: debian/* Copyright: 2008-2010 Daniel Watkins 2011 Andreas Noteng License: BSD-3-clause License: BSD-3-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. . * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . * Neither the name of the GitPython project nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. debian/links0000644000000000000000000000012111560615073010227 0ustar usr/share/javascript/jquery/jquery.js usr/share/doc/python-git/_static/jquery.js debian/rules0000755000000000000000000000131012235043230010233 0ustar #!/usr/bin/make -f # -*- makefile -*- override_dh_installdocs: dh_installdocs -Xjquery.js -X_sources %: dh $@ --with python2 clean: rm -f lib/GitPython.egg-info/SOURCES.txt dh clean DOC_VERSION=$(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-]+).*,\1,p' | sed 's/~.*//') UPSTREAM=$(shell dpkg-parsechangelog | sed -nr 's/Version: (.*)-[^-]*/\1/p') get-orig-source: uscan --download-current-version wget -P get-orig-source http://packages.python.org/GitPython/$(DOC_VERSION)/docs_$(DOC_VERSION).zip mkdir get-orig-source/doc unzip -d get-orig-source/doc get-orig-source/docs_$(DOC_VERSION).zip tar -C get-orig-source -czvf python-git_$(UPSTREAM).orig-doc.tar.gz doc/ rm -rf get-orig-source debian/compat0000644000000000000000000000000211560615073010370 0ustar 7 debian/watch0000644000000000000000000000021412235043230010206 0ustar version=3 opts=uversionmangle=s/\.RC/~RC/ \ http://pypi.python.org/packages/source/G/GitPython/GitPython-(.*)\.tar\.gz \ debian uupdate debian/changelog0000644000000000000000000000525012235045455011047 0ustar python-git (0.3.2~RC1-3) unstable; urgency=low * Update Homepage to a working URL. * Bump Standards-Version to 3.9.5. * Correctly parses `git --version` when not all components are numeric. Closes: #722481. -- Vincent Bernat Sat, 02 Nov 2013 01:27:18 +0100 python-git (0.3.2~RC1-2) unstable; urgency=low [ Jakub Wilk ] * Use canonical URIs for Vcs-* fields. [ TANIGUCHI Takaki ] * debian/control: Change Maintainer to Python Module Team. (Closes: #705279) + Remove "Daniel Watkins " from Maintainer. -- TANIGUCHI Takaki Mon, 13 May 2013 10:10:01 +0900 python-git (0.3.2~RC1-1) unstable; urgency=low * Team upload. * New upstream release * Add myself to Uploaders. * Bump Standards-Version to 3.9.3. + debian/copyright: copyright-format 1.0 * Add python-gitdb to Depends:. -- TANIGUCHI Takaki Sun, 08 Apr 2012 21:12:50 +0900 python-git (0.3.1~beta2-1) unstable; urgency=low [ Andreas Noteng ] * Team upload. * Update git dependency. (Closes: #600237, #568583) * New upstream release. (Closes: #579553) * Add upstream documentation. (Closes: #523881) * Change source format to 3.0 (quilt) * Bump Standards-Version to 3.9.2 - Remove deprecated /usr/share/common-licenses/BSD link from copyright * Change to DEP5 copyright [ Vincent Bernat ] * Add myself as uploader -- Vincent Bernat Thu, 05 May 2011 23:48:19 +0200 python-git (0.1.6-1) unstable; urgency=low * New upstream release. (Closes: #512584) * Changed licensing of packaging to match upstream's license. -- Daniel Watkins Sat, 07 Feb 2009 12:10:15 +0100 python-git (0.1.5-1) unstable; urgency=low * New upstream release. (Closes: #501211, #507276) * Added Debian Python Modules Team to Uploaders field. * Updated Vcs-* fields to reflect the use of the DPMT Subversion repository. * Removed all patches merged upstream. * Converted debian/rules to use debhelper 7. -- Daniel Watkins Wed, 07 Jan 2009 14:04:00 +0000 python-git (0.1.4.1-2) unstable; urgency=low * Fixed the synopsis to work as an appositive clause in a sentence, as per Section 6.2.2 of the Developer Reference. * Added patch so that git.Repo.create and git.Repo.init_bare now create a bare repository, as intended. (Closes: #494581) * Added Vcs-Bzr control field. -- Daniel Watkins Mon, 18 Aug 2008 19:50:22 +0100 python-git (0.1.4.1-1) unstable; urgency=low * Initial release. (Closes: #492520) -- Daniel Watkins Sat, 26 Jul 2008 20:48:13 +0100 debian/control0000644000000000000000000000206612235044234010574 0ustar Source: python-git Section: python Priority: optional Maintainer: Debian Python Modules Team Uploaders: Vincent Bernat , TANIGUCHI Takaki Build-Depends: debhelper (>= 7.0.50~), python, python-setuptools (>= 0.6a9), python-sphinx Standards-Version: 3.9.5 Homepage: https://github.com/gitpython-developers/GitPython XS-Python-Version: all Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/python-git/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/python-git/trunk/ Package: python-git Architecture: all Depends: ${python:Depends}, git (>= 1:1.7) | git-core (>= 1:1.5.3.7), ${misc:Depends}, libjs-jquery, python-gitdb (>= 0.5.1) Description: Python library to interact with Git repositories python-git provides object model access to a Git repository, so Python can be used to manipulate it. Repository objects can be opened or created, which can then be traversed to find parent commit(s), trees, blobs, etc. XB-Python-Version: ${python:Versions} debian/docs0000644000000000000000000000002611560615073010043 0ustar doc/* AUTHORS CHANGES debian/pycompat0000644000000000000000000000000211560615073010741 0ustar 2