Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pysha3 for openSUSE:Factory 
checked in at 2021-11-03 17:26:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pysha3 (Old)
 and      /work/SRC/openSUSE:Factory/.python-pysha3.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pysha3"

Wed Nov  3 17:26:36 2021 rev:2 rq:929015 version:1.0.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pysha3/python-pysha3.changes      
2020-07-24 12:10:03.845845220 +0200
+++ /work/SRC/openSUSE:Factory/.python-pysha3.new.1890/python-pysha3.changes    
2021-11-03 17:27:32.081378858 +0100
@@ -1,0 +2,5 @@
+Wed Nov  3 10:22:50 UTC 2021 - pgaj...@suse.com
+
+- %check: use %pytest_arch rpm macro
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-pysha3.spec ++++++
--- /var/tmp/diff_new_pack.QJtgnf/_old  2021-11-03 17:27:32.489379081 +0100
+++ /var/tmp/diff_new_pack.QJtgnf/_new  2021-11-03 17:27:32.489379081 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pysha3
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,7 @@
 URL:            https://github.com/tiran/pysha3
 Source:         
https://files.pythonhosted.org/packages/source/p/pysha3/pysha3-%{version}.tar.gz
 BuildRequires:  %{python_module Cython}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -45,7 +46,11 @@
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
 
 %check
-%python_exec setup.py test
+# see tests.test_main
+classes="SHA3_224Tests or SHA3_256Tests or SHA3_384Tests or SHA3_512Tests or\
+         Shake_128Tests or Shake_256Tests or\
+         Keccak_224Tests or Keccak_256Tests or Keccak_384Tests or 
Keccak_512Tests"
+%pytest_arch -k "$classes" tests.py
 
 %files %{python_files}
 %doc CHANGES.txt README.txt

Reply via email to