* Cleanup after release problems - update to 3.10.4: * fix: add write permission for contents in release.yml (#2359) - update to 3.10.3: * fix: update environment name for PyPI publishing in release.yml - update to 3.10.2: * fix: remove unused password input from PyPI publish action in release (#2357) @studioj - update to 3.10.1: * fix: fixes #2346 fields input argument for search should not change behaviour (#2347) @studioj - update to 3.10.0: * Bump codecov/codecov-action from 4 to 5 * Add enhanced_search_issues API for Jira Cloud using new search/jql endpoint * Fix docstring for Issue_delete() method * Bump coactions/dynamic-matrix from 3 to 4 * Add missing pip test dependency * Remove support for python 3.9 * Update linters * GHA Maintenance * Don't add empty json from default dictionary to GET payloads to avoid 403 from jira API. * Fix docs for `myself` * Handle when jira is behind a proxy * Expand comments method to include all available API options * Allow users to search issues without retrieving fields * Logging=False is not honored in _create_oauth_session #1777 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jira?expand=0&rev=31
97 lines
2.8 KiB
RPMSpec
97 lines
2.8 KiB
RPMSpec
#
|
|
# spec file for package python-jira
|
|
#
|
|
# Copyright (c) 2025 SUSE LLC and contributors
|
|
#
|
|
# 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/
|
|
#
|
|
|
|
|
|
%if 0%{?suse_version} > 1500
|
|
%bcond_without libalternatives
|
|
%else
|
|
%bcond_with libalternatives
|
|
%endif
|
|
%{?sle15_python_module_pythons}
|
|
Name: python-jira
|
|
Version: 3.10.5
|
|
Release: 0
|
|
Summary: Python library for interacting with JIRA via REST APIs
|
|
License: BSD-3-Clause
|
|
URL: https://github.com/pycontribs/jira
|
|
Source: https://files.pythonhosted.org/packages/source/j/jira/jira-%{version}.tar.gz
|
|
BuildRequires: %{python_module Sphinx}
|
|
BuildRequires: %{python_module pbr >= 3.0.0}
|
|
BuildRequires: %{python_module pip}
|
|
BuildRequires: %{python_module pytest-cov}
|
|
BuildRequires: %{python_module pytest}
|
|
BuildRequires: %{python_module setuptools_scm}
|
|
BuildRequires: %{python_module wheel}
|
|
BuildRequires: fdupes
|
|
BuildRequires: python-rpm-macros
|
|
Requires: python-Pillow >= 2.1.0
|
|
Requires: python-defusedxml
|
|
Requires: python-keyring
|
|
Requires: python-oauthlib
|
|
Requires: python-packaging
|
|
Requires: python-requests >= 2.10.0
|
|
Requires: python-requests-oauthlib >= 0.6.1
|
|
Requires: python-requests-toolbelt
|
|
Requires: python-typing_extensions >= 3.7.4.2
|
|
%if %{with libalternatives}
|
|
Requires: alts
|
|
BuildRequires: alts
|
|
%else
|
|
Requires(post): update-alternatives
|
|
Requires(postun): update-alternatives
|
|
%endif
|
|
BuildArch: noarch
|
|
%python_subpackages
|
|
|
|
%description
|
|
This library eases the use of the JIRA REST API from Python.
|
|
|
|
%pre
|
|
%python_libalternatives_reset_alternative jirashell
|
|
|
|
%prep
|
|
%setup -q -n jira-%{version}
|
|
|
|
%build
|
|
export LANG=en_US.UTF-8
|
|
%pyproject_wheel
|
|
|
|
%install
|
|
export LANG=en_US.UTF-8
|
|
%pyproject_install
|
|
%python_clone -a %{buildroot}%{_bindir}/jirashell
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
%check
|
|
# Right, no test suite running, because the package tests against the
|
|
# real instance of Jira. gh#pycontribs/jira#1262
|
|
|
|
%post
|
|
%python_install_alternative jirashell
|
|
|
|
%postun
|
|
%python_uninstall_alternative jirashell
|
|
|
|
%files %{python_files}
|
|
%doc AUTHORS.rst README.rst
|
|
%license LICENSE
|
|
%python_alternative %{_bindir}/jirashell
|
|
%{python_sitelib}/jira
|
|
%{python_sitelib}/jira-%{version}*info
|
|
|
|
%changelog
|