Compare commits
10 Commits
730db1d627
...
49798ce614
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
49798ce614 | ||
|
|
fb04925745 | ||
|
|
94b2d68aa5 | ||
|
|
afa2e128f2 | ||
|
|
1e397741c8 | ||
|
|
b7a6d8c444 | ||
|
|
84848cca4c | ||
|
|
5771606dcd | ||
|
|
1d2ed93d42 | ||
|
|
ab8ff56ac0 |
39
Fix-deprecation-warnings-due-to-invalid-escape-seque.patch
Normal file
39
Fix-deprecation-warnings-due-to-invalid-escape-seque.patch
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
From e4a898cfea9cc7f8a1f82e93029d40881b4b6739 Mon Sep 17 00:00:00 2001
|
||||||
|
From: openEuler Buildteam <buildteam@openeuler.org>
|
||||||
|
Date: Fri, 27 Aug 2021 15:50:50 +0800
|
||||||
|
Subject: [PATCH] Fix deprecation warnings due to invalid escape sequences
|
||||||
|
|
||||||
|
---
|
||||||
|
dbus/connection.py | 2 +-
|
||||||
|
dbus/proxies.py | 2 +-
|
||||||
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/dbus/connection.py b/dbus/connection.py
|
||||||
|
index f5c8dd9..8895fc9 100644
|
||||||
|
--- a/dbus/connection.py
|
||||||
|
+++ b/dbus/connection.py
|
||||||
|
@@ -334,7 +334,7 @@ class Connection(_Connection):
|
||||||
|
bus_name=None,
|
||||||
|
path=None,
|
||||||
|
**keywords):
|
||||||
|
- """Arrange for the given function to be called when a signal matching
|
||||||
|
+ r"""Arrange for the given function to be called when a signal matching
|
||||||
|
the parameters is received.
|
||||||
|
|
||||||
|
:Parameters:
|
||||||
|
diff --git a/dbus/proxies.py b/dbus/proxies.py
|
||||||
|
index 5852046..9b72542 100644
|
||||||
|
--- a/dbus/proxies.py
|
||||||
|
+++ b/dbus/proxies.py
|
||||||
|
@@ -304,7 +304,7 @@ class ProxyObject(object):
|
||||||
|
# """)
|
||||||
|
|
||||||
|
def connect_to_signal(self, signal_name, handler_function, dbus_interface=None, **keywords):
|
||||||
|
- """Arrange for the given function to be called when the given signal
|
||||||
|
+ r"""Arrange for the given function to be called when the given signal
|
||||||
|
is received.
|
||||||
|
|
||||||
|
:Parameters:
|
||||||
|
--
|
||||||
|
1.8.3.1
|
||||||
|
|
||||||
Binary file not shown.
@ -1,16 +0,0 @@
|
|||||||
-----BEGIN PGP SIGNATURE-----
|
|
||||||
|
|
||||||
iQIzBAABCAAdFiEENuxaZEik9e95vv6Y4FrhR4+BTE8FAl4djeUACgkQ4FrhR4+B
|
|
||||||
TE8O7Q/+LLFCRTgSKyQAAL/s4lHKrYdvA+SKBOC4AcJQskMgDCuUQJ8pNdpxKCM4
|
|
||||||
rt2Y6Vu5f536LBBa5LhgSXxz2ylHp1QS8ch4xXOKCF84cgNPjo6HF2eZ8ekDUJuC
|
|
||||||
wgcR+i9uNgUWa058ub9ksQUH9vYJvrmCXj0gN179rmBkrS9hmWy/k7doWQkzd4qZ
|
|
||||||
fl7o+25U2oxpvAyF2OsaTtgki77RxggOx609iTi0lNF0ouGcYGyWDO2VcW7bACQx
|
|
||||||
fAxcoIvhNBQxmzrYpGT9sne1SiZnYZb0dY8DcndHsUYdrO6Uqizx3BKYhhXGBV7n
|
|
||||||
nIKXQN7zLPvPPV9o6SPUkCB+bjbJMGxs0JJv/C03DftjOPT3dxly9IxtrEdIVp4n
|
|
||||||
S1gCeN2IvjM7B6BTsVEC7VRdSPhdeQlRXeuejvXb9kKSjuTy9cusJ2t9Li8gZPgh
|
|
||||||
783xAZdvQfaZkI7jl6Ha5GwZOMSF075Upfx3HAIRGODsSmVy9xqYYolqLzM3qxvE
|
|
||||||
ejuEeDGE9Yh/Hqcs5mq9A7i+z/L3HQXeLdUn8fBmJ77srBZzTqE/ktT5xT7X/9S4
|
|
||||||
X9umFn++Oujjw2XWbUhJ5bH1tVvEpKtRHU73GT72Ueo7TBbzej8ST15PCsSbRpwk
|
|
||||||
tC1Govkki92VQgMHJQDGwYDS+2VJsYANEZS4tcT/ucH6TCITPbU=
|
|
||||||
=xD/3
|
|
||||||
-----END PGP SIGNATURE-----
|
|
||||||
BIN
dbus-python-1.2.18.tar.gz
Normal file
BIN
dbus-python-1.2.18.tar.gz
Normal file
Binary file not shown.
16
dbus-python-1.2.18.tar.gz.asc
Normal file
16
dbus-python-1.2.18.tar.gz.asc
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
|
iQIzBAABCAAdFiEENuxaZEik9e95vv6Y4FrhR4+BTE8FAmD2m9QACgkQ4FrhR4+B
|
||||||
|
TE+OYg/+KbSBEGZtRgcMAsU2SOn88m1Uf3aXm41s7Vg8gMOd3zwQ8emVQP7EbcVu
|
||||||
|
6l+RddGVEWltucdoPsppzTnaNgcWDt9+0KNLzBiqROGJwi6BLKl+ZsDaQGq0DPT2
|
||||||
|
pV1lBXg0bnivak5CHOCkmKcK1dUr3A9RBDR7YCMN/Uv2jCv7Ci7ZE//NMlB0Teax
|
||||||
|
Pv9j45KHKZ/LNJLBuZ0AE2JL4LbSrvsZfDacXcRdWzqtZTchCzQ5tccQzgRtBgSC
|
||||||
|
NQnBOtew4eVclD7DQ6zPOMElaK81JgtVDcg3tm/KEser1BrHQNi45gmWhfkiHgQN
|
||||||
|
6gDEnkWFTx+fo7GNU2/XpG1CQ/MgwAr9Led9tdJl01mw730Did4Y2TB2/4ZXQsSz
|
||||||
|
UAvcqxJORU/oafGZtVI5nC1n30Q5M53fr2zGV9Pf0/9pfy8gH0Dm76tE9yjim3FJ
|
||||||
|
iMXGV31eQWnnRqvlVD8U6CStVnmz8ZuPADSon65HTZYlplK7oZp8oYZG8R2nEIED
|
||||||
|
yvbFqWhSJAqdKz2xpQ6OMzs5OlQe2UTj0XKfZlqKe8DFot2d1oJjMp1cg6rvKqg4
|
||||||
|
ZjswqyzKTHLRs7fO/0kB9DgzMIs1KujurI1lzJwPoODefh/mybnU+FBlr6OrSHvS
|
||||||
|
/TQ+OdU0PZDsxJCH5+ezh3HW8yuY08Nc08dHkyjh8ENx7MiRhlw=
|
||||||
|
=JTFX
|
||||||
|
-----END PGP SIGNATURE-----
|
||||||
@ -1,18 +1,20 @@
|
|||||||
%global _configure ../configure
|
%global _configure ../configure
|
||||||
|
%global python3dir %{_builddir}/python3-%{name}-%{version}-%{release}
|
||||||
|
|
||||||
Name: dbus-python
|
Name: dbus-python
|
||||||
Version: 1.2.16
|
Version: 1.2.18
|
||||||
Release: 2
|
Release: 5
|
||||||
Summary: original Python binding for dbus
|
Summary: original Python binding for dbus
|
||||||
License: MIT
|
License: MIT and (AFL-2.1 or GPL-2.0-or-later)
|
||||||
URL: http://www.freedesktop.org/wiki/Software/DBusBindings/
|
URL: http://www.freedesktop.org/wiki/Software/DBusBindings/
|
||||||
Source0: http://dbus.freedesktop.org/releases/dbus-python/%{name}-%{version}.tar.gz
|
Source0: http://dbus.freedesktop.org/releases/dbus-python/%{name}-%{version}.tar.gz
|
||||||
Source1: http://dbus.freedesktop.org/releases/dbus-python/%{name}-%{version}.tar.gz.asc
|
Source1: http://dbus.freedesktop.org/releases/dbus-python/%{name}-%{version}.tar.gz.asc
|
||||||
Patch0: 0001-Move-python-modules-to-architecture-specific-directo.patch
|
Patch0: Move-python-modules-to-architecture-specific-directo.patch
|
||||||
|
Patch1: Fix-deprecation-warnings-due-to-invalid-escape-seque.patch
|
||||||
|
|
||||||
BuildRequires: dbus-devel dbus-glib-devel glib2-devel
|
BuildRequires: dbus-devel dbus-glib-devel glib2-devel
|
||||||
BuildRequires: dbus-x11 python3-gobject
|
BuildRequires: dbus-x11 python3-gobject
|
||||||
BuildRequires: autoconf-archive automake libtool gdb
|
BuildRequires: autoconf-archive automake libtool
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Dbus-python is the original Python binding for dbus, the reference
|
Dbus-python is the original Python binding for dbus, the reference
|
||||||
@ -45,16 +47,26 @@ developing applications that use %{name}.
|
|||||||
%build
|
%build
|
||||||
autoreconf -vif
|
autoreconf -vif
|
||||||
|
|
||||||
mkdir -p python3-build
|
install -d %{python3dir}
|
||||||
pushd python3-build; %configure PYTHON="%{__python3}"
|
cp -a . %{python3dir}
|
||||||
%make_build; popd
|
mv %{python3dir} python3-build
|
||||||
|
|
||||||
|
pushd python3-build
|
||||||
|
%py3_build
|
||||||
|
%configure PYTHON="%{__python3}"
|
||||||
|
%make_build
|
||||||
|
popd
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install -C python3-build
|
pushd python3-build
|
||||||
find %{buildroot} -name '*.la' -delete
|
%py3_install
|
||||||
|
%make_install
|
||||||
|
popd
|
||||||
|
|
||||||
|
%delete_la
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make check -k -C python3-build
|
make check -k -C python3-build || (cat python3-build/test-suite.log && true)
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
|
|
||||||
@ -69,6 +81,7 @@ make check -k -C python3-build
|
|||||||
%{python3_sitearch}/_dbus_bindings.so
|
%{python3_sitearch}/_dbus_bindings.so
|
||||||
%{python3_sitearch}/_dbus_glib_bindings.so
|
%{python3_sitearch}/_dbus_glib_bindings.so
|
||||||
%{python3_sitearch}/dbus/
|
%{python3_sitearch}/dbus/
|
||||||
|
%{python3_sitearch}/dbus_python-%{version}-py%{python3_version}.egg-info
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_includedir}/dbus-1.0/dbus/%{name}.h
|
%{_includedir}/dbus-1.0/dbus/%{name}.h
|
||||||
@ -78,6 +91,22 @@ make check -k -C python3-build
|
|||||||
%doc NEWS ChangeLog README doc/API_CHANGES.txt doc/tutorial.txt
|
%doc NEWS ChangeLog README doc/API_CHANGES.txt doc/tutorial.txt
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jun 19 2023 hongjinghao <hongjinghao@huawei.com> - 1.2.18-5
|
||||||
|
- Standardize the patch name
|
||||||
|
|
||||||
|
* Wed Jan 11 2023 hongjinghao <hongjinghao@huawei.com> - 1.2.18-4
|
||||||
|
- correct licenses and provide pythonXdist
|
||||||
|
|
||||||
|
* Tue Oct 25 2022 zhangruifang <zhangruifang1@h-partners.com> - 1.2.18-3
|
||||||
|
- Rebuild for next release
|
||||||
|
|
||||||
|
* Fri Aug 27 2021 panxiaohe <panxiaohe@huawei.com> - 1.2.18-2
|
||||||
|
- Fix deprecation warnings due to invalid escape sequences
|
||||||
|
|
||||||
|
* Fri Jul 30 2021 panxiaohe <panxiaohe@huawei.com> - 1.2.18-1
|
||||||
|
- update to 1.2.18
|
||||||
|
- remove unnecessary BuildRequires: gdb
|
||||||
|
|
||||||
* Thu Oct 29 2020 panxiaohe <panxiaohe@huawei.com> - 1.2.16-2
|
* Thu Oct 29 2020 panxiaohe <panxiaohe@huawei.com> - 1.2.16-2
|
||||||
- Type:requirement
|
- Type:requirement
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user