Script 'mail_helper' called by obssrc
Hello community,

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

Package is "python-visitor"

Fri Jun 13 18:48:21 2025 rev:2 rq:1285490 version:0.1.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-visitor/python-visitor.changes    
2018-10-25 08:14:17.852123493 +0200
+++ /work/SRC/openSUSE:Factory/.python-visitor.new.19631/python-visitor.changes 
2025-06-13 18:48:30.622383702 +0200
@@ -1,0 +2,5 @@
+Fri Jun 13 12:43:19 UTC 2025 - Markéta Machová <mmach...@suse.com>
+
+- Convert to pip-based build
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-visitor.spec ++++++
--- /var/tmp/diff_new_pack.zdqy0t/_old  2025-06-13 18:48:31.206407845 +0200
+++ /var/tmp/diff_new_pack.zdqy0t/_new  2025-06-13 18:48:31.210408011 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-visitor
 #
-# Copyright (c) 2018 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,21 +16,21 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-visitor
 Version:        0.1.3
 Release:        0
 Summary:        A tiny pythonic visitor implementation
 License:        MIT
 Group:          Development/Languages/Python
-Url:            http://github.com/mbr/visitor
+URL:            https://github.com/mbr/visitor
 Source:         https://github.com/mbr/visitor/archive/%{version}.tar.gz
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildArch:      noarch
-
 %python_subpackages
 
 %description
@@ -41,16 +41,17 @@
 %setup -q -n visitor-%{version}
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} 
py.test-%{$python_bin_suffix} -v
+%pytest
 
 %files %{python_files}
 %license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/visitor
+%{python_sitelib}/visitor-%{version}*-info
 

Reply via email to