Compare commits

..

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
49798ce614
!36 [sync] PR-35: 补丁名去除000前缀
From: @openeuler-sync-bot 
Reviewed-by: @licunlong 
Signed-off-by: @licunlong
2023-06-25 02:35:38 +00:00
hongjinghao
fb04925745 Standardize the path name
(cherry picked from commit 1dcdb0c6c245892de41512c60dbdaa74b01dec88)
2023-06-19 21:21:10 +08:00
openeuler-ci-bot
94b2d68aa5
!33 PR-20: 修改 License, python3 子包提供 pythonXdist 符号
From: @hongjinghao 
Reviewed-by: @overweight 
Signed-off-by: @overweight
2023-01-11 03:56:25 +00:00
hongjinghao
afa2e128f2 correct licenses and provides pythonXdist 2023-01-11 11:37:29 +08:00
openeuler-ci-bot
1e397741c8
!29 【轻量级 PR】:Rebuild for next release
From: @zhangruifang2020 
Reviewed-by: @openeuler-basic 
Signed-off-by: @openeuler-basic
2022-10-26 07:15:50 +00:00
张瑞方
b7a6d8c444
Rebuild for next release
Signed-off-by: 张瑞方 <xdzhangruifang@163.com>
2022-10-25 03:49:23 +00:00
openeuler-ci-bot
84848cca4c !12 Fix deprecation warnings due to invalid escape sequences
From: @panxh_purple
Reviewed-by: @overweight
Signed-off-by: @overweight
2021-08-28 06:04:33 +00:00
panxiaohe
5771606dcd Fix deprecation warnings due to invalid escape sequences 2021-08-27 16:42:33 +08:00
openeuler-ci-bot
1d2ed93d42 !10 update to 1.2.18 and remove unnecessary BuildRequires: gdb
From: @panxh_purple
Reviewed-by: @xiezhipeng1
Signed-off-by: @xiezhipeng1
2021-07-30 11:08:25 +00:00
panxiaohe
ab8ff56ac0 update to 1.2.18 and remove unnecessary BuildRequires: gdb 2021-07-30 18:27:52 +08:00
7 changed files with 95 additions and 27 deletions

View 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.

View File

@ -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

Binary file not shown.

View 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-----

View File

@ -1,18 +1,20 @@
%global _configure ../configure
%global python3dir %{_builddir}/python3-%{name}-%{version}-%{release}
Name: dbus-python
Version: 1.2.16
Release: 2
Version: 1.2.18
Release: 5
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/
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
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-x11 python3-gobject
BuildRequires: autoconf-archive automake libtool gdb
BuildRequires: autoconf-archive automake libtool
%description
Dbus-python is the original Python binding for dbus, the reference
@ -45,16 +47,26 @@ developing applications that use %{name}.
%build
autoreconf -vif
mkdir -p python3-build
pushd python3-build; %configure PYTHON="%{__python3}"
%make_build; popd
install -d %{python3dir}
cp -a . %{python3dir}
mv %{python3dir} python3-build
pushd python3-build
%py3_build
%configure PYTHON="%{__python3}"
%make_build
popd
%install
%make_install -C python3-build
find %{buildroot} -name '*.la' -delete
pushd python3-build
%py3_install
%make_install
popd
%delete_la
%check
make check -k -C python3-build
make check -k -C python3-build || (cat python3-build/test-suite.log && true)
%pre
@ -69,6 +81,7 @@ make check -k -C python3-build
%{python3_sitearch}/_dbus_bindings.so
%{python3_sitearch}/_dbus_glib_bindings.so
%{python3_sitearch}/dbus/
%{python3_sitearch}/dbus_python-%{version}-py%{python3_version}.egg-info
%files devel
%{_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
%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
- Type:requirement
- ID:NA