Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-crayons for openSUSE:Factory checked in at 2025-06-16 11:13:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-crayons (Old) and /work/SRC/openSUSE:Factory/.python-crayons.new.19631 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-crayons" Mon Jun 16 11:13:06 2025 rev:8 rq:1285959 version:0.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-crayons/python-crayons.changes 2021-06-19 23:04:57.059848131 +0200 +++ /work/SRC/openSUSE:Factory/.python-crayons.new.19631/python-crayons.changes 2025-06-16 11:13:16.281258775 +0200 @@ -1,0 +2,5 @@ +Mon Jun 16 06:12:19 UTC 2025 - Steve Kowalik <steven.kowa...@suse.com> + +- Switch to pyroject macros. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-crayons.spec ++++++ --- /var/tmp/diff_new_pack.zr7iBC/_old 2025-06-16 11:13:16.809280592 +0200 +++ /var/tmp/diff_new_pack.zr7iBC/_new 2025-06-16 11:13:16.813280758 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-crayons # -# Copyright (c) 2021 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 @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %define modname crayons Name: python-crayons Version: 0.4.0 @@ -26,7 +25,9 @@ URL: https://github.com/MasterOdin/crayons Source: https://github.com/MasterOdin/%{modname}/archive/v%{version}.tar.gz#/%{modname}-%{version}.tar.gz BuildRequires: %{python_module colorama} +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: python-rpm-macros Requires: python-colorama BuildArch: noarch @@ -41,10 +42,10 @@ %setup -q -n %{modname}-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %check %python_exec test_crayons.py @@ -53,6 +54,6 @@ %license LICENSE %doc README.rst %{python_sitelib}/%{modname}.py -%{python_sitelib}/%{modname}-%{version}-py*.egg-info -%pycache_only %{python_sitelib}/__pycache__/%{modname}* +%{python_sitelib}/%{modname}-%{version}.dist-info +%pycache_only %{python_sitelib}/__pycache__/%{modname}.*.pyc