Accepting request 708169 from devel:languages:python
- Switch to mulitbuild to avoid buildcycle - Update to 0.4.3: * Fixes for new Sphinx - Enable tests OBS-URL: https://build.opensuse.org/request/show/708169 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sphinx_rtd_theme?expand=0&rev=10
This commit is contained in:
commit
20fa610b6f
3
_multibuild
Normal file
3
_multibuild
Normal file
@ -0,0 +1,3 @@
|
||||
<multibuild>
|
||||
<package>test</package>
|
||||
</multibuild>
|
@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 6 15:45:23 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Switch to mulitbuild to avoid buildcycle
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 24 19:55:19 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 0.4.3:
|
||||
* Fixes for new Sphinx
|
||||
- Enable tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 11 16:24:45 UTC 2018 - arun@gmx.de
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-sphinx_rtd_theme
|
||||
#
|
||||
# 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
|
||||
@ -12,13 +12,21 @@
|
||||
# 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/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-sphinx_rtd_theme
|
||||
Version: 0.4.1
|
||||
%global flavor @BUILD_FLAVOR@%{nil}
|
||||
%if "%{flavor}" == "test"
|
||||
%define psuffix -test
|
||||
%bcond_without test
|
||||
%else
|
||||
%define psuffix %{nil}
|
||||
%bcond_with test
|
||||
%endif
|
||||
Name: python-sphinx_rtd_theme%{psuffix}
|
||||
Version: 0.4.3
|
||||
Release: 0
|
||||
Summary: ReadTheDocs.org theme for Sphinx
|
||||
License: MIT AND Apache-2.0 AND OFL-1.1
|
||||
@ -26,10 +34,16 @@ Group: Development/Languages/Python
|
||||
URL: https://github.com/snide/sphinx_rtd_theme/
|
||||
Source: https://files.pythonhosted.org/packages/source/s/sphinx_rtd_theme/sphinx_rtd_theme-%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-Sphinx
|
||||
BuildArch: noarch
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module Sphinx}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module readthedocs-sphinx-ext}
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@ -39,18 +53,27 @@ if you're just trying to use it on your project outside of that site.
|
||||
|
||||
%prep
|
||||
%setup -q -n sphinx_rtd_theme-%{version}
|
||||
sed -i 's/\r$//' OFL-License.txt
|
||||
dos2unix OFL-License.txt
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%if !%{with test}
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%endif
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
%pytest
|
||||
%endif
|
||||
|
||||
%if !%{with test}
|
||||
%files %{python_files}
|
||||
%license LICENSE OFL-License.txt Apache-License-2.0.txt
|
||||
%doc README.rst
|
||||
%{python_sitelib}/sphinx_rtd_theme*
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3b49758a64f8a1ebd8a33cb6cc9093c3935a908b716edfaa5772fd86aac27ef6
|
||||
size 5388144
|
3
sphinx_rtd_theme-0.4.3.tar.gz
Normal file
3
sphinx_rtd_theme-0.4.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:728607e34d60456d736cc7991fd236afb828b21b82f956c5ea75f94c8414040a
|
||||
size 5391190
|
Loading…
Reference in New Issue
Block a user