14
0

Accepting request 517992 from home:sebix:branches:devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/517992
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-issues?expand=0&rev=1
This commit is contained in:
Thomas Bechtold
2017-08-22 04:40:00 +00:00
committed by Git OBS Bridge
commit 6969d271dd
5 changed files with 91 additions and 0 deletions

60
python-sphinx-issues.spec Normal file
View File

@@ -0,0 +1,60 @@
#
# spec file for package python-sphinx-issues
#
# Copyright (c) 2017 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
# 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 http://bugs.opensuse.org/
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{!?license: %global license %doc}
%bcond_without test
Name: python-sphinx-issues
Version: 0.3.1
Release: 0
License: MIT
Summary: A Sphinx extension for linking to your project's issue tracker
Url: https://github.com/sloria/sphinx-issues
Group: Development/Languages/Python
Source: https://files.pythonhosted.org/packages/source/s/sphinx-issues/sphinx-issues-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
%if %{with test}
BuildRequires: %{python_module Sphinx}
%endif
BuildRequires: fdupes
Requires: python-Sphinx
BuildArch: noarch
%python_subpackages
%description
A Sphinx extension for linking to your project's issue tracker. Includes roles for linking to both issues and 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}
%files %{python_files}
%defattr(-,root,root,-)
%doc README.rst
%license LICENSE
%{python_sitelib}/*
%changelog