Sync from SUSE:SLFO:Main python-python-dbusmock revision e4caa13e5cdd84315d457abe1e2b2825
This commit is contained in:
parent
1872a4662f
commit
c2dc329d9b
4
_multibuild
Normal file
4
_multibuild
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<multibuild>
|
||||||
|
<package>test</package>
|
||||||
|
</multibuild>
|
||||||
|
|
BIN
python-dbusmock-0.32.1.tar.gz
(Stored with Git LFS)
BIN
python-dbusmock-0.32.1.tar.gz
(Stored with Git LFS)
Binary file not shown.
@ -1,3 +1,39 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Sun Aug 18 17:06:33 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-python-dbusmock
|
# 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
|
# 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,25 +16,39 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: python-python-dbusmock
|
%global flavor @BUILD_FLAVOR@%{nil}
|
||||||
Version: 0.32.1
|
%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
|
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 pytest}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: dbus-1-daemon
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: upower
|
|
||||||
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
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-dbus-python
|
||||||
Requires: python-gobject
|
Requires: python-gobject
|
||||||
Provides: python-dbusmock = %{version}
|
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.
|
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.md
|
||||||
%{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)
Normal file
BIN
python_dbusmock-0.34.2.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user