14
0
Files
python-python-jenkins/python-python-jenkins.spec
Thomas Bechtold 25a1bd43f1 update to version 0.4.14
* get_running_builds failed when server has a path
  * Move other-requirements.txt to bindep.txt
  * Add optional kerberos support
  * Allow to wait for jenkins to enter normal operation
  * Remove discover from test-requirements
  * Fixed a minor typo in example of Python-jenkins
  * Fix relative import in kerberos support for python3
  * Changes get_job_info to get_build_info
  * url-proof scripts passed to run_script
  * Do not force DeprecationWarning to be displayed
  * Add support for handling promotions
  * Use standard cover setup
  * Adds possibility to retrieve all jobs from the view specified
  * Setup required packages with bindep
  * Make the kerberos support python3 ready
  * remove cap on pbr
  * Fetch all builds from a job
  * Remove redundant 'the'
  * add get_whoami()
- Use pypi.io as Source url

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-jenkins?expand=0&rev=6
2017-04-28 10:44:49 +00:00

64 lines
2.1 KiB
RPMSpec

#
# spec file for package python-python-jenkins
#
# Copyright (c) 2017 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/
#
Name: python-python-jenkins
Version: 0.4.14
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://pypi.io/packages/source/p/python-jenkins/python-jenkins-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-pbr
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch
%endif
Requires: python-multi_key_dict
Requires: python-setuptools
Requires: python-six >= 1.3.0
Provides: python-jenkins = %{version}
Obsoletes: python-jenkins <= 0.4.12
%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 setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%files
%defattr(-,root,root,-)
%doc COPYING README.rst
%{python_sitelib}/*
%changelog