14
0
forked from pool/python-pydbus

- Convert to pip-based build

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pydbus?expand=0&rev=5
This commit is contained in:
2025-06-04 10:10:37 +00:00
committed by Git OBS Bridge
parent 961c790fd4
commit 0ce9e62bf2
2 changed files with 18 additions and 11 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jun 4 10:10:13 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Oct 14 13:11:40 UTC 2018 - Sebastian Wagner <sebix+novell.com@sebix.at> Sun Oct 14 13:11:40 UTC 2018 - Sebastian Wagner <sebix+novell.com@sebix.at>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pydbus # spec file for package python-pydbus
# #
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # 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
@@ -12,25 +12,26 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pydbus Name: python-pydbus
Version: 0.6.0 Version: 0.6.0
Release: 0 Release: 0
License: LGPL-2.1+
Summary: Pythonic DBus library Summary: Pythonic DBus library
Url: https://github.com/LEW21/pydbus License: LGPL-2.1-or-later
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/LEW21/pydbus
Source: https://files.pythonhosted.org/packages/source/p/pydbus/pydbus-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/pydbus/pydbus-%{version}.tar.gz
BuildRequires: python-rpm-macros BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
Requires: python-gobject BuildRequires: python-rpm-macros
Requires: girepository-1_0 Requires: girepository-1_0
Requires: python-gobject
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages
%description %description
@@ -40,14 +41,15 @@ A dbus library for Python.
%setup -q -n pydbus-%{version} %setup -q -n pydbus-%{version}
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files} %files %{python_files}
%{python_sitelib}/* %{python_sitelib}/pydbus
%{python_sitelib}/pydbus-%{version}*-info
%license LICENSE %license LICENSE
%doc README.rst %doc README.rst