Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-straight-plugin for 
openSUSE:Factory checked in at 2025-06-13 18:47:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-straight-plugin (Old)
 and      /work/SRC/openSUSE:Factory/.python-straight-plugin.new.19631 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-straight-plugin"

Fri Jun 13 18:47:41 2025 rev:3 rq:1285452 version:1.5.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-straight-plugin/python-straight-plugin.changes
    2020-05-28 09:20:01.149285726 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-straight-plugin.new.19631/python-straight-plugin.changes
 2025-06-13 18:47:55.116914913 +0200
@@ -1,0 +2,5 @@
+Fri Jun 13 11:04:28 UTC 2025 - Markéta Machová <mmach...@suse.com>
+
+- Convert to pip-based build
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-straight-plugin.spec ++++++
--- /var/tmp/diff_new_pack.ym1C6y/_old  2025-06-13 18:47:55.720939919 +0200
+++ /var/tmp/diff_new_pack.ym1C6y/_new  2025-06-13 18:47:55.724940084 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-straight-plugin
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 # Copyright (c) 2018 Neal Gompa <ngomp...@gmail.com>.
 #
 # All modifications and additions to the file contributed by third parties
@@ -17,7 +17,6 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-straight-plugin
 Version:        1.5.0
 Release:        0
@@ -29,7 +28,9 @@
 # PATCH-FIX-UPSTREAM pip_no_plugins.patch gh#ironfroggy/straight.plugin#24 
mc...@suse.com
 # Fixes pipe with no plugins installed
 Patch0:         pip_no_plugins.patch
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildArch:      noarch
@@ -50,15 +51,19 @@
 %prep
 %setup -q -n straight.plugin-%{version}
 %autopatch -p1
+# import from imp https://github.com/ironfroggy/straight.plugin/pull/30
+sed -i '/from imp import find_module/d' straight/plugin/loaders.py
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %fdupes %{buildroot}%{python_sitelib}
 
 %files %{python_files}
 %license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/straight
+%{python_sitelib}/straight[._]plugin-%{version}*-info
+%{python_sitelib}/straight[._]plugin-%{version}*-nspkg.pth
 

Reply via email to