14
0
Files
python-python-jenkins/python-python-jenkins.spec
Thomas Bechtold 3a8b908e94 - update to 1.4.0:
* Update min tox version to 2.0
  * Request multiple folder levels at once in get\_all\_jobs
  * Replace build\_jobs\_list\_responses with actual Jenkins responses
  * Clean up job/folder path handling
  * Test requested URLs in test\_getall
  * Make jjb-tox-cross-jenkins-job-builder voting
  * Allow adding extra HTTP headers to Jenkins requests

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-jenkins?expand=0&rev=20
2018-12-11 15:09:12 +00:00

71 lines
2.2 KiB
RPMSpec

#
# spec file for package python-python-jenkins
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2014 Thomas Bechtold <thomasbechtold@jpberlin.de>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-python-jenkins
Version: 1.4.0
Release: 0
Summary: Python bindings for the remote Jenkins API
License: BSD-3-Clause
Group: Development/Languages/Python
URL: http://launchpad.net/python-jenkins
Source: https://files.pythonhosted.org/packages/source/p/python-jenkins/python-jenkins-%{version}.tar.gz
BuildRequires: %{python_module mock}
BuildRequires: %{python_module multi_key_dict}
BuildRequires: %{python_module pbr}
BuildRequires: %{python_module requests-mock}
BuildRequires: %{python_module requests}
BuildRequires: %{python_module stestr}
BuildRequires: %{python_module testscenarios}
BuildRequires: python-rpm-macros
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
BuildArch: noarch
%python_subpackages
%description
This package provides Python bindings for the Jenkins Remote
API. It current supports management of:
* Project configuration
* Build control
* Slave node configuration
%prep
%setup -q -n python-jenkins-%{version}
%build
%python_build
%install
%python_install
%check
%python_exec -m stestr.cli run
%files %{python_files}
%license COPYING
%doc README.rst
%{python_sitelib}/*
%changelog