Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pyct for openSUSE:Factory 
checked in at 2025-05-09 18:50:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyct (Old)
 and      /work/SRC/openSUSE:Factory/.python-pyct.new.30101 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pyct"

Fri May  9 18:50:22 2025 rev:5 rq:1276006 version:0.5.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyct/python-pyct.changes  2023-02-22 
15:21:42.865904802 +0100
+++ /work/SRC/openSUSE:Factory/.python-pyct.new.30101/python-pyct.changes       
2025-05-09 18:52:54.888963956 +0200
@@ -1,0 +2,5 @@
+Fri May  9 05:13:02 UTC 2025 - Steve Kowalik <[email protected]>
+
+- Switch to pyproject and pytest macros.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-pyct.spec ++++++
--- /var/tmp/diff_new_pack.1Rq5Mv/_old  2025-05-09 18:52:55.324982094 +0200
+++ /var/tmp/diff_new_pack.1Rq5Mv/_new  2025-05-09 18:52:55.328982260 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyct
 #
-# Copyright (c) 2023 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,7 +24,9 @@
 URL:            https://github.com/pyviz/pyct
 Source0:        
https://files.pythonhosted.org/packages/source/p/pyct/pyct-%{version}.tar.gz
 Source100:      python-pyct-rpmlintrc
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-PyYAML
@@ -40,7 +42,7 @@
 BuildRequires:  %{python_module requests}
 # /SECTION
 Requires(post): update-alternatives
-Requires(postun):update-alternatives
+Requires(postun): update-alternatives
 %python_subpackages
 
 %description
@@ -62,10 +64,10 @@
 %setup -q -n pyct-%{version}
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 %python_clone -a %{buildroot}%{_bindir}/pyct
 
@@ -77,16 +79,12 @@
 
 %check
 rm -rf build _build*
-%{python_expand rm -rf build _build*
-pytest-%{$python_bin_suffix}
-}
+%pytest
 
 %files %{python_files}
 %doc README.md
 %license LICENSE.txt
 %python_alternative %{_bindir}/pyct
-%dir %{python_sitelib}/pyct
-%{python_sitelib}/pyct/*
-%{python_sitelib}/pyct/.version
-%{python_sitelib}/pyct-%{version}-py*.egg-info
+%{python_sitelib}/pyct
+%{python_sitelib}/pyct-%{version}.dist-info
 

Reply via email to