Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-click-man for 
openSUSE:Factory checked in at 2025-02-11 21:29:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-click-man (Old)
 and      /work/SRC/openSUSE:Factory/.python-click-man.new.19470 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-click-man"

Tue Feb 11 21:29:35 2025 rev:4 rq:1245038 version:0.5.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-click-man/python-click-man.changes        
2024-05-17 20:07:35.672654438 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-click-man.new.19470/python-click-man.changes 
    2025-02-11 21:30:24.760583995 +0100
@@ -1,0 +2,37 @@
+Mon Feb 10 16:48:55 UTC 2025 - John Paul Adrian Glaubitz 
<adrian.glaub...@suse.com>
+
+- Update to 0.5.0
+  * Fix typo
+  * Explicitly require setuptools, __main__.py imports pkg_resources
+  * Fix typos
+  * Update README.md
+  * Fix typo
+  * tests: Switch to pytest
+  * Add GitHub Actions workflow, remove Travis
+  * Fix man generation for CLI with hidden options
+  * Move 'cli()' method to 'click_man.shell'
+  * Add shell unit tests
+  * cli: Expose knobs for date and version
+  * README: Remove references to distutils command
+  * Remove distutils command
+  * Remove use of pkg_resources
+  * Drop support for Python < 3.9
+  * Add ruff configuration
+  * Format with ruff-format
+  * Add pre-commit
+  * Add lint CI job
+  * Migrate to pyproject.toml
+- from version 0.4.2
+  * get_short_help method only exists in Click 7.
+- Add update-alternatives to Requires(post) and Requires(postun)
+- Drop get-short-help.patch, merged upstream
+- Limit Python files matched in %files section
+- Switch package to modern Python Stack on SLE-15
+  * Use Python 3.11 on SLE-15 by default
+  * Drop support for older Python versions
+- Switch build system from setuptools to pyproject.toml
+  * Add python-pip and python-wheel to BuildRequires
+  * Replace %python_build with %pyproject_wheel
+  * Replace %python_install with %pyproject_install
+
+-------------------------------------------------------------------

Old:
----
  click-man-0.4.1.tar.gz
  get-short-help.patch

New:
----
  click_man-0.5.0.tar.gz

BETA DEBUG BEGIN:
  Old:- Add update-alternatives to Requires(post) and Requires(postun)
- Drop get-short-help.patch, merged upstream
- Limit Python files matched in %files section
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-click-man.spec ++++++
--- /var/tmp/diff_new_pack.NelZDU/_old  2025-02-11 21:30:25.436611880 +0100
+++ /var/tmp/diff_new_pack.NelZDU/_new  2025-02-11 21:30:25.440612045 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-click-man
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,22 +16,25 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%{?sle15_python_module_pythons}
 Name:           python-click-man
-Version:        0.4.1
+Version:        0.5.0
 Release:        0
 Summary:        Automate generation of man pages for python click applications
 License:        MIT
 URL:            https://github.com/click-contrib/click-man
-Source:         
https://files.pythonhosted.org/packages/source/c/click-man/click-man-%{version}.tar.gz
-Patch1:         get-short-help.patch
+Source:         
https://files.pythonhosted.org/packages/source/c/click_man/click_man-%{version}.tar.gz
 BuildRequires:  %{python_module click}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module sure}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-click
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:      noarch
 %python_subpackages
 
@@ -39,15 +42,15 @@
 Automate generation of man pages for Python Click applications.
 
 %prep
-%autosetup -p1 -n click-man-%{version}
+%autosetup -p1 -n click_man-%{version}
 
 %build
 export LANG=en_US.UTF-8
-%python_build
+%pyproject_wheel
 
 %install
 export LANG=en_US.UTF-8
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 %python_clone -a %{buildroot}%{_bindir}/click-man
 
@@ -65,5 +68,6 @@
 %license LICENSE
 %doc CHANGELOG.md README.md
 %python_alternative %{_bindir}/click-man
-%{python_sitelib}/*
+%{python_sitelib}/click_man
+%{python_sitelib}/click_man-%{version}.dist-info
 

Reply via email to