14
0

- Update to 1.8.0:

* Add retrieval of stages of artifacts
  * Switch links to opendev.org
  * Allow build number to be a string
  * Use fullname in get_job_info_regex
- Add patch use-parts-of-legacy-version.patch:
  * Use underpining parts of LegacyVersion pre-removal.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-jenkins?expand=0&rev=34
This commit is contained in:
2023-04-17 05:04:51 +00:00
committed by Git OBS Bridge
parent a41675fb7f
commit fb1d68a048
5 changed files with 108 additions and 97 deletions

View File

@@ -22,17 +22,13 @@ Version: 1.8.0
Release: 0
Summary: Python bindings for the remote Jenkins API
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://opendev.org/jjb/python-jenkins
Source: https://files.pythonhosted.org/packages/source/p/python-jenkins/python-jenkins-%{version}.tar.gz
# https://bugs.launchpad.net/python-jenkins/+bug/1971524
Patch0: python-python-jenkins-no-mock.patch
# PATCH-FIX-UPSTREAM pkg_resources.patch lp#2003556 mcepl@suse.com
# Don't depend on the old version of setuptools, but use packaging
Patch1: pkg_resources.patch
# PATCH-FIX-OPENSUSE skip_failing_tests.patch bsc#[0-9]+ mcepl@suse.com
# skip failing tests (upstream just up-versioned setuptools and cannot be bothered)
Patch2: skip_failing_tests.patch
# PATCH-FIX-OPENSUSE Upstream are arguing about version parsing, use the
# underlying parts of LegacyVersion from packaging pre-removal
Patch1: use-parts-of-legacy-version.patch
BuildRequires: %{python_module cmd2}
BuildRequires: %{python_module multi_key_dict}
BuildRequires: %{python_module packaging}