Sync from SUSE:SLFO:Main python-python-dbusmock revision 30d9f07fc943ce5c93022cf73bcfa350
This commit is contained in:
commit
efaf0d32b6
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
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.
165
python-python-dbusmock.changes
Normal file
165
python-python-dbusmock.changes
Normal file
@ -0,0 +1,165 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 25 07:55:14 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
- Removed not needed sle15modernpython macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 12 10:15:46 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Switch to pyproject_*
|
||||
- Add missing BR on python-gobject.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
- version update to 0.19
|
||||
- NetworkManager template: Add "StateReason" property and active connection ID
|
||||
- Add low-memory-monitor template
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 12 08:08:21 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Do not pull in py2 on python3 subpkg
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 4 08:18:20 UTC 2020 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- Require python-dbus-python: dbusmock can't work without this
|
||||
module.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 21 09:50:55 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 0.18.3:
|
||||
- Fix timeouts for loaded machines and parallel tests
|
||||
- Fix tests for Python 3.8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 9 22:19:11 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Use noun phrase in summary. Trim description, it is not a manual.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 7 11:19:02 UTC 2019 - bjorn.lie@gmail.com
|
||||
|
||||
- Update URL to new home:
|
||||
* https://github.com/martinpitt/python-dbusmock
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 7 10:42:02 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Remove test condition
|
||||
- Use %license macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 7 10:12:31 UTC 2019 - bjorn.lie@gmail.com
|
||||
|
||||
- Update to version 0.18.1:
|
||||
* test: Fix failures with systemd 239 in chroots
|
||||
- Changes from version 0.18:
|
||||
* logind template: Add support for suspend-then-hibernate
|
||||
* NetworkManager template: Add GetConnectionByUuid method
|
||||
* bluez template: Add PairDevice() 'class_' parameter
|
||||
* Fix logging of unicode strings in Python 2
|
||||
* Adjust logind and timedated tests to systemd 239
|
||||
- Changes from version 0.17.2:
|
||||
* NetworkManager template: Add GetDeviceByIpIface()
|
||||
* Move release tarballs from Launchpad to
|
||||
<https://github.com/martinpitt/python-dbusmock/releases>
|
||||
<https://pypi.python.org/pypi/python-dbusmock> remains as usual
|
||||
- Changes from version 0.17.1:
|
||||
* Fix NetworkManager tests due to name changes from
|
||||
802-11-wireless to wifi
|
||||
- Changes from version 0.17:
|
||||
* Call dbus-daemon directly instead of dbus-launch
|
||||
* Fix DBusTestCase.stop_dbus() to actually enforce a timeout
|
||||
+ Fix test_timedated for changed timedatectl output format in
|
||||
systemd 235.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 14 20:00:48 UTC 2017 - toddrme2178@gmail.com
|
||||
|
||||
- Provide/obsolete python-dbusmock
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 18 16:42:48 UTC 2017 - toddrme2178@gmail.com
|
||||
|
||||
- Implement single-spec version
|
||||
- Rename to python-python-dbusmock to conform to python package
|
||||
naming rules
|
||||
- Update to version 0.16.9
|
||||
* See changelog at https://github.com/martinpitt/python-dbusmock/blob/0.16.9/NEWS
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 5 13:34:34 UTC 2016 - sor.alexei@meowr.ru
|
||||
|
||||
- Update to 0.16.3 (changes since 0.16.1):
|
||||
* NetworkManager template: Fix connection settings Updated signal
|
||||
emitted by wrong object.
|
||||
* NetworkManager template: Handle empty device at connection
|
||||
activation.
|
||||
* NetworkManager template: Implement secrets management in
|
||||
settings.
|
||||
* NetworkManager template test: Make the test run standalone.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 31 10:21:56 UTC 2015 - sor.alexei@meowr.ru
|
||||
|
||||
- Update to 0.16.1 (changes since 0.15.2):
|
||||
* NetworkManager template: Add missing properties to ethernet
|
||||
device and active connection.
|
||||
* Quiesce irrelevant PEP-8 errors with pep8 1.6.
|
||||
* NetworkManager template: Generate a new unused name in
|
||||
connection activation instead of just using the access point
|
||||
name.
|
||||
* Allow the passing of template parameters via the command-line
|
||||
as JSON strings.
|
||||
* NetworkManager template: Fix indexing bug in
|
||||
SettingsAddConnection.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 5 05:22:32 UTC 2015 - sor.alexei@meowr.ru
|
||||
|
||||
- Update to 0.15.2:
|
||||
* test_ofono: Do not check "private" fields.
|
||||
* timedated template: Add NTPSynchronized property and set it in
|
||||
SetNTP().
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 7 12:12:45 UTC 2015 - sor.alexei@meowr.ru
|
||||
|
||||
- Initial package.
|
71
python-python-dbusmock.spec
Normal file
71
python-python-dbusmock.spec
Normal file
@ -0,0 +1,71 @@
|
||||
#
|
||||
# spec file for package python-python-dbusmock
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: python-python-dbusmock
|
||||
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 dbus-python}
|
||||
BuildRequires: %{python_module gobject}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
||||
Requires: dbus-1-x11
|
||||
Requires: python-dbus-python
|
||||
Requires: python-gobject
|
||||
Provides: python-dbusmock = %{version}
|
||||
BuildArch: noarch
|
||||
%if %python_version_nodots < 37
|
||||
Requires: python-dataclasses
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
With this program/Python library, one can create mock objects on D-Bus.
|
||||
This is useful for writing tests for software which talks to D-Bus services
|
||||
such as upower, systemd, logind, gnome-session or others, and it is hard
|
||||
(or impossible without root privileges) to set the state of the real services
|
||||
to what one may expect in tests.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n python-dbusmock-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%license COPYING
|
||||
%doc NEWS README.rst
|
||||
%{python_sitelib}/dbusmock
|
||||
%{python_sitelib}/python_dbusmock-%{version}*-info
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user