forked from pool/python-sphinxcontrib-issuetracker
Accepting request 522098 from devel:languages:python:singlespec-staging
- singlespec auto-conversion - Require python-setuptools instead of distribute (upstreams merged) - Drop old tarball (sphinxcontrib-issuetracker-0.10.1.tar.gz) - update to 0.11: - Send proper user agent in API requests - #4: Respect Github rate limits - #5: Fix compatibility with requests 1.0 - Initial python3 support - Update to version 0.10.1: * Fix README rendering on PyPI * #1: Fix test failure on Python 3 - Update to version 0.10: * Extension now hosted at https://github.com/lunaryorn/sphinxcontrib-issuetracker * Use requests library for HTTP requests * Consider launchpad issues closed only if all referenced tasks are completed * Support Python 3 (with exception of ``launchpad`` and ``debianbts`` trackers) - Initial version OBS-URL: https://build.opensuse.org/request/show/522098 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinxcontrib-issuetracker?expand=0&rev=14
This commit is contained in:
committed by
Git OBS Bridge
parent
c5d52d0fa1
commit
c4911edf2b
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 24 13:55:18 UTC 2017 - jmatejek@suse.com
|
||||
|
||||
- singlespec auto-conversion
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 24 11:15:01 UTC 2013 - speilicke@suse.com
|
||||
|
||||
@@ -38,3 +43,4 @@ Wed Mar 21 19:28:41 UTC 2012 - saschpe@gmx.de
|
||||
|
||||
- Initial version
|
||||
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-sphinxcontrib-issuetracker
|
||||
#
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# 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
|
||||
@@ -16,26 +16,30 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_with test
|
||||
Name: python-sphinxcontrib-issuetracker
|
||||
Version: 0.11
|
||||
Release: 0
|
||||
Url: http://packages.python.org/sphinxcontrib-issuetracker
|
||||
Summary: Sphinx integration with different issuetrackers
|
||||
License: BSD-2-Clause
|
||||
Group: Development/Languages/Python
|
||||
Source: http://pypi.python.org/packages/source/s/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-Sphinx
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-requests
|
||||
BuildRequires: python-setuptools
|
||||
Url: http://packages.python.org/sphinxcontrib-issuetracker
|
||||
Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-issuetracker/sphinxcontrib-issuetracker-%{version}.tar.gz
|
||||
BuildRequires: %{python_module Sphinx}
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module requests}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: python-mock
|
||||
%endif
|
||||
Requires: python-Sphinx >= 1.1
|
||||
Requires: python-requests >= 1.1
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%else
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
A Sphinx extension to reference issues in issue trackers, either explicitly
|
||||
@@ -46,18 +50,25 @@ plaintext.
|
||||
%setup -q -n sphinxcontrib-issuetracker-%{version}
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
#cd doc && make html && rm -r _build/html/.buildinfo # Build HTML documentation
|
||||
%python_build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
python setup.py test
|
||||
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
|
||||
py.test-%{$python_bin_suffix}
|
||||
}
|
||||
%endif
|
||||
|
||||
%files
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc CREDITS LICENSE README.rst CHANGES.rst
|
||||
%{python_sitelib}/*
|
||||
%dir %{python_sitelib}/sphinxcontrib/
|
||||
%{python_sitelib}/sphinxcontrib/issuetracker/
|
||||
%{python_sitelib}/sphinxcontrib_issuetracker-%{version}-py*-nspkg.pth
|
||||
%{python_sitelib}/sphinxcontrib_issuetracker-%{version}-py*.egg-info
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user