14
0

Accepting request 698233 from home:mcalabkova:branches:devel:languages:python

- update to version 1.2.0
  1.?.?
  * Add :commit: role for linking to commits.
  * Add support for linking to external repos.
  * Add :cve: role for linking to CVEs on https://cve.mitre.org.
  * Add :pr: role. 
  * Drop support for Python 3.4.
  0.4.0
  * Raise ValueError if neither issues_uri nor issues_github_path 
    is set.
  * Drop support for Python 2.6 and 3.3.
- take GitHub tarball because of the tests

OBS-URL: https://build.opensuse.org/request/show/698233
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-issues?expand=0&rev=7
This commit is contained in:
Tomáš Chvátal
2019-04-27 08:20:02 +00:00
committed by Git OBS Bridge
parent 86306ac4a2
commit 469fb6eb2f
4 changed files with 32 additions and 13 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-sphinx-issues
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,22 +20,23 @@
%{!?license: %global license %doc}
%bcond_without test
Name: python-sphinx-issues
Version: 0.3.1
Version: 1.2.0
Release: 0
Summary: A Sphinx extension for linking to a project's issue tracker
License: MIT
Group: Development/Languages/Python
Url: https://github.com/sloria/sphinx-issues
Source: https://files.pythonhosted.org/packages/source/s/sphinx-issues/sphinx-issues-%{version}.tar.gz
URL: https://github.com/sloria/sphinx-issues
Source: https://github.com/sloria/sphinx-issues/archive/%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
%if %{with test}
BuildRequires: %{python_module Sphinx}
%endif
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Sphinx
BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module Sphinx}
BuildRequires: %{python_module pytest}
BuildRequires: python-mock
%endif
%python_subpackages
%description
@@ -53,8 +54,10 @@ built-in support for GitHub (though this works with other services).
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest test_sphinx_issues.py
%files %{python_files}
%defattr(-,root,root,-)
%doc README.rst
%license LICENSE
%{python_sitelib}/*