Script 'mail_helper' called by obssrc
Hello community,

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

Package is "python-ansicolors"

Tue May 13 20:09:17 2025 rev:4 rq:1277190 version:1.1.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ansicolors/python-ansicolors.changes      
2019-11-13 13:14:56.102861130 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-ansicolors.new.30101/python-ansicolors.changes
   2025-05-13 20:09:35.125201725 +0200
@@ -1,0 +2,5 @@
+Tue May 13 13:20:42 UTC 2025 - Markéta Machová <mmach...@suse.com>
+
+- Convert to pip-based build
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-ansicolors.spec ++++++
--- /var/tmp/diff_new_pack.HDcWmJ/_old  2025-05-13 20:09:37.201288860 +0200
+++ /var/tmp/diff_new_pack.HDcWmJ/_new  2025-05-13 20:09:37.213289363 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-ansicolors
 #
-# 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,7 +16,6 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-ansicolors
 Version:        1.1.8
 Release:        0
@@ -24,7 +23,9 @@
 License:        ISC
 URL:            https://github.com/jonathaneunice/colors/
 Source:         
https://files.pythonhosted.org/packages/source/a/ansicolors/ansicolors-%{version}.zip
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildRequires:  unzip
@@ -41,19 +42,18 @@
 %setup -q -n ansicolors-%{version}
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
-py.test-%{$python_bin_suffix} --assert=plain
-}
+%pytest
 
 %files %{python_files}
 %doc CHANGES.yml README.rst
 %license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/colors
+%{python_sitelib}/ansicolors-%{version}*-info
 

Reply via email to