forked from pool/python-GitPython
- Update to version 2.1.7.1594621338.176838a3:
- refresed test-skips.patch and test_blocking_lock_file-extra-time.patch - used pytest as test runner * bump patch level * Fixed broken file paths. * bump patch level * test: add installation test * tools: update tool scripts after moving tests * MANIFEST.in: update to exclude tests * setup.py: exclude all test files * tests: move to root dir * bump patch level * Revert moving tests out of 'git' folder, related to #1030 * bump patch level * tools: update tool scripts after moving tests * MANIFEST.in: update to exclude tests * setup.py: exclude all test files * tests: move to root dir * Add Ram Rachum to AUTHORS * Fix exception causes all over the codebase * Fix exception causes in 7 modules * Fix exception causes in cmd.py OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-GitPython?expand=0&rev=39
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-GitPython
|
||||
Version: 3.1.3.1590895281.24cd6da
|
||||
Version: 3.1.7.1594621338.176838a3
|
||||
Release: 0
|
||||
Summary: Python Git Library
|
||||
License: BSD-3-Clause
|
||||
@@ -29,6 +29,7 @@ Patch0: test-skips.patch
|
||||
Patch1: test_blocking_lock_file-extra-time.patch
|
||||
BuildRequires: %{python_module ddt >= 1.1.1}
|
||||
BuildRequires: %{python_module gitdb >= 4.0.1}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module smmap >= 3.0.1}
|
||||
BuildRequires: fdupes
|
||||
@@ -62,7 +63,6 @@ sed -i -e '/tox/d' -e '/flake8/d' -e '/coverage/d' test-requirements.txt
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand rm -r %{buildroot}%{$python_sitelib}/git/test/
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@@ -78,7 +78,7 @@ export GIT_PYTHON_TEST_GIT_REPO_BASE=${PWD}
|
||||
git config --global user.email "you@example.com"
|
||||
git config --global user.name "Your Name"
|
||||
|
||||
%python_exec setup.py test --test-suite=git.test
|
||||
%pytest -k 'not test_installation' test
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
|
||||
Reference in New Issue
Block a user