From 427ea867337522e84be4e179d7e0e3ca1f0c6bbde56b4f08f37ba624c9b0075e Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 18 Nov 2021 18:08:06 +0000 Subject: [PATCH] Accepting request 932065 from home:eroca Update to version 1.2.3 (2021-10-12) OBS-URL: https://build.opensuse.org/request/show/932065 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mkdocs?expand=0&rev=4 --- 1.1.2.tar.gz | 3 --- mkdocs-1.2.3.tar.gz | 3 +++ python-mkdocs.changes | 62 +++++++++++++++++++++++++++++++++++++++++++ python-mkdocs.spec | 32 +++++++++++++++------- 4 files changed, 87 insertions(+), 13 deletions(-) delete mode 100644 1.1.2.tar.gz create mode 100644 mkdocs-1.2.3.tar.gz diff --git a/1.1.2.tar.gz b/1.1.2.tar.gz deleted file mode 100644 index 775cc63..0000000 --- a/1.1.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5b37a489e3d8873d038020fb839a21f3dd9f5bbac6fcbbeec61baa7a85c9abc1 -size 6987352 diff --git a/mkdocs-1.2.3.tar.gz b/mkdocs-1.2.3.tar.gz new file mode 100644 index 0000000..99cb080 --- /dev/null +++ b/mkdocs-1.2.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b1859f34c6177c94cc360039fe467292cdbc775986949fc5448a94d0ba7c1892 +size 6919177 diff --git a/python-mkdocs.changes b/python-mkdocs.changes index 234e80f..5b9cce1 100644 --- a/python-mkdocs.changes +++ b/python-mkdocs.changes @@ -1,3 +1,65 @@ +------------------------------------------------------------------- +Thu Nov 17 20:32:38 UTC 2021 - Elisei Roca + +- do not build for python2; mkdocs is python3-only since 1.1 + +- update dependencies and add all also as BuildRequires to always deliver an + installable package + +- update to version 1.2.3 (2021-10-12) + https://github.com/mkdocs/mkdocs/blob/1.2.3/docs/about/release-notes.md + * Built-in themes now also support these languages: + * Simplified Chinese (#2497) + * Japanese (#2525) + * Brazilian Portuguese (#2535) + * Spanish (#2545, previously #2396) + * Third-party plugins will take precedence over built-in plugins with the same + name (#2591) + * Bugfix: Fix ability to load translations for some languages: + core support (#2565) and search plugin support with fallbacks (#2602) + * Bugfix (regression in 1.2): Prevent directory traversal in the dev server + (#2604) + * Bugfix (regression in 1.2): Prevent webserver warnings from being treated as + a build failure in strict mode (#2607) + * Bugfix: Correctly print colorful messages in the terminal on Windows (#2606) + * Bugfix: Python version 3.10 was displayed incorrectly in `--version` (#2618) + * Other small improvements + see commit log (https://github.com/mkdocs/mkdocs/compare/1.2.2...1.2.3). + +- changes in 1.2.2 (2021-07-18) + * Bugfix (regression in 1.2): Fix serving files/paths with Unicode characters + (#2464) + * Bugfix (regression in 1.2): Revert livereload file watching to use polling + observer (#2477) + * Revert from 1.2: Remove the requirement of a `site_url` config and the + restriction on `use_directory_urls` (#2490) + * Bugfix (regression in 1.2): Don't require trailing slash in the URL when + serving a directory index in `mkdocs serve` server (#2507) + * Bugfix: Fix `gh_deploy` with config-file in the current directory (#2481) + * Bugfix: Fix reversed breadcrumbs in "readthedocs" theme (#2179) + * Allow "mkdocs.yaml" as the file name when '--config' is not passed (#2478) + * Stop treating ";" as a special character in URLs: urlparse -> urlsplit (#2502) + * Improve build performance for sites with many pages + (partly already done in 1.2) (#2407) + +- changes in 1.2.1 (2021-06-09) + * Bugfix (regression in 1.2): Ensure 'gh-deploy' always pushes. + +- changes in 1.2 (2021-06-04) + * Support added for Theme Localization (#2299) + * Support added for Environment Variables in the configuration file (#1954) + * Support added for Configuration Inheritance (#2218) + * Update `gh-deploy` command (#2170) + * Rework auto-reload and HTTP server for `mkdocs serve` (#2385) + * Offset the local site root according to the sub-path of the `site_url` (#2424) + * A `build_error` event was added (#2103) + * Three new exceptions: BuildError PluginError and Abort (#2103) + * Search Indexing Strategy configuration + * Backwards incompatible changes in 1.2 + https://github.com/mkdocs/mkdocs/blob/1.2/docs/about/release-notes.md?plain=1#L160 + * Other changes and additions, bugfixes in 1.2 + https://github.com/mkdocs/mkdocs/blob/1.2/docs/about/release-notes.md?plain=1#L230 + ------------------------------------------------------------------- Sat Aug 14 21:50:43 UTC 2021 - Jan Engelhardt diff --git a/python-mkdocs.spec b/python-mkdocs.spec index a5fe2b5..9e5d95e 100644 --- a/python-mkdocs.spec +++ b/python-mkdocs.spec @@ -16,19 +16,27 @@ # +%define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-mkdocs -Version: 1.1.2 +Version: 1.2.3 Release: 0 Summary: Project documentation with Markdown License: BSD-2-Clause -Group: Development/Languages/Python URL: https://www.mkdocs.org -Source: https://github.com/mkdocs/mkdocs/archive/%{version}.tar.gz +Source: https://github.com/mkdocs/mkdocs/archive/%{version}.tar.gz#/mkdocs-%{version}.tar.gz +BuildRequires: %{python_module Jinja2} +BuildRequires: %{python_module Markdown} +BuildRequires: %{python_module MarkupSafe} +BuildRequires: %{python_module PyYAML} BuildRequires: %{python_module click} -BuildRequires: %{python_module flake8} +BuildRequires: %{python_module ghp-import} +BuildRequires: %{python_module importlib_metadata} +BuildRequires: %{python_module mergedeep} +BuildRequires: %{python_module packaging} +BuildRequires: %{python_module pyyaml_env_tag} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module tox} +BuildRequires: %{python_module watchdog} BuildRequires: fdupes BuildRequires: fontawesome-fonts BuildRequires: fontawesome-fonts-web @@ -37,13 +45,18 @@ Requires: fontawesome-fonts Requires: fontawesome-fonts-web Requires: python-Jinja2 Requires: python-Markdown +Requires: python-MarkupSafe Requires: python-PyYAML Requires: python-click Requires: python-ghp-import -Requires: python-livereload -Requires: python-tornado +Requires: python-importlib_metadata +Requires: python-mergedeep +Requires: python-packaging +Requires: python-pyyaml_env_tag +Requires: python-watchdog Requires(post): update-alternatives Requires(postun):update-alternatives +Suggests: python-babel BuildArch: noarch %python_subpackages @@ -82,7 +95,7 @@ ln -sf %{_datadir}/fonts/truetype/fontawesome-webfont.ttf %{buildroot}%{python_s find "%{buildroot}" -type f "(" -name "*.eot" -o -name "*.ttf" -o \ -name "*.woff" ")" -exec chmod a-x {} + -%python_expand %fdupes -s %{buildroot}/%{$python_sitelib} +%python_expand %fdupes -s %{buildroot}%{$python_sitelib} %check # tries to download stuff at runtime @@ -98,7 +111,6 @@ find "%{buildroot}" -type f "(" -name "*.eot" -o -name "*.ttf" -o \ %doc README.md %license LICENSE %python_alternative %{_bindir}/mkdocs -%{python_sitelib}/mkdocs/ -%{python_sitelib}/mkdocs-%{version}-py%{python_version}.egg-info +%{python_sitelib}/* %changelog