代码拉取完成,页面将自动刷新
Name: python-jenkins
Version: 1.8.2
Release: 1
Summary: Python bindings for the remote Jenkins API
License: BSD-3-Clause
URL: http://git.openstack.org/cgit/openstack/python-jenkins
Source0: https://files.pythonhosted.org/packages/45/ac/2bc1d844609302f7f907594961ffba7d6edd5848705f958683a9c2d87901/python-jenkins-1.8.2.tar.gz
Patch1: 0001-Remove-time_limit-and-testcase-with-no-module-multip.patch
BuildRequires: python3-sphinx
BuildRequires: make
BuildArch: noarch
%description
Python Jenkins is a library for the remote API of the Jenkins continuous
integration server. It is useful for creating and managing jobs as well as
build nodes.
%package -n python3-jenkins
Summary: %{summary}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pbr
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-hatchling
BuildRequires: python3-kerberos
BuildRequires: python3-mock
BuildRequires: python3-multi_key_dict
BuildRequires: python3-pbr >= 0.8.2
BuildRequires: python3-requests
BuildRequires: python3-requests-mock
BuildRequires: python3-setuptools
BuildRequires: python3-six >= 1.3.0
BuildRequires: python3-testscenarios
BuildRequires: python3-testtools
BuildRequires: python3-eventlet
%{?python_provide:%python_provide python3-jenkins}
%if %{undefined __pythondist_requires}
Requires: python3-multi_key_dict
Requires: python3-pbr >= 0.8.2
Requires: python3-requests
Requires: python3-six >= 1.3.0
%endif
Recommends: python3-kerberos
%description -n python3-jenkins
Python Jenkins is a library for the remote API of the Jenkins continuous
integration server. It is useful for creating and managing jobs as well as
build nodes.
%prep
%autosetup -p1 -n %{name}-%{version}
# Remove env from __init__.py
sed -i '1{s|^#!/usr/bin/env python||}' jenkins/__init__.py
%build
export PBR_VERSION=%{version}
%pyproject_build
PYTHONDONTWRITEBYTECODE=1 \
PYTHONPATH=$PWD \
%make_build -C doc html man
rm doc/build/html/.buildinfo
%install
export PBR_VERSION=%{version}
%pyproject_install
install -D -m0644 -p doc/build/man/pythonjenkins.1 %{buildroot}%{_mandir}/man1/pythonjenkins.1
%check
%{__python3} -m testtools.run discover tests
%files -n python3-jenkins
%doc README.rst doc/build/html
%license COPYING
%{python3_sitelib}/jenkins/
%{python3_sitelib}/python_jenkins-*.dist-info/
%{_mandir}/man1/pythonjenkins.1.*
%changelog
* Tue Jul 22 2025 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 1.8.2-1
- Update package to version 1.8.2 and fix build error
* Wed Aug 23 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 1.8.0-1
- Update package to version 1.8.0
* Tue Jun 28 2022 wangkai <wangkai385@h-partners.com> -1.7.0-3
- Remove buildrequires python-nose
* Fri Aug 20 2021 Pengju Jiang <jiangpengju2@huawei.com> - 1.7.0-2
- bugfix_function_loss.patch
* Tue Jul 27 2021 Python_Bot <Python_Bot@openeuler.org> - 1.7.0-1
- Package Spec generated
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。