Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pymavlink for
openSUSE:Factory checked in at 2023-09-12 21:02:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pymavlink (Old)
and /work/SRC/openSUSE:Factory/.python-pymavlink.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pymavlink"
Tue Sep 12 21:02:50 2023 rev:9 rq:1110409 version:2.4.40
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pymavlink/python-pymavlink.changes
2022-10-06 07:41:58.156655938 +0200
+++
/work/SRC/openSUSE:Factory/.python-pymavlink.new.1766/python-pymavlink.changes
2023-09-12 21:03:31.233539262 +0200
@@ -1,0 +2,55 @@
+Tue Sep 12 02:16:35 UTC 2023 - Steve Kowalik <[email protected]>
+
+- Update to 2.4.40:
+ * Generator: Lua: update to generate script that passes AP's luacheck
+ * mavutil.py: add vtol mode mapping
+ * add close method to binary reader
+ * Split off MissionItemProtocol from WPLoader, use it for fence and rally
+ * mavutil: add RTL mode for Blimp
+ * generator: add support for relative path to lua mavlink module
+ * WLUA - add new port for WSL 18570
+ * Fix mavlink Lua Generator for ardupilot lua comments and add it to test
+ script
+ * mavextra: added earth_accel for bin logs
+ * XSD: MAV_CMD missionOnly attribute
+ * mavgen_python: Add python3 target with type annotations
+ * Use strings for char array mavlink fields again
+ * Improve to_string and x25crc
+ * gpslag: cope with GPS instances
+ * mavextra: updated mag field tables
+ * Fix mavutil.mavtcpin not closing the accept()ed port on close()
+ * Generator for Ada language
+ * mavutil: add force option to reboot_autopilot method
+ * mavutil: do not consider MAV_AUTOPILOT_INVALID to be a vehicle heartbeat
+ * generator-C: added last_status field for signing
+ * Generator C: remove set but not used variable
+ * Fix for when signing disabled
+ * Fix the format of the output result of mavgen_cs.py
+ * mavutil: Return mode as 'Mode(msg.custom_mode)' for high-latency streams
+ * mavextra: cope with more Lat/Lon/Lng combinations
+ * mavutil: fixed MavlinkSerialPort wrapper for python3
+ * generator: lua generator for ardupilot lua scripting
+ * tools: add mavmerge to merge two tlogs
+ * tools: print progress in magfit_WMM
+ * mavutil: do not consider MAV_AUTOPILOT_INVALID to be a vehicle heartbeat
+ * mavgen: check for missing enums
+ * DFReader: added support for adding new messages to bin logs
+ * mavextra: removed cache from earth field calculations
+ * schema - Add Ampere-hours units
+ * DFReader.py: correct fatal error when stringifying FILE messages
+ * mavschema: add nanoseconds
+ * mavutil: add DOCK mode to rover
+ * mavextra.py: fix average(v, k, N) function
+ * mavftpdecode: fixed handling of defaults
+ * mavlogdump.py: don't die when handling
+ * Disable mavnative by default
+ * Tools: Magfit: throttle based
+ * DFReader: extract defaults from 4.3.x logs
+ * DFReader: fixed defaults handling
+ * mavwp: use is_location attribute of WP commands
+- Switch to pyproject and autosetup macros.
+- Package switched from sitearch to sitelib due to no mavnative
+- Stop using globs in %files
+- Add patch remove-future-requirement.patch, dropping future requirement
+
+-------------------------------------------------------------------
Old:
----
pymavlink-2.4.35.tar.gz
New:
----
pymavlink-2.4.40.tar.gz
remove-future-requirement.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pymavlink.spec ++++++
--- /var/tmp/diff_new_pack.wvAe1f/_old 2023-09-12 21:03:32.333578500 +0200
+++ /var/tmp/diff_new_pack.wvAe1f/_new 2023-09-12 21:03:32.337578643 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-pymavlink
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2019-2021, Martin Hauke <[email protected]>
#
# All modifications and additions to the file contributed by third parties
@@ -18,27 +18,27 @@
%define binaries mavtomfile mavtogpx mavsummarize mavsigloss mavsearch
mavplayback mavparms mavparmdiff mavmission mavloss mavlogdump
mavlink_bitmask_decoder mavkml mavgraph mavgpslock mavgen mavflighttime
mavflightmodes mavfft_isb mavfft mavextract magfit_motors magfit_gps
magfit_delta magfit_WMM magfit MPU6KSearch
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pymavlink
-Version: 2.4.35
+Version: 2.4.40
Release: 0
Summary: Python MAVLink code
License: LGPL-3.0-only
-Group: Development/Languages/Python
URL: https://github.com/ArduPilot/pymavlink/
Source:
https://files.pythonhosted.org/packages/source/p/pymavlink/pymavlink-%{version}.tar.gz
+Patch0: remove-future-requirement.patch
BuildRequires: %{python_module devel}
-BuildRequires: %{python_module future}
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires: python-future
Requires: python-lxml
Requires(post): update-alternatives
Requires(postun):update-alternatives
# SECTION test requirements
BuildRequires: %{python_module lxml}
# /SECTION
+BuildArch: noarch
%python_subpackages
%description
@@ -47,29 +47,28 @@
logs from autopilots such as ArduPilot which use the MAVLink protocol.
%prep
-%setup -q -n pymavlink-%{version}
+%autosetup -p1 -n pymavlink-%{version}
%build
-export CFLAGS="%{optflags}"
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
# drop shebang
-%python_expand find %{buildroot}%{$python_sitearch} -name "*.py" -exec sed -i
-e '/^#!\//, 1d' {} \;
+%python_expand find %{buildroot}%{$python_sitelib} -name "*.py" -exec sed -i
-e '/^#!\//, 1d' {} \;
# FIXME: remove devel files for now
-%python_expand rm -rf %{buildroot}%{$python_sitearch}/pymavlink/generator/C
-%python_expand rm -rf %{buildroot}%{$python_sitearch}/pymavlink/generator/CPP11
-%python_expand rm -rf
%{buildroot}%{$python_sitearch}/pymavlink/mavnative/mavlink_defaults.h
+%python_expand rm -rf %{buildroot}%{$python_sitelib}/pymavlink/generator/C
+%python_expand rm -rf %{buildroot}%{$python_sitelib}/pymavlink/generator/CPP11
+%python_expand rm -rf
%{buildroot}%{$python_sitelib}/pymavlink/mavnative/mavlink_defaults.h
# fix spurious exec permissions
-%python_expand find %{buildroot}%{$python_sitearch} -name "*.xml" -exec chmod
-x '{}' \;
+%python_expand find %{buildroot}%{$python_sitelib} -name "*.xml" -exec chmod
-x '{}' \;
# strip .py file extension from scripts
%python_expand cd %{buildroot}%{_bindir} && find . -name "*.py" -exec sh -c
'mv $0 `basename "$0" .py`' '{}' \;
for b in %{binaries}; do
%python_clone -a %{buildroot}%{_bindir}/$b
done
#
-%python_expand %fdupes %{buildroot}%{$python_sitearch}
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
# remove unneeded files
rm -f %{buildroot}%{_bindir}/_current_flavor
@@ -115,6 +114,6 @@
%python_alternative %{_bindir}/mavsummarize
%python_alternative %{_bindir}/mavtogpx
%python_alternative %{_bindir}/mavtomfile
-%{python_sitearch}/mavnative*.so
-%{python_sitearch}/pymavlink*
+%{python_sitelib}/pymavlink
+%{python_sitelib}/pymavlink-%{version}.dist-info
++++++ pymavlink-2.4.35.tar.gz -> pymavlink-2.4.40.tar.gz ++++++
/work/SRC/openSUSE:Factory/python-pymavlink/pymavlink-2.4.35.tar.gz
/work/SRC/openSUSE:Factory/.python-pymavlink.new.1766/pymavlink-2.4.40.tar.gz
differ: char 5, line 1
++++++ remove-future-requirement.patch ++++++
Index: pymavlink-2.4.40/generator/mavgen.py
===================================================================
--- pymavlink-2.4.40.orig/generator/mavgen.py
+++ pymavlink-2.4.40/generator/mavgen.py
@@ -23,9 +23,6 @@ General process:
'''
from __future__ import print_function
-from future import standard_library
-standard_library.install_aliases()
-from builtins import object
import os
import re
import sys
Index: pymavlink-2.4.40/setup.py
===================================================================
--- pymavlink-2.4.40.orig/setup.py
+++ pymavlink-2.4.40/setup.py
@@ -156,7 +156,6 @@ setup (name = 'pymavlink',
'tools/magfit_WMM.py',
],
install_requires=[
- 'future',
'lxml',
],
cmdclass={'build_py': custom_build_py},
Index: pymavlink-2.4.40/tools/mavplayback.py
===================================================================
--- pymavlink-2.4.40.orig/tools/mavplayback.py
+++ pymavlink-2.4.40/tools/mavplayback.py
@@ -7,11 +7,6 @@ realtime mavlink stream
Useful for visualising flights
'''
from __future__ import print_function
-from future import standard_library
-standard_library.install_aliases()
-
-from builtins import object
-
import os
import sys
import time