Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-Trololio for openSUSE:Factory
checked in at 2025-05-13 20:07:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Trololio (Old)
and /work/SRC/openSUSE:Factory/.python-Trololio.new.30101 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Trololio"
Tue May 13 20:07:04 2025 rev:4 rq:1277030 version:1.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Trololio/python-Trololio.changes
2019-11-08 15:26:38.183052520 +0100
+++
/work/SRC/openSUSE:Factory/.python-Trololio.new.30101/python-Trololio.changes
2025-05-13 20:07:14.083284887 +0200
@@ -1,0 +2,5 @@
+Mon May 12 15:03:24 UTC 2025 - Markéta Machová <[email protected]>
+
+- Convert to pip-based build
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-Trololio.spec ++++++
--- /var/tmp/diff_new_pack.KeG7Cg/_old 2025-05-13 20:07:14.551304576 +0200
+++ /var/tmp/diff_new_pack.KeG7Cg/_new 2025-05-13 20:07:14.551304576 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-Trololio
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2018 Neal Gompa <[email protected]>.
#
# All modifications and additions to the file contributed by third parties
@@ -17,7 +17,6 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-Trololio
Version: 1.0
Release: 0
@@ -27,7 +26,9 @@
Source:
https://files.pythonhosted.org/packages/source/T/Trololio/Trololio-%{version}.zip
# License file from source repository
Source1:
https://raw.githubusercontent.com/ThinkChaos/Trololio/master/LICENSE
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: unzip
@@ -52,14 +53,16 @@
cp %{SOURCE1} LICENSE
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
-%{python_sitelib}/*
+%{python_sitelib}/trololio.py
+%{python_sitelib}/[Tt]rololio-%{version}*-info
+%pycache_only %{python_sitelib}/__pycache__/trololio*
%doc README.rst
%license LICENSE