Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-django-eremaea2 for 
openSUSE:Factory checked in at 2022-03-29 18:15:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-eremaea2 (Old)
 and      /work/SRC/openSUSE:Factory/.python-django-eremaea2.new.1900 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-django-eremaea2"

Tue Mar 29 18:15:10 2022 rev:4 rq:965517 version:2.0.17

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-django-eremaea2/python-django-eremaea2.changes
    2021-12-26 15:30:40.855368154 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-django-eremaea2.new.1900/python-django-eremaea2.changes
  2022-03-29 18:15:43.919151479 +0200
@@ -1,0 +2,6 @@
+Tue Mar 29 05:18:28 UTC 2022 - Steve Kowalik <steven.kowa...@suse.com>
+
+- Remove unneeded Build-Requires on mock.
+- Use pytest-django for running tests. 
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-django-eremaea2.spec ++++++
--- /var/tmp/diff_new_pack.AozJK9/_old  2022-03-29 18:15:44.383151950 +0200
+++ /var/tmp/diff_new_pack.AozJK9/_new  2022-03-29 18:15:44.391151958 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-django-eremaea2
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,17 +24,16 @@
 Release:        0
 Summary:        A simple Django application to store and show webcam snapshots
 License:        BSD-2-Clause
-Group:          Development/Languages/Python
 URL:            https://github.com/matwey/django-eremaea2
 Source:         
https://files.pythonhosted.org/packages/source/d/django-eremaea2/django-eremaea2-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildArch:      noarch
 BuildRequires:  %{python_module Django >= 1.10}
 BuildRequires:  %{python_module cmdln}
+BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module django-dj-inmemorystorage}
 BuildRequires:  %{python_module djangorestframework >= 3.7.0}
-BuildRequires:  %{python_module mock}
-# python-magic is actual pypi name
+BuildRequires:  %{python_module pytest-django}
 BuildRequires:  %{python_module python-magic}
 BuildRequires:  %{python_module requests-mock}
 BuildRequires:  %{python_module requests-toolbelt}
@@ -43,8 +42,6 @@
 BuildRequires:  %{python_module six}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-# sqlite3 from standard library is requires for tests
-BuildRequires:  %{pythons}
 Requires:       eremaea = %{version}
 Requires:       python-Django >= 1.10
 Requires:       python-cmdln
@@ -54,7 +51,7 @@
 Requires:       python-requests-toolbelt
 Requires:       python-six
 Requires(post):   update-alternatives
-Requires(postun):  update-alternatives
+Requires(postun):update-alternatives
 %python_subpackages
 
 %description
@@ -92,7 +89,9 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_exec setup.py test
+export DJANGO_SETTINGS_MODULE=tests.test_settings
+export PYTHONPATH=$(pwd)
+%pytest
 
 %post
 %python_install_alternative eremaeactl

Reply via email to