Accepting request 1000953 from home:eroca:python

Update to version 1.3.1 (2022-07-19)

Update fontawesome unbundling section in spec file

OBS-URL: https://build.opensuse.org/request/show/1000953
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mkdocs?expand=0&rev=5
This commit is contained in:
2022-09-04 08:28:11 +00:00
committed by Git OBS Bridge
parent 427ea86733
commit 4abe198324
4 changed files with 85 additions and 14 deletions

View File

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

3
mkdocs-1.3.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5718b945667300ca6c0cfe9b3e6d4906021c154415fd5304ecef67327ada4cec
size 4088396

View File

@@ -1,3 +1,74 @@
-------------------------------------------------------------------
Mon Aug 29 15:14:50 UTC 2022 - Elisei Roca <eroca@mailbox.org>
- Update to version 1.3.1 (2022-07-19)
* Release 1.3.1 (#2895)
* Requirements: pin Markdown version to <3.4 (#2893)
* When a Markdown extension fails to load, print its name and traceback (#2894)
* Italian translation for mkdocs and readthedocs themes (#2860)
* Docs: `site_url` is optional (#2863)
* Check only for uppercase README.md file (#2852)
* Clean up code style (#2825)
* Fix typo in configuration.md (#2844)
* Added an extra space to the readthedocs theme breadcrumbs (#2810)
- update fontawesome unbundling section in spec file
-------------------------------------------------------------------
Sun Jun 12 20:09:59 UTC 2022 - Elisei Roca <eroca@mailbox.org>
- update to version 1.3.0 (2022-03-26)
* Release 1.3.0 (#2806)
* Revert to disregarding the mount path for /livereload/ endpoint (#2804)
* Ensure that the `edit_uri` option does not modify the `repo_url` (#2733)
* Revert "SubConfig now catches failures and warnings (#2710)"
* Prevent XSS searching in builtin themes (#2791)
* SubConfig now catches failures and warnings (#2710)
* Add Persian (fa) translation to the default themes (#2787)
* Make Jinja2 errors and OSErrors produce a clearer message (#2801)
* Add --no-history option to not push parent history for gh_deploy (#2594)
* Bump importlib_metadata to at least 4.3 to support Python 3.10 (#2802)
* dev-guide: document page.file (#2763)
* add GitHub URL for PyPi (#2785)
* Compatibility with Jinja2 3.1.0 (#2800)
* Fix documentation error in Developing Themes (#2781)
* Pin MarkupSafe to <= 2.0.1 to support Jinja2 in minimum requirements (#2778)
* Docs: fix relative link (#2756)
* Fix PyPy version in MacOS CI workflow (#2755)
* Fix imports to get tests passing (#2751)
* Don't inject javascript poll script if livereload is disabled (#2742)
* Move livereload endpoint under the mount path (#2740)
* Don't define __ne__ methods, they're implicit since Py3 (#2735)
* Declare support for Python 3.10 (#2617)
* Don't import unused commands (#2714)
* Reuse Jinja2 `tojson` builtin filter (#2713)
* Drop needless assert from `FilesystemObject` config option (#2712)
* Update ja translation for readthedocs theme (#2708)
* Update brazilian portuguese translation for readthedocs Theme (#2705)
* Update readthedocs theme French translation (#2699)
* Update Spanish translation for Readthedocs theme (#2698)
* Allow CI to run when pushing to a branch (#2439)
* Turn the deprecated 'pages' config into an error on use (#2652)
* Recursively validate `Nav` config option types (#2680)
* Provide german locale file for readthedocs theme (#2633)
* zh_CN: Update the translation of readthedocs (#2673)
* Support custom directories to watch when running mkdocs serve (#2642)
* Upgrade readthedocs theme to v1.0.0 (#2585)
* Remove duplicated sentences in docs/deploying (#2667)
* Add latest members of MkDocs maintenance team (#2661)
* Fix typo (#2663)
* Fix typo `mkdocs-theme.yml` (`mkdocs_theme.yml`) (#2654)
* Modernize usages of assertRaises in tests (#2653)
* Remove line length limit from Markdown documents (#2626)
* Fix mistake in docs about nav configuration (#2636)
* Update codebase to Python >= 3.6 (#2612)
* Rewrite `test_build_page_empty` test (#2613)
* Refactor `Nav` config option (#2622)
- changes in version 1.2.4 (2022-03-26)
* Release 1.2.4 (#2805)
* Compatibility with Jinja2 3.1.0 (#2800)
-------------------------------------------------------------------
Thu Nov 17 20:32:38 UTC 2021 - Elisei Roca <eroca@mailbox.org>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-mkdocs
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-mkdocs
Version: 1.2.3
Version: 1.3.1
Release: 0
Summary: Project documentation with Markdown
License: BSD-2-Clause
@@ -79,16 +79,16 @@ find . -type f -name "*.svg" -exec chmod -x {} +
%python_install
%python_clone -a %{buildroot}%{_bindir}/mkdocs
# unbundle where possible
# unbundle fontawesome where possible
%if 0%{?suse_version} <= 1500
rm %{buildroot}%{python_sitelib}/mkdocs/themes/mkdocs/fonts/fontawesome-webfont.woff
ln -sf %{_datadir}/fonts/truetype/fontawesome-webfont.woff %{buildroot}%{python_sitelib}/mkdocs/themes/mkdocs/fonts/fontawesome-webfont.woff
rm %{buildroot}%{python_sitelib}/mkdocs/themes/mkdocs/fonts/fontawesome-webfont.svg
ln -sf %{_datadir}/font-awesome-web/fontawesome-webfont.svg %{buildroot}%{python_sitelib}/mkdocs/themes/mkdocs/fonts/fontawesome-webfont.svg
rm %{buildroot}%{python_sitelib}/mkdocs/themes/readthedocs/fonts/fontawesome-webfont.svg
ln -sf %{_datadir}/font-awesome-web/fontawesome-webfont.svg %{buildroot}%{python_sitelib}/mkdocs/themes/readthedocs/fonts/fontawesome-webfont.svg
rm %{buildroot}%{python_sitelib}/mkdocs/themes/readthedocs/fonts/fontawesome-webfont.ttf
ln -sf %{_datadir}/fonts/truetype/fontawesome-webfont.ttf %{buildroot}%{python_sitelib}/mkdocs/themes/readthedocs/fonts/fontawesome-webfont.ttf
rm %{buildroot}%{python_sitelib}/mkdocs/themes/mkdocs/css/font-awesome.min.css
ln -sf %{_datadir}/fontawesome-web/css/fontawesome.min.css %{buildroot}%{python_sitelib}/mkdocs/themes/mkdocs/css/font-awesome.min.css
for filetype in eot svg ttf woff woff2; do
rm %{buildroot}%{python_sitelib}/mkdocs/themes/mkdocs/fonts/fontawesome-webfont.$filetype
ln -sf %{_datadir}/fontawesome-web/webfonts/fa-regular-400.$filetype %{buildroot}%{python_sitelib}/mkdocs/themes/mkdocs/fonts/fontawesome-webfont.$filetype
rm %{buildroot}%{python_sitelib}/mkdocs/themes/readthedocs/css/fonts/fontawesome-webfont.$filetype
ln -sf %{_datadir}/fontawesome-web/webfonts/fa-regular-400.$filetype %{buildroot}%{python_sitelib}/mkdocs/themes/readthedocs/fonts/fontawesome-webfont.$filetype
done
%endif
# inconsistent permissions prohibited fdupes from being effective