14
0

Accepting request 702944 from home:jesusaur:branches:devel:languages:python

- Fix dependencies for version 1.4.0 
  * Skip one broken test failing to convert a string to unicode

OBS-URL: https://build.opensuse.org/request/show/702944
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-jenkins?expand=0&rev=22
This commit is contained in:
Tomáš Chvátal
2019-05-14 18:56:51 +00:00
committed by Git OBS Bridge
parent 3a8b908e94
commit 83bc0d9faa
2 changed files with 16 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-python-jenkins
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2014 Thomas Bechtold <thomasbechtold@jpberlin.de>
#
# All modifications and additions to the file contributed by third parties
@@ -24,28 +24,32 @@ Release: 0
Summary: Python bindings for the remote Jenkins API
License: BSD-3-Clause
Group: Development/Languages/Python
URL: http://launchpad.net/python-jenkins
URL: http://opendev.org/jjb/python-jenkins
Source: https://files.pythonhosted.org/packages/source/p/python-jenkins/python-jenkins-%{version}.tar.gz
BuildRequires: %{python_module cmd2}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module multi_key_dict}
BuildRequires: %{python_module pbr}
BuildRequires: %{python_module requests-mock}
BuildRequires: %{python_module requests-mock >= 1.4}
BuildRequires: %{python_module requests}
BuildRequires: %{python_module stestr}
BuildRequires: %{python_module stestr >= 2.0}
BuildRequires: %{python_module testscenarios}
BuildRequires: openssl-devel
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
BuildRequires: pkgconfig(krb5-gssapi)
Requires: python-multi_key_dict
Requires: python-requests
Requires: python-setuptools
Requires: python-six >= 1.3.0
Provides: python-jenkins = %{version}
Obsoletes: python-jenkins <= 0.4.12
Obsoletes: python-jenkins < %{version}
BuildArch: noarch
%python_subpackages
%description
This package provides Python bindings for the Jenkins Remote
API. It current supports management of:
API. It currently supports management of:
* Project configuration
* Build control
* Slave node configuration
@@ -60,7 +64,7 @@ API. It current supports management of:
%python_install
%check
%python_exec -m stestr.cli run
%python_exec -m stestr.cli run --black-regex 'test_get_view_jobs_raise_HTTPError'
%files %{python_files}
%license COPYING