From fcd285053445e5986cad4ab2fb2a80ee7c7677c56deb1d8b9c977fe98028a8b0 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 2 May 2024 22:42:51 +0000 Subject: [PATCH] - update to 0.9.1: * Add dark mode feature from Mister-Hope's vuepress PR * Fix Sphinx 7 compatibility * Add Sphinx 7 compatibility * Update UI - use license from tarball - use PEP517 build - Update to version 0.8.0 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx_press_theme?expand=0&rev=5 --- LICENSE | 89 ------------------------------- python-sphinx_press_theme.changes | 13 ++++- python-sphinx_press_theme.spec | 15 +++--- sphinx_press_theme-0.8.0.tar.gz | 3 -- sphinx_press_theme-0.9.1.tar.gz | 3 ++ 5 files changed, 23 insertions(+), 100 deletions(-) delete mode 100644 LICENSE delete mode 100644 sphinx_press_theme-0.8.0.tar.gz create mode 100644 sphinx_press_theme-0.9.1.tar.gz diff --git a/LICENSE b/LICENSE deleted file mode 100644 index f822564..0000000 --- a/LICENSE +++ /dev/null @@ -1,89 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2020-present, Eduardo Naufel Schettino and other contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----- - -The remainder of this file reproduces the open source licensing details of other projects -that have been imported, incorporated into, or derived into parts of sphinx_press_theme. - -In no particular order: - ----- - -vuepress, courtesy of Yuxi (Evan) You -https://github.com/vuejs/vuepress - -Copyright (c) 2018-present, Yuxi (Evan) You - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. - ----- - -License for Sphinx -================== - -Copyright (c) 2007-2021 by the Sphinx team (see AUTHORS file). -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are -met: - -* Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - ----- - -If we have left anything out, it is unintentional. Please let us know. \ No newline at end of file diff --git a/python-sphinx_press_theme.changes b/python-sphinx_press_theme.changes index 074b5b6..8c4d22b 100644 --- a/python-sphinx_press_theme.changes +++ b/python-sphinx_press_theme.changes @@ -1,7 +1,18 @@ +------------------------------------------------------------------- +Thu May 2 22:41:54 UTC 2024 - Dirk Müller + +- update to 0.9.1: + * Add dark mode feature from Mister-Hope's vuepress PR + * Fix Sphinx 7 compatibility + * Add Sphinx 7 compatibility + * Update UI +- use license from tarball +- use PEP517 build + ------------------------------------------------------------------- Fri Oct 7 16:24:44 UTC 2022 - Yogalakshmi Arunachalam -- Update to version 0.8.0 +- Update to version 0.8.0 * GH-59 Fix external links on sidetoc * GH-60 Include LICENSE and CHANGES in dist package diff --git a/python-sphinx_press_theme.spec b/python-sphinx_press_theme.spec index b6384e1..45614b2 100644 --- a/python-sphinx_press_theme.spec +++ b/python-sphinx_press_theme.spec @@ -1,7 +1,7 @@ # # spec file for package python-sphinx_press_theme # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2024 SUSE LLC # Copyright (c) 2021 LISA GmbH, Bingen, Germany. # # All modifications and additions to the file contributed by third parties @@ -19,15 +19,16 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-sphinx_press_theme -Version: 0.8.0 +Version: 0.9.1 Release: 0 Summary: A Sphinx-doc theme based on Vuepress License: MIT URL: https://schettino72.github.io/sphinx_press_site/ Source: https://files.pythonhosted.org/packages/source/s/sphinx_press_theme/sphinx_press_theme-%{version}.tar.gz -Source100: LICENSE BuildRequires: %{python_module Sphinx >= 4.0.0} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: python-rpm-macros Requires: python-Sphinx >= 4.0.0 BuildArch: noarch @@ -40,17 +41,17 @@ This theme is based on VuePress. It uses Vue.js & Stylus managed by vite. %prep %setup -q -n sphinx_press_theme-%{version} -cp %{SOURCE100} . %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %files %{python_files} %license LICENSE %doc README.md -%{python_sitelib}/* +%{python_sitelib}/sphinx_press_theme +%{python_sitelib}/sphinx_press_theme-%{version}.dist-info %changelog diff --git a/sphinx_press_theme-0.8.0.tar.gz b/sphinx_press_theme-0.8.0.tar.gz deleted file mode 100644 index c440a4e..0000000 --- a/sphinx_press_theme-0.8.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2884caab1dc01ecb11d158d4dd6d3179e2dd97cd48516c769cc27360272e62b3 -size 68878 diff --git a/sphinx_press_theme-0.9.1.tar.gz b/sphinx_press_theme-0.9.1.tar.gz new file mode 100644 index 0000000..2553d20 --- /dev/null +++ b/sphinx_press_theme-0.9.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1643dee7365f7831d1d3971b389b7c255641a7aced75f0681f71574e380046cf +size 254696