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 2024-09-11 16:55:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-eremaea2 (Old)
and /work/SRC/openSUSE:Factory/.python-django-eremaea2.new.17570 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-eremaea2"
Wed Sep 11 16:55:55 2024 rev:8 rq:1199968 version:2.0.21
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-django-eremaea2/python-django-eremaea2.changes
2023-07-18 22:08:14.863030373 +0200
+++
/work/SRC/openSUSE:Factory/.python-django-eremaea2.new.17570/python-django-eremaea2.changes
2024-09-11 16:56:43.637375909 +0200
@@ -1,0 +2,12 @@
+Tue Sep 10 15:26:43 UTC 2024 - Matwey Kornilov <[email protected]>
+
+- Version 2.0.21
+ - Fix build
+
+-------------------------------------------------------------------
+Mon Sep 9 08:20:12 UTC 2024 - Matwey Kornilov <[email protected]>
+
+- Version 2.0.19
+ - Drop Python 3.6 support
+
+-------------------------------------------------------------------
Old:
----
django-eremaea2-2.0.18.tar.gz
New:
----
django_eremaea2-2.0.21.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-django-eremaea2.spec ++++++
--- /var/tmp/diff_new_pack.nEOVqz/_old 2024-09-11 16:56:46.593499391 +0200
+++ /var/tmp/diff_new_pack.nEOVqz/_new 2024-09-11 16:56:46.597499558 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-django-eremaea2
#
-# 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
@@ -17,20 +17,22 @@
%define skip_python2 1
+%define skip_python36 1
+%{?sle15_python_module_pythons}
Name: python-django-eremaea2
-Version: 2.0.18
+Version: 2.0.21
Release: 0
Summary: A simple Django application to store and show webcam snapshots
License: BSD-2-Clause
URL: https://github.com/matwey/django-eremaea2
-Source:
https://files.pythonhosted.org/packages/source/d/django-eremaea2/django-eremaea2-%{version}.tar.gz
+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 pip}
BuildRequires: %{python_module pytest-django}
# https://github.com/matwey/django-eremaea2/issues/15
BuildRequires: %{python_module python-magic}
@@ -42,7 +44,6 @@
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: eremaea = %{version}
-Requires: python-Django >= 1.10
Requires: python-cmdln
Requires: python-djangorestframework >= 3.7.0
Requires: python-python-magic
@@ -66,28 +67,25 @@
This package contains the systemd unit files for python-django-eremaea2.
%prep
-%autosetup -p1 -n django-eremaea2-%{version}
+%autosetup -p1 -n django_eremaea2-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
+%python_clone -a %{buildroot}%{_bindir}/eremaeactl
-for p in eremaeactl ; do
- %python_clone -a %{buildroot}%{_bindir}/$p
-done
-
-for u in [email protected] [email protected] [email protected]
eremaea.target ; do
- install -D -m 0644 $u %{buildroot}%{_unitdir}/$u
-done
+install -D -m 0644 [email protected]
%{buildroot}%{_unitdir}/[email protected]
+install -D -m 0644 [email protected]
%{buildroot}%{_unitdir}/[email protected]
+install -D -m 0644 [email protected]
%{buildroot}%{_unitdir}/[email protected]
+install -D -m 0644 eremaea.target
%{buildroot}%{_unitdir}/eremaea.target
mkdir -p %{buildroot}%{_sbindir}
ln -s service %{buildroot}%{_sbindir}/rceremaea
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-export DJANGO_SETTINGS_MODULE=tests.test_settings
export PYTHONPATH=$(pwd)
%pytest