Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-kitchen for openSUSE:Factory 
checked in at 2024-03-01 23:36:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-kitchen (Old)
 and      /work/SRC/openSUSE:Factory/.python-kitchen.new.1770 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-kitchen"

Fri Mar  1 23:36:33 2024 rev:9 rq:1153713 version:1.2.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-kitchen/python-kitchen.changes    
2022-03-22 19:39:49.543066339 +0100
+++ /work/SRC/openSUSE:Factory/.python-kitchen.new.1770/python-kitchen.changes  
2024-03-01 23:36:52.536214989 +0100
@@ -1,0 +2,6 @@
+Fri Mar  1 01:33:11 UTC 2024 - Steve Kowalik <steven.kowa...@suse.com>
+
+- Switch to autosetup, pyproject and pytest macros.
+- No more greedy globs in %files.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-kitchen.spec ++++++
--- /var/tmp/diff_new_pack.RFdvQe/_old  2024-03-01 23:36:53.284242041 +0100
+++ /var/tmp/diff_new_pack.RFdvQe/_new  2024-03-01 23:36:53.284242041 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-kitchen
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,18 +16,18 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-kitchen
 Version:        1.2.6
 Release:        0
 Summary:        Kitchen contains a cornucopia of useful code
 License:        LGPL-2.1-or-later
-Group:          Development/Languages/Python
 URL:            https://github.com/fedora-infra/kitchen/
 Source:         
https://files.pythonhosted.org/packages/source/k/kitchen/kitchen-%{version}.tar.gz
 # https://github.com/fedora-infra/kitchen/pull/33
 Patch0:         python-kitchen-remove-nose.patch
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildArch:      noarch
@@ -40,31 +40,24 @@
 A bunch of useful python functions to be used in other projects.
 
 %prep
-%setup -q -n kitchen-%{version}
-%patch0 -p1
+%autosetup -p1 -n kitchen-%{version}
 sed -i '1s/^#!.*//' kitchen2/kitchen/pycompat24/base64/_base64.py
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 export LANG='en_US.UTF8'
-%{python_expand # run test
-%if "$python" == "python2"
-pushd kitchen2
-%else
 pushd kitchen3
-%endif
-# skips because of gh#fedora-infra/kitchen#29 and gh#fedora-infra/kitchen#37
-$python -m pytest -k 'not (test_internal_generate_combining_table or 
test_easy_gettext_setup_non_unicode or test_invalid_fallback_no_raise or 
test_lgettext or test_lngettext)'
-popd}
+%pytest -k 'not (test_internal_generate_combining_table or 
test_easy_gettext_setup_non_unicode or test_invalid_fallback_no_raise or 
test_lgettext or test_lngettext)'
 
 %files %{python_files}
 %license COPYING COPYING.LESSER
 %doc NEWS.rst README.rst
-%{python_sitelib}/*
+%{python_sitelib}/kitchen
+%{python_sitelib}/kitchen-%{version}.dist-info
 

Reply via email to