14
0

Accepting request 1171476 from devel:languages:python

- 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/request/show/1171476
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-sphinx_press_theme?expand=0&rev=3
This commit is contained in:
2024-05-03 17:45:39 +00:00
committed by Git OBS Bridge
5 changed files with 23 additions and 100 deletions

89
LICENSE
View File

@@ -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.

View File

@@ -1,7 +1,18 @@
-------------------------------------------------------------------
Thu May 2 22:41:54 UTC 2024 - Dirk Müller <dmueller@suse.com>
- 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 <yarunachalam@suse.com>
- 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

View File

@@ -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

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2884caab1dc01ecb11d158d4dd6d3179e2dd97cd48516c769cc27360272e62b3
size 68878

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1643dee7365f7831d1d3971b389b7c255641a7aced75f0681f71574e380046cf
size 254696