From a145ffe986dc2cb51c7dbe975e4e71f8757550e6e03d4533fba1ea9a09060f92 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 2 Mar 2021 00:38:40 +0000 Subject: [PATCH] - update to 0.5.1 * no upstream changelog available OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx_rtd_theme?expand=0&rev=23 --- python-sphinx_rtd_theme.changes | 6 ++++++ python-sphinx_rtd_theme.spec | 12 ++++++++++-- sphinx_rtd_theme-0.4.3.tar.gz | 3 --- sphinx_rtd_theme-0.5.1.tar.gz | 3 +++ 4 files changed, 19 insertions(+), 5 deletions(-) delete mode 100644 sphinx_rtd_theme-0.4.3.tar.gz create mode 100644 sphinx_rtd_theme-0.5.1.tar.gz diff --git a/python-sphinx_rtd_theme.changes b/python-sphinx_rtd_theme.changes index 3f6de9e..465be2a 100644 --- a/python-sphinx_rtd_theme.changes +++ b/python-sphinx_rtd_theme.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Mar 2 00:35:37 UTC 2021 - Dirk Müller + +- update to 0.5.1 + * no upstream changelog available + ------------------------------------------------------------------- Thu Jun 6 15:45:23 UTC 2019 - Tomáš Chvátal diff --git a/python-sphinx_rtd_theme.spec b/python-sphinx_rtd_theme.spec index 722b8d0..3d5f1bf 100644 --- a/python-sphinx_rtd_theme.spec +++ b/python-sphinx_rtd_theme.spec @@ -1,7 +1,7 @@ # # spec file for package python-sphinx_rtd_theme # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,7 +26,7 @@ %bcond_with test %endif Name: python-sphinx_rtd_theme%{psuffix} -Version: 0.4.3 +Version: 0.5.1 Release: 0 Summary: ReadTheDocs.org theme for Sphinx License: MIT AND Apache-2.0 AND OFL-1.1 @@ -55,6 +55,14 @@ if you're just trying to use it on your project outside of that site. %setup -q -n sphinx_rtd_theme-%{version} dos2unix OFL-License.txt +# We cannot build the Javascript from source at this time, due to many missing +# dependencies. Convince the build script to skip building the Javascript and +# go on to the python. +mkdir -p build/lib/%{srcname}/static/js +cp -p sphinx_rtd_theme/static/js/badge_only.js build/lib/%{srcname}/static/js +cp -p sphinx_rtd_theme/static/js/theme.js build/lib/%{srcname}/static/js +sed -i "/'build_py'/d" setup.py + %build %python_build diff --git a/sphinx_rtd_theme-0.4.3.tar.gz b/sphinx_rtd_theme-0.4.3.tar.gz deleted file mode 100644 index 6935849..0000000 --- a/sphinx_rtd_theme-0.4.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:728607e34d60456d736cc7991fd236afb828b21b82f956c5ea75f94c8414040a -size 5391190 diff --git a/sphinx_rtd_theme-0.5.1.tar.gz b/sphinx_rtd_theme-0.5.1.tar.gz new file mode 100644 index 0000000..0b8bd91 --- /dev/null +++ b/sphinx_rtd_theme-0.5.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eda689eda0c7301a80cf122dad28b1861e5605cbf455558f3775e1e8200e83a5 +size 2774928