Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-argparse-manpage for
openSUSE:Factory checked in at 2025-01-09 15:05:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-argparse-manpage (Old)
and /work/SRC/openSUSE:Factory/.python-argparse-manpage.new.1881 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-argparse-manpage"
Thu Jan 9 15:05:19 2025 rev:16 rq:1235773 version:4.6
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-argparse-manpage/python-argparse-manpage.changes
2024-06-13 15:37:40.521220963 +0200
+++
/work/SRC/openSUSE:Factory/.python-argparse-manpage.new.1881/python-argparse-manpage.changes
2025-01-09 15:05:39.375857408 +0100
@@ -1,0 +2,10 @@
+Wed Jan 8 04:02:24 UTC 2025 - Steve Kowalik <[email protected]>
+
+- Drop patch skip-pip-install.patch:
+ * Point pip to the directory that setuptools-wheel uses, since that is
+ the only requirement for pip install with the current version of
+ setuptools.
+- Remove unneeded Requires, limit them appropiately.
+- Switch to pyproject macros.
+
+-------------------------------------------------------------------
Old:
----
skip-pip-install.patch
BETA DEBUG BEGIN:
Old:
- Drop patch skip-pip-install.patch:
* Point pip to the directory that setuptools-wheel uses, since that is
BETA DEBUG END:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-argparse-manpage.spec ++++++
--- /var/tmp/diff_new_pack.e4tGw0/_old 2025-01-09 15:05:39.919880030 +0100
+++ /var/tmp/diff_new_pack.e4tGw0/_new 2025-01-09 15:05:39.923880197 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-argparse-manpage
#
-# 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
@@ -24,17 +24,17 @@
License: Apache-2.0
URL: https://github.com/praiskup/argparse-manpage
Source:
https://github.com/praiskup/argparse-manpage/archive/v%{version}.tar.gz
-# PATCH-FIX-OPENSUSE Skip pip install tests until pip can behave better
-Patch0: skip-pip-install.patch
BuildArch: noarch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
+BuildRequires: %{python_module setuptools-wheel}
BuildRequires: %{python_module setuptools}
BuildRequires: ca-certificates
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires: python-setuptools
+%if 0%{python_version_nodots} < 311
Requires: python-tomli
+%endif
Requires(post): update-alternatives
Requires(postun): update-alternatives
%python_subpackages
@@ -52,15 +52,17 @@
%autosetup -p1 -n %{mod_name}-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/argparse-manpage
%python_clone -a %{buildroot}%{_mandir}/man1/argparse-manpage.1
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
+export PIP_NO_INDEX=1
+export PIP_FIND_LINKS=$(ls -1 /usr/lib/python3.*/wheels | head -n 1)
%pytest
%post
@@ -70,11 +72,11 @@
%python_uninstall_alternative argparse-manpage
%files %{python_files}
-%doc README*
+%doc README.md
%license LICENSE
%{python_sitelib}/argparse_manpage
%{python_sitelib}/build_manpages
-%{python_sitelib}/argparse_manpage-%{version}*info
+%{python_sitelib}/argparse_manpage-%{version}.dist-info
%python_alternative %{_bindir}/argparse-manpage
%python_alternative %{_mandir}/man1/argparse-manpage.1%{?ext_man}