# # spec file for package python-python-jenkins # # Copyright (c) 2021 SUSE LLC # Copyright (c) 2014 Thomas Bechtold # # 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.7.0 Release: 0 Summary: Python bindings for the remote Jenkins API License: BSD-3-Clause Group: Development/Languages/Python URL: https://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 >= 0.8.2} BuildRequires: %{python_module requests-mock >= 1.4} BuildRequires: %{python_module requests} 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 < %{version} BuildArch: noarch %python_subpackages %description This package provides Python bindings for the Jenkins Remote API. It currently supports management of: * Project configuration * Build control * Slave node configuration %prep %setup -q -n python-jenkins-%{version} %build %python_build %install %python_install %check %pyunittest tests/*.py %files %{python_files} %license COPYING %doc README.rst %{python_sitelib}/* %changelog