14
0
Files
python-python-jenkins/python-python-jenkins.spec
Dirk Mueller 064f8453b0 - update to 1.2.1:
* Revert "detect and respect http redirects"
  * Revert "Avoid empty body failure on HEAD requests"
  * Avoid empty body failure on HEAD requests
  * Fix item being ignored in get\_info
  * detect and respect http redirects
  * Fix run\_script method
  * Adopt use of pre-commit hooks
  * Adds support for executing Groovy scripts on jenkins nodes
  * Allow use of unicode job names
  * Added pypy-dev to bindep.txt
  * Fix run\_scripts() API
  * fix tox python3 overrides
  * Selectively mock requests\_kerberos import
  * Ensure timeout exceptions are re-raised during auth attempts
  * Revert "Do not require requests-kerberos for tests"
  * Freeze cmd2 library on python2
  * Update URLS that require depth or tree filters
  * README: mention #openstack-jjb channel
  * Do not require requests-kerberos for tests
  * Fix: send proxy as empty dict
  * Add functions to retrieve more data from Jenkins
  * Update to \_response\_handler
  * Trivial: Update pypi url to new url
  * add get\_queue\_item() method
  * build\_job: return queue item identifier
  * add jenkins\_request() method
  * Use proper code highlight in docs
  * Fix docstrings params
  * Adds support for wiping out a job's workspace

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-jenkins?expand=0&rev=12
2018-09-04 17:58:39 +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 http://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-python-jenkins
Version: 1.2.1
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