Compare commits
1 Commits
Author | SHA256 | Date | |
---|---|---|---|
cec02e228c |
@@ -1,4 +0,0 @@
|
|||||||
<multibuild>
|
|
||||||
<package>test</package>
|
|
||||||
</multibuild>
|
|
||||||
|
|
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,134 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Fri Jan 24 10:18:03 UTC 2025 - Joan Torres <joan.torres@suse.com>
|
|
||||||
|
|
||||||
- Update to 0.34.2:
|
|
||||||
* spec: Adjust %autosetup to PEP-625 tarball top-level directory
|
|
||||||
- Update to 0.34.1:
|
|
||||||
* spec: Adjust Source URL to PEP-625 tarball name
|
|
||||||
- Update to 0.34.0:
|
|
||||||
* modemmanager: Add cell broadcast messages (thanks Guido Günther)
|
|
||||||
* Move release builds to pybuild for PEP-625 compatibility
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Jan 23 09:28:08 UTC 2025 - Joan Torres <joan.torres@suse.com>
|
|
||||||
|
|
||||||
- Update to 0.33.0:
|
|
||||||
* templates: Add gsd-rfkill (thanks Guido Günther)
|
|
||||||
* Allow adding objects derived from DBusMockObject (thanks Sebastian Wick)
|
|
||||||
* Drop Python <= 3.7 support (thanks Tomasz Kłoczko)
|
|
||||||
- Update to 0.32.2:
|
|
||||||
* all templates: Drop wrong variant wrapping from all properties
|
|
||||||
* tests: Skip TestNetworkManager::test_one_wifi_with_accesspoints
|
|
||||||
with NM ≥ 1.49.3
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Nov 14 13:49:18 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
|
||||||
|
|
||||||
- Split test suite off into a 2nd flavor (:test) to avoid
|
|
||||||
buildcycle polkit -> upower -> python-dbusmock
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Oct 28 08:44:27 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
|
||||||
|
|
||||||
- Replace dbus-1-x11 Requires with /usr/bin/dbus=daemon: this
|
|
||||||
matches what the code actully uses and ensures we do not rely on
|
|
||||||
legacy packages as good as possile.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sun Aug 18 17:06:33 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
|
||||||
|
|
||||||
- update to 0.32.1:
|
|
||||||
* ModemManager: Add initial mock
|
|
||||||
* bluez5: Add advertising API
|
|
||||||
* Fix loading of libglib on macOS
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sat Mar 16 12:57:12 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
|
||||||
|
|
||||||
- update to 0.31.1:
|
|
||||||
* power_profiles_daemon: Move back to original D-Bus name to
|
|
||||||
avoid breaking compatibility
|
|
||||||
* Add upower_power_profiles_daemon template for version 0.20
|
|
||||||
API with new D-Bus name
|
|
||||||
- update to 0.31.0:
|
|
||||||
* power-profiles-daemon: Move to
|
|
||||||
org.freedesktop.UPower.PowerProfiles as in release 0.20.0
|
|
||||||
* NetworkManager: Add stub ipv4/6 properties in
|
|
||||||
AddWiFiConnection
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Sun Jan 21 17:35:02 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
|
||||||
|
|
||||||
- update to 0.30.2:
|
|
||||||
* bluez5: Fix invalid arguments to PairDevice
|
|
||||||
- update to 0.30.1:
|
|
||||||
* bluez: Clean up static default properties, re-drop
|
|
||||||
PairDevice() `class_` parameter
|
|
||||||
- update to 0.30.0:
|
|
||||||
* api: Add pytest support and helpers
|
|
||||||
* api: Factor the server spawning into a new SpawnedMock object
|
|
||||||
* cli: Add support for running custom commands on the mock
|
|
||||||
environment
|
|
||||||
- update to 0.29.1:
|
|
||||||
* spec: Update License: to SPDX format
|
|
||||||
- update to 0.29.0:
|
|
||||||
* Support loading templates from XDG_DATA_DIRS
|
|
||||||
* iio-sensors-proxy: Throw proper D-Bus errors instead of
|
|
||||||
Python Exception
|
|
||||||
- update to 0.28.7:
|
|
||||||
* blue5-obex template: Fix OBEX PullAll
|
|
||||||
* power_profiles template: Fix Actions property type
|
|
||||||
* README: Explain container tests and how to debug them
|
|
||||||
- update to 0.28.6:
|
|
||||||
* Fix generated _version.py in release tarball
|
|
||||||
- update to 0.28.4:
|
|
||||||
* setup.py: Fix ModuleNotFoundError
|
|
||||||
* ofono template: Fix conversion to f-strings (Debian #1015286)
|
|
||||||
* Ship FMF tests in release tarballs
|
|
||||||
- update to 0.28.3:
|
|
||||||
* Bring back dbusmock.__version__
|
|
||||||
- update to 0.28.2:
|
|
||||||
* Dynamically compute version with setuptools-scm
|
|
||||||
- update to 0.28.1:
|
|
||||||
* Again works on RHEL/CentOS 8 (0.27 broke there), now in CI
|
|
||||||
* Avoid glib GI dependency for main dbusmock, for running in
|
|
||||||
virtualenv (thanks Allison Karlitskaya)
|
|
||||||
- update to 0.27.5:
|
|
||||||
* bluez and accountsservice templates: Drop default arguments
|
|
||||||
from D-Bus methods (thanks Simon McVittie)
|
|
||||||
- update to 0.27.4:
|
|
||||||
* Fix D-Bus signature detection regression from 0.27.0
|
|
||||||
- update to 0.27.3:
|
|
||||||
* packit: Fix file name to sync
|
|
||||||
- update to 0.27.2:
|
|
||||||
* packit: Really fix Fedora dist-git syncing
|
|
||||||
- update to 0.27.1:
|
|
||||||
* packit: Fix Fedora dist-git syncing
|
|
||||||
- update to 0.27.0:
|
|
||||||
* Do not register standard session service directories, add API
|
|
||||||
to enable selected services (thanks Benjamin Berg)
|
|
||||||
* Log static method calls from templates (thanks Peter
|
|
||||||
Hutterer)
|
|
||||||
- update to 0.26.1:
|
|
||||||
* Fix README content type to Markdown, to fix releasing to PyPi
|
|
||||||
- update to 0.26.0:
|
|
||||||
* logind template: Add locking API (thanks Andy Holmes)
|
|
||||||
* bluez5 template: Add RemoveDevice() and
|
|
||||||
RemoveAdapterWithDevices() methods,
|
|
||||||
* fix properties (thanks Bastien Nocera)
|
|
||||||
* Documentation improvements, particularly wrt. raising errors
|
|
||||||
- update to 0.25.0:
|
|
||||||
* bluez template: Implement adapter discovery, connect,
|
|
||||||
disconnect, and removal
|
|
||||||
* Fix changing array properties (thanks Jonas Ådahl)
|
|
||||||
* Fix CLI upower tests (thanks Marco Trevisan)
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Wed Oct 11 01:31:56 UTC 2023 - Simon Lees <sflees@suse.de>
|
|
||||||
|
|
||||||
- dbusmock explicitly needs dbus-1-daemon to function (rather then
|
|
||||||
dbus-broker)
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 25 07:55:14 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
Tue Apr 25 07:55:14 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
@@ -171,7 +40,7 @@ Mon Dec 13 04:35:29 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
|
|||||||
* upower template: Drop support for 0.9 API
|
* upower template: Drop support for 0.9 API
|
||||||
* NetworkManager template: Handle NetworkingEnable
|
* NetworkManager template: Handle NetworkingEnable
|
||||||
* NetworkManager template: AddConnectionUnsaved
|
* NetworkManager template: AddConnectionUnsaved
|
||||||
* Drop support for Python 2
|
* Drop support for Python 2
|
||||||
- Add python-dataclasses to {Build,}Requires
|
- Add python-dataclasses to {Build,}Requires
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-python-dbusmock
|
# spec file for package python-python-dbusmock
|
||||||
#
|
#
|
||||||
# Copyright (c) 2025 SUSE LLC
|
# Copyright (c) 2023 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
|
||||||
@@ -16,39 +16,23 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%global flavor @BUILD_FLAVOR@%{nil}
|
Name: python-python-dbusmock
|
||||||
%if "%{flavor}" == "test"
|
Version: 0.24.1
|
||||||
%define psuffix -test
|
|
||||||
%bcond_without test
|
|
||||||
%else
|
|
||||||
%define psuffix %{nil}
|
|
||||||
%bcond_with test
|
|
||||||
%endif
|
|
||||||
Name: python-python-dbusmock%{psuffix}
|
|
||||||
Version: 0.34.2
|
|
||||||
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 dbus-python}
|
BuildRequires: %{python_module dbus-python}
|
||||||
BuildRequires: %{python_module gobject}
|
BuildRequires: %{python_module gobject}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
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)
|
||||||
# SECTION test requirements
|
Requires: dbus-1-x11
|
||||||
%if %{with test}
|
|
||||||
BuildRequires: %{python_module pytest}
|
|
||||||
BuildRequires: %{python_module python-dbusmock = %{version}}
|
|
||||||
BuildRequires: dbus-1-daemon
|
|
||||||
BuildRequires: upower
|
|
||||||
%endif
|
|
||||||
#/ SECTION
|
|
||||||
Requires: /usr/bin/dbus-daemon
|
|
||||||
Requires: python-dbus-python
|
Requires: python-dbus-python
|
||||||
Requires: python-gobject
|
Requires: python-gobject
|
||||||
Provides: python-dbusmock = %{version}
|
Provides: python-dbusmock = %{version}
|
||||||
@@ -66,28 +50,22 @@ such as upower, systemd, logind, gnome-session or others, and it is hard
|
|||||||
to what one may expect in tests.
|
to what one may expect in tests.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n python_dbusmock-%{version}
|
%autosetup -p1 -n python-dbusmock-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%if !%{with test}
|
|
||||||
%pyproject_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
%endif
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%if %{with test}
|
|
||||||
%pytest
|
%pytest
|
||||||
%endif
|
|
||||||
|
|
||||||
%if !%{with test}
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc NEWS README.md
|
%doc NEWS README.rst
|
||||||
%{python_sitelib}/dbusmock
|
%{python_sitelib}/dbusmock
|
||||||
%{python_sitelib}/python_dbusmock-%{version}*-info
|
%{python_sitelib}/python_dbusmock-%{version}*-info
|
||||||
%endif
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
BIN
python_dbusmock-0.34.2.tar.gz
(Stored with Git LFS)
BIN
python_dbusmock-0.34.2.tar.gz
(Stored with Git LFS)
Binary file not shown.
Reference in New Issue
Block a user