From e1c73ca920583e77dfca4b8e63f63040ca326d219659dd333d25107633a5d810 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 1 Jul 2024 08:09:13 +0000 Subject: [PATCH] - update to 6.0.0: * FIX Format string defaults correctly * Remove errant prints * Drop support for click 7.x, Sphinx < 5.x * readthedocs: Use dirhtml builder * docs: Add discrete mocking section * actions: Integrate tox-gh-actions * Distinguish between click and asyncclick * tests: Set maxDiff * Skip test with click 7.x * FIX If the \`help\` of an argument is \`None\`, don't fail * Add defusedxml to tox deps * Add defusedxml as test requirement * typing: Remove unused ignore * Add readthedocs config file * Fix show\_default with context\_settings * tests: Add tests for 'commands' option * Add support, testing for Python 3.12 * Add release note for typer arg help text feature * Interpret help for arguments * typing: Update for latest types-docutils OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-click?expand=0&rev=13 --- python-sphinx-click.changes | 25 +++++++++++++++++++++++++ python-sphinx-click.spec | 16 ++++++++-------- sphinx-click-5.1.0.tar.gz | 3 --- sphinx_click-6.0.0.tar.gz | 3 +++ 4 files changed, 36 insertions(+), 11 deletions(-) delete mode 100644 sphinx-click-5.1.0.tar.gz create mode 100644 sphinx_click-6.0.0.tar.gz diff --git a/python-sphinx-click.changes b/python-sphinx-click.changes index a7ce8e1..af4fe16 100644 --- a/python-sphinx-click.changes +++ b/python-sphinx-click.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Mon Jul 1 08:08:55 UTC 2024 - Dirk Müller + +- update to 6.0.0: + * FIX Format string defaults correctly + * Remove errant prints + * Drop support for click 7.x, Sphinx < 5.x + * readthedocs: Use dirhtml builder + * docs: Add discrete mocking section + * actions: Integrate tox-gh-actions + * Distinguish between click and asyncclick + * tests: Set maxDiff + * Skip test with click 7.x + * FIX If the \`help\` of an argument is \`None\`, don't fail + * Add defusedxml to tox deps + * Add defusedxml as test requirement + * typing: Remove unused ignore + * Add readthedocs config file + * Fix show\_default with context\_settings + * tests: Add tests for 'commands' option + * Add support, testing for Python 3.12 + * Add release note for typer arg help text feature + * Interpret help for arguments + * typing: Update for latest types-docutils + ------------------------------------------------------------------- Wed Nov 22 09:54:55 UTC 2023 - Dirk Müller diff --git a/python-sphinx-click.spec b/python-sphinx-click.spec index 0426094..ad83f33 100644 --- a/python-sphinx-click.spec +++ b/python-sphinx-click.spec @@ -1,7 +1,7 @@ # # spec file for package python-sphinx-click # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,16 +18,15 @@ %{?sle15_python_module_pythons} Name: python-sphinx-click -Version: 5.1.0 +Version: 6.0.0 Release: 0 Summary: Sphinx extension that automatically documents click applications License: MIT URL: https://github.com/stephenfin/sphinx-click -Source: https://files.pythonhosted.org/packages/source/s/sphinx_click/sphinx-click-%{version}.tar.gz +Source: https://files.pythonhosted.org/packages/source/s/sphinx_click/sphinx_click-%{version}.tar.gz BuildRequires: %{python_module devel >= 3.8} BuildRequires: %{python_module pbr} BuildRequires: %{python_module pip} -BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -40,16 +39,17 @@ BuildRequires: python-rpm-generators A Sphinx plugin that allows to automatically extract documentation from click-based applications and include it in documentation. %prep -%setup -q -n sphinx-click-%{version} +%autosetup -p1 -n sphinx_click-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} -%{python_sitelib}/sphinx_click* +%{python_sitelib}/sphinx_click +%{python_sitelib}/sphinx_click-%{version}.dist-info %changelog diff --git a/sphinx-click-5.1.0.tar.gz b/sphinx-click-5.1.0.tar.gz deleted file mode 100644 index 7e56166..0000000 --- a/sphinx-click-5.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6812c2db62d3fae71a4addbe5a8a0a16c97eb491f3cd63fe34b4ed7e07236f33 -size 27456 diff --git a/sphinx_click-6.0.0.tar.gz b/sphinx_click-6.0.0.tar.gz new file mode 100644 index 0000000..29cfab0 --- /dev/null +++ b/sphinx_click-6.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f5d664321dc0c6622ff019f1e1c84e58ce0cecfddeb510e004cf60c2a3ab465b +size 29574