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 <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Tue Dec 17 12:39:07 2019 +0100
Changeset:	4605331c60efc37d287598cf84a33e7ee2142615

Modified Files:
	py-git/DESCR
	py-git/Makefile
	py-git/PLIST
	py-git/distinfo

Log Message:
py-git: Update to 3.0.5

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

Changes:
3.0.5 - Bugfixes
=============================================
see the following for details:
https://github.com/gitpython-developers/gitpython/milestone/32?closed=1

3.0.4 - Bugfixes
=============================================
see the following for details:
https://github.com/gitpython-developers/gitpython/milestone/31?closed=1

3.0.3 - Bugfixes
=============================================
see the following for (most) details:
https://github.com/gitpython-developers/gitpython/milestone/30?closed=1

3.0.2 - Bugfixes
=============================================
* fixes an issue with installation

3.0.1 - Bugfixes and performance improvements
=============================================
* Fix a `performance regression <https://github.com/gitpython-developers/GitPython/issues/906>`_ which could make certain workloads 50% slower
* Add `currently_rebasing_on` method on `Repo`, see `the PR <https://github.com/gitpython-developers/GitPython/pull/903/files#diff-c276fc3c4df38382ec884e59657b869dR1065>`_
* Fix incorrect `requirements.txt` which could lead to broken installations, see this `issue <https://github.com/gitpython-developers/GitPython/issues/908>`_ 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:
https://github.com/gitpython-developers/gitpython/milestone/27?closed=1

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:
https://github.com/gitpython-developers/gitpython/milestone/26?closed=1

2.1.10 - Bugfixes
=================
see the following for (most) details:
https://github.com/gitpython-developers/gitpython/milestone/25?closed=1

2.1.9 - Dropping support for Python 2.6
=======================================
see the following for (most) details:
https://github.com/gitpython-developers/gitpython/milestone/24?closed=1

2.1.8 - bugfixes
====================================
see the following for (most) details:
https://github.com/gitpython-developers/gitpython/milestone/23?closed=1

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=4605331c60efc37d287598cf84a33e7ee2142615

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

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

diffs:
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
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME:S/GitPython/git/}
 CATEGORIES=	devel python
 MASTER_SITES=	${MASTER_SITE_PYPI:=G/GitPython/}
@@ -10,8 +10,7 @@ HOMEPAGE=	https://github.com/gitpython-developers/GitPython
 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
 
 USE_LANGUAGES=	# none
 
+# Only for Python 3.x
+PYTHON_VERSIONS_INCOMPATIBLE=	27
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.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
 ${PYSITELIB}/git/objects/util.py
 ${PYSITELIB}/git/objects/util.pyc
 ${PYSITELIB}/git/objects/util.pyo
-${PYSITELIB}/git/odict.py
-${PYSITELIB}/git/odict.pyc
-${PYSITELIB}/git/odict.pyo
 ${PYSITELIB}/git/refs/__init__.py
 ${PYSITELIB}/git/refs/__init__.pyc
 ${PYSITELIB}/git/refs/__init__.pyo
@@ -132,6 +129,10 @@ ${PYSITELIB}/git/test/fixtures/commit_with_gpgsig
 ${PYSITELIB}/git/test/fixtures/diff_2
 ${PYSITELIB}/git/test/fixtures/diff_2f
 ${PYSITELIB}/git/test/fixtures/diff_abbrev-40_full-index_M_raw_no-color
+${PYSITELIB}/git/test/fixtures/diff_change_in_type
+${PYSITELIB}/git/test/fixtures/diff_change_in_type_raw
+${PYSITELIB}/git/test/fixtures/diff_copied_mode
+${PYSITELIB}/git/test/fixtures/diff_copied_mode_raw
 ${PYSITELIB}/git/test/fixtures/diff_f
 ${PYSITELIB}/git/test/fixtures/diff_file_with_spaces
 ${PYSITELIB}/git/test/fixtures/diff_i
@@ -150,7 +151,9 @@ ${PYSITELIB}/git/test/fixtures/diff_rename_raw
 ${PYSITELIB}/git/test/fixtures/diff_tree_numstat_root
 ${PYSITELIB}/git/test/fixtures/for_each_ref_with_path_component
 ${PYSITELIB}/git/test/fixtures/git_config
+${PYSITELIB}/git/test/fixtures/git_config-inc.cfg
 ${PYSITELIB}/git/test/fixtures/git_config_global
+${PYSITELIB}/git/test/fixtures/git_config_multiple
 ${PYSITELIB}/git/test/fixtures/git_config_with_comments
 ${PYSITELIB}/git/test/fixtures/git_config_with_empty_value
 ${PYSITELIB}/git/test/fixtures/git_file
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 1.1.1.1 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