17
0

9 Commits

Author SHA256 Message Date
a1af8f76f6 Accepting request 1240188 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1240188
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-dbusmock?expand=0&rev=15
2025-01-25 18:10:14 +00:00
1d5c50b78d Accepting request 1240129 from home:jtorres:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1240129
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-dbusmock?expand=0&rev=37
2025-01-24 15:43:12 +00:00
0e66f031ca Accepting request 1239778 from home:jtorres:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1239778
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-dbusmock?expand=0&rev=36
2025-01-24 09:58:56 +00:00
a028b57c74 Accepting request 1224214 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1224214
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-dbusmock?expand=0&rev=14
2024-11-17 15:39:36 +00:00
3ce6d7974e Accepting request 1224213 from home:dimstar:Factory
- Split test suite off into a 2nd flavor (:test) to avoid
  buildcycle polkit -> upower -> python-dbusmock

OBS-URL: https://build.opensuse.org/request/show/1224213
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-dbusmock?expand=0&rev=34
2024-11-14 13:55:20 +00:00
6b7c47addb Accepting request 1218777 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1218777
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-dbusmock?expand=0&rev=13
2024-11-01 20:00:37 +00:00
1d36f60e06 Accepting request 1218737 from home:dimstar:Factory
- 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.

OBS-URL: https://build.opensuse.org/request/show/1218737
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-dbusmock?expand=0&rev=32
2024-10-28 10:22:57 +00:00
f6d1b87a11 Accepting request 1194576 from devel:languages:python
- update to 0.32.1:
  * ModemManager: Add initial mock
  * bluez5: Add advertising API
  * Fix loading of libglib on macOS

OBS-URL: https://build.opensuse.org/request/show/1194576
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-dbusmock?expand=0&rev=12
2024-08-20 14:12:28 +00:00
2d634eea24 - update to 0.32.1:
* ModemManager: Add initial mock
  * bluez5: Add advertising API
  * Fix loading of libglib on macOS

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-dbusmock?expand=0&rev=30
2024-08-18 17:07:08 +00:00
5 changed files with 80 additions and 12 deletions

4
_multibuild Normal file
View File

@@ -0,0 +1,4 @@
<multibuild>
<package>test</package>
</multibuild>

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b23b8e1b51fe2a9b13e617fff6b60b3ed8e536c080cf3498019d223678d5ea49
size 98739

View File

@@ -1,3 +1,47 @@
-------------------------------------------------------------------
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>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-python-dbusmock
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,25 +16,39 @@
#
Name: python-python-dbusmock
Version: 0.31.1
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"
%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
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
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 setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: dbus-1-daemon
BuildRequires: fdupes
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
BuildRequires: upower
BuildRequires: pkgconfig(gobject-introspection-1.0)
Requires: dbus-1-x11
# SECTION test requirements
%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-gobject
Provides: python-dbusmock = %{version}
@@ -52,22 +66,28 @@ such as upower, systemd, logind, gnome-session or others, and it is hard
to what one may expect in tests.
%prep
%autosetup -p1 -n python-dbusmock-%{version}
%autosetup -p1 -n python_dbusmock-%{version}
%build
%pyproject_wheel
%install
%if !%{with test}
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%endif
%check
%if %{with test}
%pytest
%endif
%if !%{with test}
%files %{python_files}
%license COPYING
%doc NEWS README.md
%{python_sitelib}/dbusmock
%{python_sitelib}/python_dbusmock-%{version}*-info
%endif
%changelog

BIN
python_dbusmock-0.34.2.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.