14
0

- Update to version 3.1.0.1582544583.8c9da73:

* Replace invalid bytes when decoding TagObject stream
  * Use UTF-8 encoding when getting information about a symbolic reference
  * Remove and replace references to nose with unittest in documentation
  * Remove nose from test requirements
  * Replace nose with unittest in tox configuration
  * Replace nose with unittest in Travis CI script
  * Added changelog for unreleased changes
  * Restrict gitdb2 version to <4
  * Remove test.lib.asserts and use unittest.mock.patch directly
  * Replace assert_false with assertFalse
  * Replace assert_true with assertTrue
  * Replace raises with assertRaises
  * Replace assert_raises with assertRaises
  * Replace assert_not_equal with assertNotEqual
  * Replace assert_equal with assertEqual
  * Remove and replace assert_match with assertRegex
  * Remove old, no longer used assert methods
  * Remove references to old mock library in documentation
  * Remove outdated checks for unittest.mock existence
  * Fix Python version requirement in documentation
  * Remove badges for no longer existing Waffle site from README
  * Add support for Python 3.8
  * Replace deprecated Logger.warn with Logger.warning
  * Replace deprecated assertRaisesRegexp alias with assertRaisesRegex
  * Replace deprecated assertNotEquals alias with assertNotEqual
  * Replace deprecated assertEquals alias with assertEqual in TestGit
  * Replace deprecated assertRegexpMatches alias with assertRegex
  * Replace deprecated failUnlessRaises alias with assertRaises in tests
  * Improve requirements.txt format

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-GitPython?expand=0&rev=30
This commit is contained in:
Tomáš Chvátal
2020-04-02 09:46:33 +00:00
committed by Git OBS Bridge
parent 06368485d8
commit 25126db0ba
7 changed files with 78 additions and 28 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-GitPython
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,25 +19,23 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-GitPython
Version: 3.0.5
Version: 3.1.0.1582544583.8c9da73
Release: 0
Summary: Python Git Library
License: BSD-3-Clause
URL: https://github.com/gitpython-developers/GitPython
Source: GitPython-%{version}.tar.gz
Source: GitPython-%{version}.tar.xz
Patch0: test-skips.patch
Patch1: test_blocking_lock_file-extra-time.patch
BuildRequires: %{python_module ddt >= 1.1.1}
BuildRequires: %{python_module gitdb2 >= 2.0.0}
BuildRequires: %{python_module nose}
BuildRequires: %{python_module gitdb >= 4.0.1}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module smmap2 >= 2.0.0}
BuildRequires: %{python_module smmap >= 3.0.1}
BuildRequires: fdupes
BuildRequires: git
BuildRequires: git-core
BuildRequires: python-rpm-macros
BuildRequires: python2-mock
Requires: git-core
Requires: python-gitdb2 >= 2.0.0
Requires: python-gitdb >= 4.0.1
BuildArch: noarch
%python_subpackages