Accepting request 708109 from devel:languages:python
- Switch to multibuild to fix testing issues - Update to 1.1.2: * Fixes for sphinx 2.0 - Enable tests (failing for now) OBS-URL: https://build.opensuse.org/request/show/708109 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sphinxcontrib-websupport?expand=0&rev=8
This commit is contained in:
commit
ed4e924132
3
_multibuild
Normal file
3
_multibuild
Normal file
@ -0,0 +1,3 @@
|
||||
<multibuild>
|
||||
<package>test</package>
|
||||
</multibuild>
|
@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 6 10:48:40 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Switch to multibuild to fix testing issues
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 24 19:52:17 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 1.1.2:
|
||||
* Fixes for sphinx 2.0
|
||||
- Enable tests (failing for now)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 23 09:13:06 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
|
@ -17,14 +17,33 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-sphinxcontrib-websupport
|
||||
Version: 1.1.0
|
||||
%global flavor @BUILD_FLAVOR@%{nil}
|
||||
%if "%{flavor}" == "test"
|
||||
%define psuffix -test
|
||||
%bcond_without test
|
||||
%else
|
||||
%define psuffix %{nil}
|
||||
%bcond_with test
|
||||
%endif
|
||||
Name: python-sphinxcontrib-websupport%{psuffix}
|
||||
Version: 1.1.2
|
||||
Release: 0
|
||||
Summary: Sphinx API for Web Apps
|
||||
License: BSD-2-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: http://sphinx-doc.org/
|
||||
URL: https://github.com/sphinx-doc/sphinxcontrib-websupport
|
||||
Source: https://files.pythonhosted.org/packages/source/s/sphinxcontrib-websupport/sphinxcontrib-websupport-%{version}.tar.gz
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module Jinja2}
|
||||
BuildRequires: %{python_module SQLAlchemy}
|
||||
BuildRequires: %{python_module Sphinx}
|
||||
BuildRequires: %{python_module Whoosh}
|
||||
BuildRequires: %{python_module docutils}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: %{python_module sphinxcontrib-websupport >= %{version}}
|
||||
BuildRequires: %{python_module xapian}
|
||||
%endif
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@ -51,9 +70,17 @@ documentation into your Web application.
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%if !%{with test}
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%endif
|
||||
|
||||
%check
|
||||
%if %{with test}
|
||||
%pytest
|
||||
%endif
|
||||
|
||||
%if !%{with test}
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc CHANGES README.rst
|
||||
@ -61,5 +88,6 @@ documentation into your Web application.
|
||||
%{python_sitelib}/sphinxcontrib/websupport/
|
||||
%{python_sitelib}/sphinxcontrib_websupport-%{version}-py*-nspkg.pth
|
||||
%{python_sitelib}/sphinxcontrib_websupport-%{version}-py*.egg-info
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9de47f375baf1ea07cdb3436ff39d7a9c76042c10a769c52353ec46e4e8fc3b9
|
||||
size 587947
|
3
sphinxcontrib-websupport-1.1.2.tar.gz
Normal file
3
sphinxcontrib-websupport-1.1.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1501befb0fdf1d1c29a800fdbf4ef5dc5369377300ddbdd16d2cd40e54c6eefc
|
||||
size 599000
|
Loading…
Reference in New Issue
Block a user