pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-git: Update to 3.0.5

Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <>
Pushed By:	leot
Date:		Tue Dec 17 12:39:07 2019 +0100
Changeset:	4605331c60efc37d287598cf84a33e7ee2142615

Modified Files:

Log Message:
py-git: Update to 3.0.5

pkgsrc changes:
 - Extend DESCR based on contents available on HOMEPAGE

3.0.5 - Bugfixes
see the following for details:

3.0.4 - Bugfixes
see the following for details:

3.0.3 - Bugfixes
see the following for (most) details:

3.0.2 - Bugfixes
* fixes an issue with installation

3.0.1 - Bugfixes and performance improvements
* Fix a `performance regression <>`_ which could make certain workloads 50% slower
* Add `currently_rebasing_on` method on `Repo`, see `the PR <>`_
* Fix incorrect `requirements.txt` which could lead to broken installations, see this `issue <>`_ for details.

3.0.0 - Remove Python 2 support
Motivation for this is a patch which improves unicode handling when dealing with filesystem paths.
Python 2 compatibility was introduced to deal with differences, and I thought it would be a good idea
to 'just' drop support right now, mere 5 months away from the official maintenance stop of python 2.7.

The underlying motivation clearly is my anger when thinking python and unicode, which was a hassle from the
start, at least in a codebase as old as GitPython, which totally doesn't handle encodings correctly in many cases.

Having migrated to using `Rust` exclusively for tooling, I still see that correct handling of encodings isn't entirely
trivial, but at least `Rust` makes clear what has to be done at compile time, allowing to write software that is pretty
much guaranteed to work once it compiles.

Again, my apologies if removing Python 2 support caused inconveniences, please see release 2.1.13 which returns it.

see the following for (most) details:

2.1.13 - Bring back Python 2.7 support
My apologies for any inconvenience this may have caused. Following semver, backward incompatible changes
will be introduced in a minor version.

2.1.12 - Bugfixes and Features
* Multi-value support and interface improvements for Git configuration. Thanks to A. Jesse Jiryu Davis.

2.1.11 - Bugfixes
see the following for (most) details:

2.1.10 - Bugfixes
see the following for (most) details:

2.1.9 - Dropping support for Python 2.6
see the following for (most) details:

2.1.8 - bugfixes
see the following for (most) details:

To see a diff of this commit:;a=commitdiff;h=4605331c60efc37d287598cf84a33e7ee2142615

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

 py-git/DESCR    | 12 +++++++++++-
 py-git/Makefile |  8 +++++---
 py-git/PLIST    |  9 ++++++---
 py-git/distinfo | 10 +++++-----
 4 files changed, 27 insertions(+), 12 deletions(-)

diff --git a/py-git/DESCR b/py-git/DESCR
index 6f988fb88a..c58ed036cb 100644
--- a/py-git/DESCR
+++ b/py-git/DESCR
@@ -1 +1,11 @@
-Python library used to interact with Git repositories
+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 git command implementation.
+The object database implementation is optimized for handling large
+quantities of objects and large datasets, which is achieved by using
+low-level structures and data streaming.
diff --git a/py-git/Makefile b/py-git/Makefile
index e8f6794bb9..2b5b4d3ba1 100644
--- a/py-git/Makefile
+++ b/py-git/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD: Makefile,v 1.3 2014/12/31 13:58:32 thomasklausner Exp $
-DISTNAME=	GitPython-2.1.7
+DISTNAME=	GitPython-3.0.5
 CATEGORIES=	devel python
@@ -10,8 +10,7 @@ HOMEPAGE=
 COMMENT=	Python library used to interact with Git repositories
 LICENSE=	modified-bsd
-DEPENDS+=	${PYPKGPREFIX}-smmap2-[0-9]*:../../wip/py-smmap2
-DEPENDS+=	${PYPKGPREFIX}-gitdb2-[0-9]*:../../wip/py-gitdb2
+DEPENDS+=	${PYPKGPREFIX}-gitdb2>=2.0.0:../../wip/py-gitdb2
 DEPENDS+=	git-base>=1.7.0:../../devel/git-base
 # tests are not intended to be run from pypi distfile,
@@ -23,5 +22,8 @@ TEST_DEPENDS+=	${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose
+# Only for Python 3.x
 .include "../../lang/python/"
 .include "../../mk/"
diff --git a/py-git/PLIST b/py-git/PLIST
index d0957e1af8..a228ee282a 100644
--- a/py-git/PLIST
+++ b/py-git/PLIST
@@ -77,9 +77,6 @@ ${PYSITELIB}/git/objects/tree.pyo
@@ -132,6 +129,10 @@ ${PYSITELIB}/git/test/fixtures/commit_with_gpgsig
@@ -150,7 +151,9 @@ ${PYSITELIB}/git/test/fixtures/diff_rename_raw
diff --git a/py-git/distinfo b/py-git/distinfo
index ff386d803f..9d6d3fa989 100644
--- a/py-git/distinfo
+++ b/py-git/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 2012/01/06 11:19:04 jihbed Exp $
+$NetBSD: distinfo,v 1.4 2017/06/21 09:57:57 adam Exp $
-SHA1 (GitPython-2.1.7.tar.gz) = 60c5ffd02e558dcefcaad13d652340021c192d1b
-RMD160 (GitPython-2.1.7.tar.gz) = 682a6c10b538ed86f8d2ea35fc9cecac2c29454b
-SHA512 (GitPython-2.1.7.tar.gz) = 3081fcf4944d49042fa95b55f1f0a152b405830fa592fbe546710798388e2bd7422bd2c62f5a7545f0820693fe1948ef31e1485d7b6bc2b37f2b807962e7da83
-Size (GitPython-2.1.7.tar.gz) = 426362 bytes
+SHA1 (GitPython-3.0.5.tar.gz) = eb9a5eaa1b63117d92fd6b74e0c3d9b49aea645b
+RMD160 (GitPython-3.0.5.tar.gz) = ede9e03a3983748720bee8b311e6d594358ae950
+SHA512 (GitPython-3.0.5.tar.gz) = bb47f1dcbe753d7c413f51e48e545b4406b793ad795dd7de3c6aeee313a0ad6409876886cb4b7ebbbddae6a4d2a3f108f403b22133069a61ccb3aef32ab120ad
+Size (GitPython-3.0.5.tar.gz) = 433208 bytes

Home | Main Index | Thread Index | Old Index