Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-TagStats for openSUSE:Factory
checked in at 2025-05-12 20:19:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-TagStats (Old)
and /work/SRC/openSUSE:Factory/.python-TagStats.new.30101 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-TagStats"
Mon May 12 20:19:31 2025 rev:5 rq:1276910 version:0.1.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-TagStats/python-TagStats.changes
2019-11-08 15:26:20.647033972 +0100
+++
/work/SRC/openSUSE:Factory/.python-TagStats.new.30101/python-TagStats.changes
2025-05-12 20:19:38.555361314 +0200
@@ -1,0 +2,5 @@
+Mon May 12 14:56:25 UTC 2025 - Markéta Machová <[email protected]>
+
+- Convert to pip-based build
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-TagStats.spec ++++++
--- /var/tmp/diff_new_pack.uu9kIL/_old 2025-05-12 20:19:39.151386348 +0200
+++ /var/tmp/diff_new_pack.uu9kIL/_new 2025-05-12 20:19:39.151386348 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-TagStats
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# 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,8 +16,6 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define skip_python2 1
Name: python-TagStats
Version: 0.1.2
Release: 0
@@ -27,7 +25,9 @@
Source:
https://files.pythonhosted.org/packages/source/T/TagStats/TagStats-%{version}.tar.gz
Source10:
https://raw.githubusercontent.com/chuanconggao/TagStats/%{version}/LICENSE
BuildRequires: %{python_module base >= 3.6}
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@@ -43,14 +43,15 @@
sed -i -e '/^#! \//, 1d' tagstats/*.py
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%doc README.md
%license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/[Tt]ag[Ss]tats
+%{python_sitelib}/[Tt]ag[Ss]tats-%{version}*-info