Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-python-binary-memcached for 
openSUSE:Factory checked in at 2024-09-11 16:55:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-binary-memcached (Old)
 and      /work/SRC/openSUSE:Factory/.python-python-binary-memcached.new.17570 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-python-binary-memcached"

Wed Sep 11 16:55:50 2024 rev:3 rq:1199943 version:0.31.2

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-python-binary-memcached/python-python-binary-memcached.changes
    2023-05-03 12:57:55.628061593 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-python-binary-memcached.new.17570/python-python-binary-memcached.changes
 2024-09-11 16:56:35.733045730 +0200
@@ -1,0 +2,6 @@
+Wed Sep 11 04:54:20 UTC 2024 - Steve Kowalik <[email protected]>
+
+- Switch to pyproject and pytest macros.
+- No more greedy globs in %files.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-python-binary-memcached.spec ++++++
--- /var/tmp/diff_new_pack.VLRkiC/_old  2024-09-11 16:56:36.165063776 +0200
+++ /var/tmp/diff_new_pack.VLRkiC/_new  2024-09-11 16:56:36.165063776 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-python-binary-memcached
 #
-# Copyright (c) 2023 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,19 +16,22 @@
 #
 
 
-%{?!python_module:%define python_module() python3-%{**}}
 Name:           python-python-binary-memcached
 Version:        0.31.2
 Release:        0
 Summary:        Access memcached via its binary protocol with SASL auth support
 License:        MIT
-Group:          Development/Languages/Python
 URL:            https://github.com/jaysonsantos/python-binary-memcached
 Source:         
https://files.pythonhosted.org/packages/source/p/python-binary-memcached/python-binary-memcached-%{version}.tar.gz
 BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module pip}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six}
+BuildRequires:  %{python_module trustme}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
+BuildRequires:  memcached
 BuildRequires:  python-rpm-macros
 Requires:       python-six
 Requires:       python-uhashring
@@ -45,17 +48,22 @@
 %setup -q -n python-binary-memcached-%{version}
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_exec setup.py test
+export MEMCACHED_HOST=localhost
+memcached &
+pid=$!
+%pytest -k 'not (SocketMemcachedTests or BinaryMemcachedTests or 
MemcachedTests)'
+kill $pid
 
 %files %{python_files}
 %license LICENSE
 %doc README.rst
-%{python_sitelib}/*
+%{python_sitelib}/bmemcached
+%{python_sitelib}/python_binary_memcached-%{version}.dist-info
 

Reply via email to