2012-03-21 19:32:06 +00:00
|
|
|
#
|
|
|
|
# spec file for package python-sphinxcontrib-issuetracker
|
|
|
|
#
|
2025-06-12 13:19:20 +00:00
|
|
|
# Copyright (c) 2025 SUSE LLC
|
2012-03-21 19:32:06 +00:00
|
|
|
#
|
|
|
|
# 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.
|
2013-06-17 12:54:11 +00:00
|
|
|
|
2018-12-04 14:06:30 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-03-21 19:32:06 +00:00
|
|
|
#
|
|
|
|
|
2013-06-17 12:54:11 +00:00
|
|
|
|
2017-09-11 11:16:36 +00:00
|
|
|
%bcond_with test
|
2012-03-21 19:32:06 +00:00
|
|
|
Name: python-sphinxcontrib-issuetracker
|
2013-06-25 12:20:16 +00:00
|
|
|
Version: 0.11
|
2012-03-21 19:32:06 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Sphinx integration with different issuetrackers
|
|
|
|
License: BSD-2-Clause
|
|
|
|
Group: Development/Languages/Python
|
2025-06-12 13:19:20 +00:00
|
|
|
URL: https://packages.python.org/sphinxcontrib-issuetracker
|
2017-09-11 11:16:36 +00:00
|
|
|
Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-%{version}.tar.gz
|
2018-12-07 21:05:44 +00:00
|
|
|
BuildRequires: %{python_module Sphinx >= 1.1}
|
2025-06-12 13:19:20 +00:00
|
|
|
BuildRequires: %{python_module pip}
|
2017-09-11 11:16:36 +00:00
|
|
|
BuildRequires: %{python_module setuptools}
|
2025-06-12 13:19:20 +00:00
|
|
|
BuildRequires: %{python_module wheel}
|
2017-09-11 11:16:36 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: python-rpm-macros
|
2018-12-04 17:23:30 +00:00
|
|
|
Requires: python-Sphinx >= 1.1
|
|
|
|
Requires: python-requests >= 1.1
|
|
|
|
BuildArch: noarch
|
2017-09-11 11:16:36 +00:00
|
|
|
%if %{with test}
|
|
|
|
BuildRequires: %{python_module pytest}
|
2017-09-19 08:50:58 +00:00
|
|
|
BuildRequires: %{python_module requests >= 1.1}
|
2017-09-11 11:16:36 +00:00
|
|
|
BuildRequires: python-mock
|
|
|
|
%endif
|
|
|
|
%python_subpackages
|
2012-03-21 19:32:06 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
A Sphinx extension to reference issues in issue trackers, either explicitly
|
|
|
|
with an "issue" role or optionally implicitly by issue ids like ``#10`` in
|
|
|
|
plaintext.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n sphinxcontrib-issuetracker-%{version}
|
|
|
|
|
|
|
|
%build
|
2025-06-12 13:19:20 +00:00
|
|
|
%pyproject_wheel
|
2012-03-21 19:32:06 +00:00
|
|
|
|
|
|
|
%install
|
2025-06-12 13:19:20 +00:00
|
|
|
%pyproject_install
|
2017-09-11 11:16:36 +00:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
2012-03-21 19:32:06 +00:00
|
|
|
|
2017-09-11 11:16:36 +00:00
|
|
|
%if %{with test}
|
2012-03-21 19:32:06 +00:00
|
|
|
%check
|
2017-09-11 11:16:36 +00:00
|
|
|
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
|
|
|
|
py.test-%{$python_bin_suffix}
|
|
|
|
}
|
|
|
|
%endif
|
2012-03-21 19:32:06 +00:00
|
|
|
|
2017-09-11 11:16:36 +00:00
|
|
|
%files %{python_files}
|
2018-12-04 17:23:30 +00:00
|
|
|
%license LICENSE
|
|
|
|
%doc CREDITS README.rst CHANGES.rst
|
2017-09-11 11:16:36 +00:00
|
|
|
%{python_sitelib}/sphinxcontrib/issuetracker/
|
|
|
|
%{python_sitelib}/sphinxcontrib_issuetracker-%{version}-py*-nspkg.pth
|
2025-06-12 13:19:20 +00:00
|
|
|
%{python_sitelib}/sphinxcontrib_issuetracker-%{version}*-info
|
2012-03-21 19:32:06 +00:00
|
|
|
|
|
|
|
%changelog
|