Accepting request 749100 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/749100
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-GitPython?expand=0&rev=17
This commit is contained in:
Dominique Leuenberger 2019-11-17 18:23:37 +00:00 committed by Git OBS Bridge
commit 85e33abe5e
6 changed files with 42 additions and 9 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:948108ab0d43bcd288e6e1136e5cbb30cde510630a48b94670057b2267e58513
size 10511152

3
GitPython-3.0.5.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6f81eb9841a323d06ac006f9d4dbef862b6c03e7769466075ce6e54fdec879b4
size 11256711

View File

@ -1,3 +1,33 @@
-------------------------------------------------------------------
Sat Nov 16 16:40:59 UTC 2019 - Arun Persaud <arun@gmx.de>
- specfile:
* be more explicit in %files section
* updated line numbers in patches
- update to version 3.0.5:
* Remove duplicate license parameter
* Fix/deepsource issues
* Check if submodule exists before referencing
* Fix cloning to path with unicode
* Global ConfigParser
* Fix 'PushInfo' object has no attribute 'name'
* Reading and writing global configuration parameters acknowledged
help wanted
* Added Git Gud to projects
* Git.AutoInterrupt.__del__() OSError: [WinError 6] The handle is
invalid acknowledged help wanted tag.Windows
- changes from version 3.0.4:
* Fix repo.index.diff("HEAD", create_patch=True) always returning an
empty list
* Fix how Diff handles commits that contain submodule changes
* Fix pickling of tzoffset
* Add support for 'C'-type diffs
* Fixed#731
* Update .deepsource.toml
* Allow single item for index.addremovemove
-------------------------------------------------------------------
Mon Oct 07 13:33:58 UTC 2019 - tchvatal@suse.com

View File

@ -19,12 +19,12 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-GitPython
Version: 3.0.3.1570041589.23b83cd
Version: 3.0.5
Release: 0
Summary: Python Git Library
License: BSD-3-Clause
URL: https://github.com/gitpython-developers/GitPython
Source: GitPython-%{version}.tar.xz
Source: GitPython-%{version}.tar.gz
Patch0: test-skips.patch
Patch1: test_blocking_lock_file-extra-time.patch
BuildRequires: %{python_module ddt >= 1.1.1}
@ -85,6 +85,9 @@ git config --global user.name "Your Name"
%files %{python_files}
%license LICENSE
%doc AUTHORS CHANGES README.md doc/source/*.rst
%{python_sitelib}/*
%dir %{python_sitelib}/git
%{python_sitelib}/git/*
%dir %{python_sitelib}/GitPython-%{version}-py*.egg-info
%{python_sitelib}/GitPython-%{version}-py*.egg-info
%changelog

View File

@ -23,7 +23,7 @@ Index: GitPython-3.0.2.1566444429.0765792/git/test/test_remote.py
import random
import tempfile
from unittest import skipIf
@@ -403,7 +404,7 @@ class TestRemote(TestBase):
@@ -410,7 +411,7 @@ class TestRemote(TestBase):
TagReference.delete(rw_repo, new_tag, other_tag)
remote.push(":%s" % other_tag.path)
@ -32,7 +32,7 @@ Index: GitPython-3.0.2.1566444429.0765792/git/test/test_remote.py
@with_rw_and_rw_remote_repo('0.1.6')
def test_base(self, rw_repo, remote_repo):
num_remotes = 0
@@ -636,6 +637,7 @@ class TestRemote(TestBase):
@@ -643,6 +644,7 @@ class TestRemote(TestBase):
# will raise fatal: Will not delete all non-push URLs
assert_raises(GitCommandError, remote.delete_url, test3)

View File

@ -1,6 +1,6 @@
--- GitPython-2.1.11/git/test-orig/test_util.py 2019-03-13 15:54:50.306690465 +0700
+++ GitPython-2.1.11/git/test/test_util.py 2019-03-13 18:22:09.867649085 +0700
@@ -167,9 +167,7 @@
@@ -171,9 +171,7 @@
self.failUnlessRaises(IOError, wait_lock._obtain_lock)
elapsed = time.time() - start
extra_time = 0.02