Accepting request 940130 from devel:languages:python
- 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 OBS-URL: https://build.opensuse.org/request/show/940130 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-dbusmock?expand=0&rev=6
This commit is contained in:
commit
cd2150536f
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:497f30eed2fcd5deaa2633b9622e4e99af4bdfba4e972b350ba630bac6fc86c2
|
|
||||||
size 72567
|
|
BIN
python-dbusmock-0.24.1.tar.gz
(Stored with Git LFS)
Normal file
BIN
python-dbusmock-0.24.1.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,37 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 13 04:35:29 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- 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
|
Fri Mar 20 13:02:15 UTC 2020 - pgajdos@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-python-dbusmock
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,13 +17,15 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
%define skip_python2 1
|
||||||
Name: python-python-dbusmock
|
Name: python-python-dbusmock
|
||||||
Version: 0.19
|
Version: 0.24.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python library for creating mock D-Bus objects
|
Summary: Python library for creating mock D-Bus objects
|
||||||
License: LGPL-3.0-or-later
|
License: LGPL-3.0-or-later
|
||||||
URL: https://github.com/martinpitt/python-dbusmock
|
URL: https://github.com/martinpitt/python-dbusmock
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/python-dbusmock/python-dbusmock-%{version}.tar.gz
|
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 dbus-python}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
@ -31,6 +33,9 @@ BuildRequires: fdupes
|
|||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
||||||
|
%if %python_version_nodots < 37
|
||||||
|
Requires: python-dataclasses
|
||||||
|
%endif
|
||||||
Requires: dbus-1-x11
|
Requires: dbus-1-x11
|
||||||
Requires: python-dbus-python
|
Requires: python-dbus-python
|
||||||
Requires: python-gobject
|
Requires: python-gobject
|
||||||
|
Loading…
x
Reference in New Issue
Block a user