diff --git a/GitPython-3.0.3.1570041589.23b83cd.tar.xz b/GitPython-3.0.3.1570041589.23b83cd.tar.xz deleted file mode 100644 index efcd633..0000000 --- a/GitPython-3.0.3.1570041589.23b83cd.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:948108ab0d43bcd288e6e1136e5cbb30cde510630a48b94670057b2267e58513 -size 10511152 diff --git a/GitPython-3.0.5.tar.gz b/GitPython-3.0.5.tar.gz new file mode 100644 index 0000000..f7d1c30 --- /dev/null +++ b/GitPython-3.0.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6f81eb9841a323d06ac006f9d4dbef862b6c03e7769466075ce6e54fdec879b4 +size 11256711 diff --git a/python-GitPython.changes b/python-GitPython.changes index 8133b1b..8169b5c 100644 --- a/python-GitPython.changes +++ b/python-GitPython.changes @@ -1,3 +1,33 @@ +------------------------------------------------------------------- +Sat Nov 16 16:40:59 UTC 2019 - Arun Persaud + +- 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 diff --git a/python-GitPython.spec b/python-GitPython.spec index ae7913c..8b0941b 100644 --- a/python-GitPython.spec +++ b/python-GitPython.spec @@ -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 diff --git a/test-skips.patch b/test-skips.patch index a64c264..b97b64d 100644 --- a/test-skips.patch +++ b/test-skips.patch @@ -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) diff --git a/test_blocking_lock_file-extra-time.patch b/test_blocking_lock_file-extra-time.patch index a7a717d..2c8b473 100644 --- a/test_blocking_lock_file-extra-time.patch +++ b/test_blocking_lock_file-extra-time.patch @@ -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