From 0d456f59221955cfc33930ff435ce515e36b88fe3fc790d59edad83d42ad6d31 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 31 Aug 2016 17:29:45 +0000 Subject: [PATCH 1/3] - update to 2.0.8: * Py2.6 support dropped * lots of new features and bugfixes OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-GitPython?expand=0&rev=10 --- GitPython-1.0.1.tar.gz | 3 --- GitPython-2.0.8.tar.gz | 3 +++ python-GitPython.changes | 7 +++++++ python-GitPython.spec | 4 ++-- 4 files changed, 12 insertions(+), 5 deletions(-) delete mode 100644 GitPython-1.0.1.tar.gz create mode 100644 GitPython-2.0.8.tar.gz diff --git a/GitPython-1.0.1.tar.gz b/GitPython-1.0.1.tar.gz deleted file mode 100644 index cd785d5..0000000 --- a/GitPython-1.0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9c88c17bbcae2a445ff64024ef13526224f70e35e38c33416be5ceb56ca7f760 -size 355108 diff --git a/GitPython-2.0.8.tar.gz b/GitPython-2.0.8.tar.gz new file mode 100644 index 0000000..bf6deb2 --- /dev/null +++ b/GitPython-2.0.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7c03d1130f903aafba6ae5b89ccf8eb433a995cd3120cbb781370e53fc4eb222 +size 407438 diff --git a/python-GitPython.changes b/python-GitPython.changes index e5a9d53..a2795e7 100644 --- a/python-GitPython.changes +++ b/python-GitPython.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Aug 31 17:27:54 UTC 2016 - dmueller@suse.com + +- update to 2.0.8: + * Py2.6 support dropped + * lots of new features and bugfixes + ------------------------------------------------------------------- Wed May 6 09:41:17 UTC 2015 - benoit.monin@gmx.fr diff --git a/python-GitPython.spec b/python-GitPython.spec index 7c960f0..a7afc18 100644 --- a/python-GitPython.spec +++ b/python-GitPython.spec @@ -1,7 +1,7 @@ # # spec file for package python-GitPython # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: python-GitPython -Version: 1.0.1 +Version: 2.0.8 Release: 0 Url: https://github.com/gitpython-developers/GitPython Summary: Python Git Library From 1c46f1e624faa7f6cc4dcaa060e8455ea8104852931d81744c3b5372ddbbd15a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Thu, 18 Jan 2018 10:15:37 +0000 Subject: [PATCH 2/3] Accepting request 567213 from home:TheBlackCat:branches:devel:languages:python - Implement single-spec version - Update to version 2.1.8 * bugfixes - Update to version 2.1.6 * bugfixes * support for worktrees - Update to version 2.1.3 * bugfixes - Update to version 2.1.1 * bugfixes - Update to version 2.1.0 * Much better windows support! * The `GIT_DIR` environment variable does not override the `path` argument when initializing a `Repo` object anymore. However, if said `path` unset, `GIT_DIR` will be used to fill the void. - Update to version 2.0.9 * Bugfixes * `tag.commit` will now resolve commits deeply. * `Repo` objects can now be pickled, which helps with multi-processing. * `Head.checkout()` now deals with detached heads, which is when it will return the `HEAD` reference instead. * `DiffIndex.iter_change_type(...)` produces better results when diffing OBS-URL: https://build.opensuse.org/request/show/567213 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-GitPython?expand=0&rev=11 --- GitPython-2.0.8.tar.gz | 3 --- GitPython-2.1.8.tar.gz | 3 +++ python-GitPython.changes | 26 +++++++++++++++++++ python-GitPython.spec | 54 ++++++++++++++++++++++++---------------- 4 files changed, 62 insertions(+), 24 deletions(-) delete mode 100644 GitPython-2.0.8.tar.gz create mode 100644 GitPython-2.1.8.tar.gz diff --git a/GitPython-2.0.8.tar.gz b/GitPython-2.0.8.tar.gz deleted file mode 100644 index bf6deb2..0000000 --- a/GitPython-2.0.8.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7c03d1130f903aafba6ae5b89ccf8eb433a995cd3120cbb781370e53fc4eb222 -size 407438 diff --git a/GitPython-2.1.8.tar.gz b/GitPython-2.1.8.tar.gz new file mode 100644 index 0000000..f73a6b9 --- /dev/null +++ b/GitPython-2.1.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ad61bc25deadb535b047684d06f3654c001d9415e1971e51c9c20f5b510076e9 +size 431074 diff --git a/python-GitPython.changes b/python-GitPython.changes index a2795e7..2dfa92f 100644 --- a/python-GitPython.changes +++ b/python-GitPython.changes @@ -1,3 +1,29 @@ +------------------------------------------------------------------- +Wed Jan 17 16:12:22 UTC 2018 - toddrme2178@gmail.com + +- Implement single-spec version +- Update to version 2.1.8 + * bugfixes +- Update to version 2.1.6 + * bugfixes + * support for worktrees +- Update to version 2.1.3 + * bugfixes +- Update to version 2.1.1 + * bugfixes +- Update to version 2.1.0 + * Much better windows support! + * The `GIT_DIR` environment variable does not override the `path` argument when + initializing a `Repo` object anymore. However, if said `path` unset, `GIT_DIR` + will be used to fill the void. +- Update to version 2.0.9 + * Bugfixes + * `tag.commit` will now resolve commits deeply. + * `Repo` objects can now be pickled, which helps with multi-processing. + * `Head.checkout()` now deals with detached heads, which is when it will return + the `HEAD` reference instead. + * `DiffIndex.iter_change_type(...)` produces better results when diffing + ------------------------------------------------------------------- Wed Aug 31 17:27:54 UTC 2016 - dmueller@suse.com diff --git a/python-GitPython.spec b/python-GitPython.spec index a7afc18..31ddcf8 100644 --- a/python-GitPython.spec +++ b/python-GitPython.spec @@ -1,7 +1,7 @@ # # spec file for package python-GitPython # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,27 +16,34 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +# Requires test files missing from the pypi source archive +%bcond_with test Name: python-GitPython -Version: 2.0.8 +Version: 2.1.8 Release: 0 -Url: https://github.com/gitpython-developers/GitPython Summary: Python Git Library License: BSD-3-Clause Group: Development/Languages/Python -Source: https://pypi.python.org/packages/source/G/GitPython/GitPython-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: python-devel -BuildRequires: python-gitdb >= 0.6.4 -BuildRequires: python-setuptools -Requires: git-core -Requires: python-gitdb >= 0.6.4 -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -BuildRequires: python-ordereddict -Requires: python-ordereddict -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%else -BuildArch: noarch +Url: https://github.com/gitpython-developers/GitPython +Source: https://files.pythonhosted.org/packages/source/G/GitPython/GitPython-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +%if %{with test} +BuildRequires: %{python_module gitdb2 >= 2.0.0} +BuildRequires: %{python_module ddt} +BuildRequires: %{python_module nose} +BuildRequires: %{python_module smmap2 >= 2.0.0} +BuildRequires: git +BuildRequires: python-mock %endif +Requires: git +Requires: python-gitdb2 >= 2.0.0 +BuildArch: noarch + +%python_subpackages %description GitPython is a python library used to interact with Git repositories. @@ -53,14 +60,19 @@ are 'cgit' and pure python, which is the default. %setup -q -n GitPython-%{version} %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} -%files -%defattr(-,root,root,-) -%doc AUTHORS CHANGES LICENSE +%if %{with test} +%check +%python_exec setup.py test +%endif + +%files %{python_files} +%doc AUTHORS CHANGES LICENSE README.md %{python_sitelib}/* %changelog From 5e1fb6c3ecfaf29b9d72e7838da56a57254671d635aa2d04cb1ba57c6808e59b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Sat, 14 Apr 2018 19:20:00 +0000 Subject: [PATCH 3/3] Accepting request 596537 from home:apersaud:branches:devel:languages:python update to latest version OBS-URL: https://build.opensuse.org/request/show/596537 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-GitPython?expand=0&rev=12 --- GitPython-2.1.8.tar.gz | 3 --- GitPython-2.1.9.tar.gz | 3 +++ python-GitPython.changes | 8 ++++++++ python-GitPython.spec | 16 ++++++++-------- 4 files changed, 19 insertions(+), 11 deletions(-) delete mode 100644 GitPython-2.1.8.tar.gz create mode 100644 GitPython-2.1.9.tar.gz diff --git a/GitPython-2.1.8.tar.gz b/GitPython-2.1.8.tar.gz deleted file mode 100644 index f73a6b9..0000000 --- a/GitPython-2.1.8.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ad61bc25deadb535b047684d06f3654c001d9415e1971e51c9c20f5b510076e9 -size 431074 diff --git a/GitPython-2.1.9.tar.gz b/GitPython-2.1.9.tar.gz new file mode 100644 index 0000000..ab4c43d --- /dev/null +++ b/GitPython-2.1.9.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c47cc31af6e88979c57a33962cbc30a7c25508d74a1b3a19ec5aa7ed64b03129 +size 429598 diff --git a/python-GitPython.changes b/python-GitPython.changes index 2dfa92f..f54930c 100644 --- a/python-GitPython.changes +++ b/python-GitPython.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Sat Apr 14 17:16:15 UTC 2018 - arun@gmx.de + +- update to version 2.1.9: + * Drop support for EOL Python 2.6 and 3.3 + * Allow mmap not just for py2.6, 2.7 and 3.6+ but also 3.0+ + * Fix doc typos + ------------------------------------------------------------------- Wed Jan 17 16:12:22 UTC 2018 - toddrme2178@gmail.com diff --git a/python-GitPython.spec b/python-GitPython.spec index 31ddcf8..b955a16 100644 --- a/python-GitPython.spec +++ b/python-GitPython.spec @@ -20,29 +20,28 @@ # Requires test files missing from the pypi source archive %bcond_with test Name: python-GitPython -Version: 2.1.8 +Version: 2.1.9 Release: 0 Summary: Python Git Library License: BSD-3-Clause Group: Development/Languages/Python -Url: https://github.com/gitpython-developers/GitPython +URL: https://github.com/gitpython-developers/GitPython Source: https://files.pythonhosted.org/packages/source/G/GitPython/GitPython-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros +Requires: git +Requires: python-gitdb2 >= 2.0.0 +BuildArch: noarch %if %{with test} -BuildRequires: %{python_module gitdb2 >= 2.0.0} BuildRequires: %{python_module ddt} +BuildRequires: %{python_module gitdb2 >= 2.0.0} BuildRequires: %{python_module nose} BuildRequires: %{python_module smmap2 >= 2.0.0} BuildRequires: git BuildRequires: python-mock %endif -Requires: git -Requires: python-gitdb2 >= 2.0.0 -BuildArch: noarch - %python_subpackages %description @@ -72,7 +71,8 @@ are 'cgit' and pure python, which is the default. %endif %files %{python_files} -%doc AUTHORS CHANGES LICENSE README.md +%license LICENSE +%doc AUTHORS CHANGES README.md %{python_sitelib}/* %changelog