Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-django-collectd-rest for
openSUSE:Factory checked in at 2024-09-15 12:35:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-collectd-rest (Old)
and /work/SRC/openSUSE:Factory/.python-django-collectd-rest.new.29891
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-collectd-rest"
Sun Sep 15 12:35:54 2024 rev:8 rq:1200829 version:0.2.6
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-django-collectd-rest/python-django-collectd-rest.changes
2024-03-21 17:01:36.523001351 +0100
+++
/work/SRC/openSUSE:Factory/.python-django-collectd-rest.new.29891/python-django-collectd-rest.changes
2024-09-15 12:40:11.586029025 +0200
@@ -1,0 +2,9 @@
+Wed Sep 11 17:10:19 UTC 2024 - Matwey Kornilov <[email protected]>
+
+- Version 0.2.6:
+ - Fix build with rrdtool 1.9.0
+
+- Version 0.2.5:
+ - Drop Python 3.6 support
+
+-------------------------------------------------------------------
Old:
----
django-collectd-rest-0.2.4.tar.gz
New:
----
django_collectd_rest-0.2.6.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-django-collectd-rest.spec ++++++
--- /var/tmp/diff_new_pack.3S5d8S/_old 2024-09-15 12:40:12.050048356 +0200
+++ /var/tmp/diff_new_pack.3S5d8S/_new 2024-09-15 12:40:12.054048524 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-django-collectd-rest
#
-# 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,28 +16,28 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
%define skip_python36 1
%{?sle15_python_module_pythons}
Name: python-django-collectd-rest
-Version: 0.2.4
+Version: 0.2.6
Release: 0
Summary: A simple Django application to demonstrate RRD plots
License: BSD-2-Clause
URL: https://github.com/matwey/django-collectd-rest
-Source:
https://files.pythonhosted.org/packages/source/d/django-collectd-rest/django-collectd-rest-%{version}.tar.gz
-BuildRequires: %{python_module Django >= 1.10}
+Source:
https://files.pythonhosted.org/packages/source/d/django-collectd-rest/django_collectd_rest-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module djangorestframework >= 3.7}
-BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module pip}
+BuildRequires: %{python_module pytest-django}
+BuildRequires: %{python_module pytest}
+BuildRequires: %{python_module scikit-build-core}
# sqlite3 from standard library is requires for tests
BuildRequires: %{pythons}
BuildRequires: fdupes
BuildRequires: gcc
BuildRequires: python-rpm-macros
BuildRequires: rrdtool-devel
-Requires: python-Django >= 1.10
Requires: python-djangorestframework >= 3.7
Requires: rrdtool
%python_subpackages
@@ -47,23 +47,21 @@
The application is built on top of django-rest-framework and provides REST API
to access the plots.
%prep
-%setup -q -n django-collectd-rest-%{version}
+%setup -q -n django_collectd_rest-%{version}
%build
-export CFLAGS="%{optflags}"
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
-mv collectd_rest{,_hide}
-%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
-$python runtests.py}
+%pytest_arch
%files %{python_files}
%license LICENSE
%doc README.md
-%{python_sitearch}/*
+%{python_sitearch}/collectd_rest
+%{python_sitearch}/django_collectd_rest-%{version}.dist-info