1
0
python-sphinx-issues/python-sphinx-issues.spec
Markéta Machová 8695607955 Accepting request 971078 from home:pgajdos:python
- version update to 3.0.1
  3.0.1 (2022-01-11)
  * Fix regression from 3.0.0: exception: 'in <string>' requires string as left operand, not type.
  3.0.0 (2022-01-10)
  * The :commit: role now outputs with an @ prefix.
  * Add configuration options for changing prefixes.
  * Allow {group} to be specified within issues_uri, issues_pr_uri, issues_commit_uri, and
  2.0.0 (2022-01-01)
  * Drop support for Python 2.7 and 3.5.
  * Test against Python 3.8 to 3.10.
  * Add :cwe: role for linking to CVEs on https://cwe.mitre.org. Thanks @hugovk for the PR.
  * Add support for custom urls and separators Issue #93
  * Allow custom titles for all roles Issue #116
  * Added setting issues_default_group_project as future replacement of issues_github_path,
     to reflect the now to universal nature of the extension

OBS-URL: https://build.opensuse.org/request/show/971078
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-issues?expand=0&rev=13
2022-04-21 08:12:13 +00:00

64 lines
1.8 KiB
RPMSpec

#
# spec file for package python-sphinx-issues
#
# Copyright (c) 2022 SUSE LLC
#
# 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-%{**}}
%bcond_without python2
Name: python-sphinx-issues
Version: 3.0.1
Release: 0
Summary: A Sphinx extension for linking to a project's issue tracker
License: MIT
URL: https://github.com/sloria/sphinx-issues
Source: https://github.com/sloria/sphinx-issues/archive/%{version}.tar.gz
BuildRequires: %{python_module Sphinx}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Sphinx
BuildArch: noarch
%if %{with python2}
BuildRequires: python-mock
%endif
%python_subpackages
%description
A Sphinx extension for linking to a project's issue tracker. It
includes roles for linking to issues as well as user profiles, with
built-in support for GitHub (though this works with other services).
%prep
%setup -q -n sphinx-issues-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/*
%changelog