- Update to version 2.1.11.1531661757.92a4819:

* Bump version to 2.1.11
  * fix whitespace violation
  * Update test_docs.py
  * Dedent code blocks in tutorial.
  * Allow pathlib.Path in Repo.__init__
  * Fix small typo
  * Fix exception on import in MacOS
  * Bump to 2.1.10
  * Add change in type support
  * Get correcly rename change_type.
- Simplify the service file and generating of the tarball
  and base everything on a tag

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-GitPython?expand=0&rev=21
This commit is contained in:
Tomáš Chvátal 2019-03-15 14:07:37 +00:00 committed by Git OBS Bridge
parent ad4dad059d
commit aa39aa09e0
6 changed files with 40 additions and 33 deletions

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:16131a0c8a9624f58288c2a09cba7b9ad467c884b536d15172cf38ff04416859
size 10173064

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8237dc5bfd6f1366abeee5624111b9d6879393d84745a507de0fda86043b65a8
size 428531

View File

@ -1,18 +1,16 @@
<services>
<service mode="localonly" name="obs_scm">
<param name="scm">git</param>
<service name="tar_scm" mode="disabled">
<param name="versionprefix">2.1.11</param>
<param name="url">git://github.com/gitpython-developers/GitPython</param>
<param name="versionprefix">2.1.11.git</param>
<param name="filename">test-data</param>
<param name="submodules">enable</param>
<param name="scm">git</param>
<param name="package-meta">yes</param>
<param name="changesgenerate">enable</param>
<param name="submodules">enable</param>
<param name="revision">refs/tags/2.1.11</param>
</service>
<service mode="localonly" name="tar">
<param name="filename">test-data</param>
<param name="package-meta">yes</param>
</service>
<service mode="localonly" name="recompress">
<param name="file">test-data.tar</param>
<service name="recompress" mode="disabled">
<param name="compression">xz</param>
<param name="file">*.tar</param>
</service>
<service name="set_version" mode="disabled"/>
</services>

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Fri Mar 15 13:52:47 UTC 2019 - tchvatal@suse.com
- Update to version 2.1.11.1531661757.92a4819:
* Bump version to 2.1.11
* fix whitespace violation
* Update test_docs.py
* Dedent code blocks in tutorial.
* Allow pathlib.Path in Repo.__init__
* Fix small typo
* Fix exception on import in MacOS
* Bump to 2.1.10
* Add change in type support
* Get correcly rename change_type.
- Simplify the service file and generating of the tarball
and base everything on a tag
-------------------------------------------------------------------
Wed Mar 13 12:09:51 UTC 2019 - John Vandenberg <jayvdb@gmail.com>

View File

@ -18,30 +18,29 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-GitPython
Version: 2.1.11
Version: 2.1.11.1531661757.92a4819
Release: 0
Summary: Python Git Library
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/gitpython-developers/GitPython
Source: https://files.pythonhosted.org/packages/source/G/GitPython/GitPython-%{version}.tar.gz
Source1: test-data.tar.xz
Source: GitPython-%{version}.tar.xz
Patch0: test-skips.patch
# Subset and rebase of merged https://github.com/gitpython-developers/GitPython/pull/793
Patch1: merged_pr_793.patch
Patch2: test_blocking_lock_file-extra-time.patch
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: git-core
Requires: python-gitdb2 >= 2.0.0
BuildArch: noarch
BuildRequires: %{python_module ddt >= 1.1.1}
BuildRequires: %{python_module gitdb2 >= 2.0.0}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module smmap2 >= 2.0.0}
BuildRequires: fdupes
BuildRequires: git
BuildRequires: python-rpm-macros
BuildRequires: python2-mock
Requires: git-core
Requires: python-gitdb2 >= 2.0.0
BuildArch: noarch
%python_subpackages
%description
@ -57,13 +56,8 @@ are 'cgit' and pure python, which is the default.
%prep
%setup -q -n GitPython-%{version}
%patch0 -p1
%patch1 -p1
%patch2 -p1
tar -xf %{SOURCE1}
cd test-data
echo y | ./init-tests-after-clone.sh
%autopatch -p1
%build
%python_build
@ -78,9 +72,10 @@ echo y | ./init-tests-after-clone.sh
# should work as the test runner sets up a git daemon.
export SKIP_GITHUB=true
export SKIP_LOCALHOST=true
export TRAVIS=true
export LANG=en_US.UTF-8
export GIT_PYTHON_TEST_GIT_REPO_BASE=${PWD}/test-data
export GIT_PYTHON_TEST_GIT_REPO_BASE=${PWD}
git config --global user.email "you@example.com"
git config --global user.name "Your Name"

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:903384c5025142500698ffcf046616647bdefff50a69f0f701d53f6a3c306c2e
size 10172560