From 9a1e787e2c5d85f3c76007f58344c7766972ca4a5527fdf16eab83b1a841937c Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Mon, 13 Dec 2021 04:39:33 +0000 Subject: [PATCH] =?UTF-8?q?-=20Update=20to=200.24.1:=20=20=20*=20Do=20not?= =?UTF-8?q?=20register=20standard=20D-Bus=20service=20directories=20(Thank?= =?UTF-8?q?s=20Benjamin=20Berg)=20=20=20*=20templates:=20Add=20IIO=20Senso?= =?UTF-8?q?rs=20Proxy=20support=20(Thanks=20Marco=20Trevisan)=20=20=20*=20?= =?UTF-8?q?Fix=20importlib=20module=20import=20(Thanks=20Marco=20Trevisan)?= =?UTF-8?q?=20=20=20*=20Clean=20up=20code=20for=20most=20recent=20pylint?= =?UTF-8?q?=20version=20=20=20*=20Add=20Add=20power-profiles-daemon=20temp?= =?UTF-8?q?late=20(Thanks=20Bastien=20Nocera)=20=20=20*=20logind:=20Implem?= =?UTF-8?q?ent=20Inhibit=20and=20ListInhibitors=20(Thanks=20to=20Benjamin?= =?UTF-8?q?=20Berg)=20=20=20*=20Fix=20new=20complaints=20from=20pylint=202?= =?UTF-8?q?.9=20=20=20*=20Fix=20tests=20for=20Python=203.10=20=20=20*=20DB?= =?UTF-8?q?usMockObject:=20Add=20UpdateProperties()=20method=20(Thanks=20t?= =?UTF-8?q?o=20Jonas=20=C3=85dahl)=20=20=20*=20DBusTestCase:=20Add=20bus?= =?UTF-8?q?=20override=20argument=20to=20spawn=5Fserver=5Ftemplate,=20to?= =?UTF-8?q?=20use=20=20=20=20=20templates=20on=20either=20system=20or=20se?= =?UTF-8?q?ssion=20bus;=20add=20corresponding=20--session=20CLI=20=20=20?= =?UTF-8?q?=20=20option=20=20=20*=20bluez=20template:=20Implement=20Pair()?= =?UTF-8?q?=20method=20on=20the=20Device=20interface=20and=20the=20=20=20?= =?UTF-8?q?=20=20AgentManager1=20interface=20(Thanks=20to=20Bastien=20Noce?= =?UTF-8?q?ra)=20=20=20*=20polkit=20template:=20Implement=20RegisterAuthen?= =?UTF-8?q?ticationAgent()=20(Thanks=20to=20=20=20=20=20Jonas=20=C3=85dahl?= =?UTF-8?q?)=20=20=20*=20Add=20accountsservice=20template=20(Thanks=20to?= =?UTF-8?q?=20Marco=20Trevisan)=20=20=20*=20NetworkManager=20template:=20F?= =?UTF-8?q?ix=20connecting=20to=20wifi=20=20=20*=20NetworkManager=20templa?= =?UTF-8?q?te:=20Add=20Reload()=20method=20=20=20*=20tests:=20Replace=20no?= =?UTF-8?q?se=20test=20runner=20with=20standard=20unittest=20=20=20*=20set?= =?UTF-8?q?up.py:=20Drop=20deprecated=20`test=5Fsuite`,=20run=20tests=20th?= =?UTF-8?q?rough=20=20=20=20=20`python3=20-m=20unittest`=20directly=20=20?= =?UTF-8?q?=20*=20Add=20type=20annotations=20to=20the=20whole=20API=20=20?= =?UTF-8?q?=20*=20Drop=20obsolete=20ConsoleKit=20and=20bluez4=20templates/?= =?UTF-8?q?tests=20=20=20*=20upower=20template:=20Drop=20support=20for=200?= =?UTF-8?q?.9=20API=20=20=20*=20NetworkManager=20template:=20Handle=20Netw?= =?UTF-8?q?orkingEnable=20=20=20*=20NetworkManager=20template:=20AddConnec?= =?UTF-8?q?tionUnsaved=20=20=20*=20Drop=20support=20for=20Python=202=20-?= =?UTF-8?q?=20Add=20python-dataclasses=20to=20{Build,}Requires?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-dbusmock?expand=0&rev=18 --- python-dbusmock-0.19.tar.gz | 3 --- python-dbusmock-0.24.1.tar.gz | 3 +++ python-python-dbusmock.changes | 34 ++++++++++++++++++++++++++++++++++ python-python-dbusmock.spec | 9 +++++++-- 4 files changed, 44 insertions(+), 5 deletions(-) delete mode 100644 python-dbusmock-0.19.tar.gz create mode 100644 python-dbusmock-0.24.1.tar.gz diff --git a/python-dbusmock-0.19.tar.gz b/python-dbusmock-0.19.tar.gz deleted file mode 100644 index 94798ac..0000000 --- a/python-dbusmock-0.19.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:497f30eed2fcd5deaa2633b9622e4e99af4bdfba4e972b350ba630bac6fc86c2 -size 72567 diff --git a/python-dbusmock-0.24.1.tar.gz b/python-dbusmock-0.24.1.tar.gz new file mode 100644 index 0000000..4096743 --- /dev/null +++ b/python-dbusmock-0.24.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:56d660bd5f5d0edfe8b0eedfbb9b0814a134eb94b46fca16c379dca68be5724f +size 85781 diff --git a/python-python-dbusmock.changes b/python-python-dbusmock.changes index 98e8614..951a54e 100644 --- a/python-python-dbusmock.changes +++ b/python-python-dbusmock.changes @@ -1,3 +1,37 @@ +------------------------------------------------------------------- +Mon Dec 13 04:35:29 UTC 2021 - Steve Kowalik + +- Update to 0.24.1: + * Do not register standard D-Bus service directories (Thanks Benjamin Berg) + * templates: Add IIO Sensors Proxy support (Thanks Marco Trevisan) + * Fix importlib module import (Thanks Marco Trevisan) + * Clean up code for most recent pylint version + * Add Add power-profiles-daemon template (Thanks Bastien Nocera) + * logind: Implement Inhibit and ListInhibitors (Thanks to Benjamin Berg) + * Fix new complaints from pylint 2.9 + * Fix tests for Python 3.10 + * DBusMockObject: Add UpdateProperties() method (Thanks to Jonas Ådahl) + * DBusTestCase: Add bus override argument to spawn_server_template, to use + templates on either system or session bus; add corresponding --session CLI + option + * bluez template: Implement Pair() method on the Device interface and the + AgentManager1 interface (Thanks to Bastien Nocera) + * polkit template: Implement RegisterAuthenticationAgent() (Thanks to + Jonas Ådahl) + * Add accountsservice template (Thanks to Marco Trevisan) + * NetworkManager template: Fix connecting to wifi + * NetworkManager template: Add Reload() method + * tests: Replace nose test runner with standard unittest + * setup.py: Drop deprecated `test_suite`, run tests through + `python3 -m unittest` directly + * Add type annotations to the whole API + * Drop obsolete ConsoleKit and bluez4 templates/tests + * upower template: Drop support for 0.9 API + * NetworkManager template: Handle NetworkingEnable + * NetworkManager template: AddConnectionUnsaved + * Drop support for Python 2 +- Add python-dataclasses to {Build,}Requires + ------------------------------------------------------------------- Fri Mar 20 13:02:15 UTC 2020 - pgajdos@suse.com diff --git a/python-python-dbusmock.spec b/python-python-dbusmock.spec index 34d7d56..6b8a450 100644 --- a/python-python-dbusmock.spec +++ b/python-python-dbusmock.spec @@ -1,7 +1,7 @@ # # spec file for package python-python-dbusmock # -# 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 @@ -17,13 +17,15 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-python-dbusmock -Version: 0.19 +Version: 0.24.1 Release: 0 Summary: Python library for creating mock D-Bus objects License: LGPL-3.0-or-later URL: https://github.com/martinpitt/python-dbusmock Source: https://files.pythonhosted.org/packages/source/p/python-dbusmock/python-dbusmock-%{version}.tar.gz +BuildRequires: %{python_module dataclasses if %python-base < 3.7} BuildRequires: %{python_module dbus-python} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} @@ -31,6 +33,9 @@ BuildRequires: fdupes BuildRequires: pkgconfig BuildRequires: python-rpm-macros BuildRequires: pkgconfig(gobject-introspection-1.0) +%if %python_version_nodots < 37 +Requires: python-dataclasses +%endif Requires: dbus-1-x11 Requires: python-dbus-python Requires: python-gobject