python-jenkinsapi/python-jenkinsapi.spec
Thomas Bechtold 049f85dbef - update to 0.3.8:
* Fixed typos noticed when reading the file. (#680)
  * Support keyworded variables for requester, fixes #679 (#682)
  * re-encrypt password
  * change password again
  * Plugin delete (#674)
  * disable pyling check of unnecessary-pass
  * Updated pypi password
  * set travis to release on tag
  * Add future improvement line
  * add dependency plugin: trilead-api
  * Removed unused files
  * add try except for func create (#675)
  * Removed unused file
  * Skip test on release stage
  * Add method to update offline reason for a node. (#613)
  * Support SSH credential update (#619)
  * add ability to keep build forever (#672)
  * Handle changesets returned by Jenkins job that use Pipeline (#654)
  * Change pylint command line (#671)
  * update README dev guide (#667)
  * Fix a lot of warnings (#662)
  * Remove ssh credentials no longer supported by ssh credentials plugin (#657)
  * Update link to travis
  * Expanded test coverage for view.py (#646)
  * Python 3.6 and 3.7 support (#641)
  * changed requirements to support 3.6 and immediate testing
  * Changing to  \*args and \*\*kwargs in requester init. Fixing TypeError bug (#640)
  * Retrieve git repo url for a given build (#634)
  * Get Build url for a given build object (#635)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jenkinsapi?expand=0&rev=9
2019-02-05 05:14:55 +00:00

89 lines
3.1 KiB
RPMSpec

#
# spec file for package python-jenkinsapi
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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-jenkinsapi
Version: 0.3.8
Release: 0
Summary: A Python API for accessing resources on a Jenkins continuous-integration server
License: MIT
Group: Development/Languages/Python
Url: https://github.com/salimfadhley/jenkinsapi
Source: https://pypi.io/packages/source/j/jenkinsapi/jenkinsapi-%{version}.tar.gz
BuildRequires: %{python_module pbr}
BuildRequires: %{python_module pytz}
BuildRequires: %{python_module requests}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pytz >= 2014.4
Requires: python-requests >= 2.3.0
BuildArch: noarch
%python_subpackages
%description
Jenkins is the market leading continuous integration system, originally created
by Kohsuke Kawaguchi.
Jenkins (and It's predecessor Hudson) are useful projects for automating common
development tasks (e.g. unit-testing, production batches) - but they are
somewhat Java-centric. Thankfully the designers have provided an excellent and
complete REST interface. This library wraps up that interface as more
conventional python objects in order to make many Jenkins oriented tasks
easier to automate.
This library can help you:
* Query the test-results of a completed build
* Get a objects representing the latest builds of a job
* Search for artefacts by simple criteria
* Block until jobs are complete
* Install artefacts to custom-specified directory structures
* username/password auth support for jenkins instances with auth turned on
* Ability to search for builds by subversion revision
* Ability to add/remove/query Jenkins slaves
* Ability to add/remove/modify Jenkins views
%prep
%setup -q -n jenkinsapi-%{version}
%build
%python_build
%install
%python_install
%python_clone -a %{buildroot}%{_bindir}/jenkins_invoke
%python_clone -a %{buildroot}%{_bindir}/jenkinsapi_version
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%post
%{python_install_alternative jenkins_invoke jenkinsapi_version}
%postun
%python_uninstall_alternative jenkins_invoke
%files %{python_files}
%defattr(-,root,root,-)
%doc README.rst
%license license.txt
%python_alternative %{_bindir}/jenkins_invoke
%python_alternative %{_bindir}/jenkinsapi_version
%{python_sitelib}/*
%changelog