Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-M2Crypto for openSUSE:Factory
checked in at 2021-01-22 21:49:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-M2Crypto (Old)
and /work/SRC/openSUSE:Factory/.python-M2Crypto.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-M2Crypto"
Fri Jan 22 21:49:33 2021 rev:38 rq:864616 version:0.37.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-M2Crypto/python-M2Crypto.changes
2020-12-12 20:31:31.949799964 +0100
+++
/work/SRC/openSUSE:Factory/.python-M2Crypto.new.28504/python-M2Crypto.changes
2021-01-22 21:49:34.465615105 +0100
@@ -1,0 +2,5 @@
+Wed Jan 13 08:16:04 UTC 2021 - Matej Cepl <[email protected]>
+
+- Dr. Strangelove or: How I Learned to Stop Worrying and Love pytest
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-M2Crypto.spec ++++++
--- /var/tmp/diff_new_pack.jbQtjg/_old 2021-01-22 21:49:35.033615911 +0100
+++ /var/tmp/diff_new_pack.jbQtjg/_new 2021-01-22 21:49:35.037615916 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-M2Crypto
#
-# 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
@@ -28,6 +28,7 @@
Source:
https://files.pythonhosted.org/packages/source/M/M2Crypto/M2Crypto-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module parameterized}
+BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module typing}
BuildRequires: %{python_module xml}
@@ -89,9 +90,8 @@
%check
%python_expand ls -l %{buildroot}%{$python_sitearch}/M2Crypto/*.so*
-# gh#pypa/setuptools#2476
-# %%pyunittest_arch discover -v -s tests
-%python_exec setup.py test
+export PYTEST_ADDOPTS="--import-mode=append"
+%pytest_arch tests
%files %{python_files}
%doc CHANGES LICENCE README.rst