Compare commits
10 Commits
730db1d627
...
e4f4b8944a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e4f4b8944a | ||
|
|
f17150f7bf | ||
|
|
051560ec85 | ||
|
|
d457725103 | ||
|
|
7bd295bb6f | ||
|
|
db77116a5b | ||
|
|
6555114b6a | ||
|
|
5771606dcd | ||
|
|
1d2ed93d42 | ||
|
|
ab8ff56ac0 |
@ -1,4 +1,4 @@
|
|||||||
From 380ae714f641a73a30f86ae8f5a2e05ac063b37f Mon Sep 17 00:00:00 2001
|
From 86741aa93aaaf388899d1fa0c25d0d67729b7a5c Mon Sep 17 00:00:00 2001
|
||||||
From: leigh123linux <leigh123linux@googlemail.com>
|
From: leigh123linux <leigh123linux@googlemail.com>
|
||||||
Date: Tue, 23 Feb 2016 07:32:08 +0000
|
Date: Tue, 23 Feb 2016 07:32:08 +0000
|
||||||
Subject: [PATCH] Move python modules to architecture-specific directory
|
Subject: [PATCH] Move python modules to architecture-specific directory
|
||||||
@ -7,14 +7,14 @@ This is because dbus-python gets dragged in as a dependency of other
|
|||||||
things people want to be multilib-compatible. As is the Python
|
things people want to be multilib-compatible. As is the Python
|
||||||
modules conflict.
|
modules conflict.
|
||||||
---
|
---
|
||||||
Makefile.am | 9 +++++----
|
Makefile.am | 7 ++++---
|
||||||
1 file changed, 5 insertions(+), 4 deletions(-)
|
1 file changed, 4 insertions(+), 3 deletions(-)
|
||||||
|
|
||||||
diff --git a/Makefile.am b/Makefile.am
|
diff --git a/Makefile.am b/Makefile.am
|
||||||
index fd480d4..0859994 100644
|
index 8738d57..b6d30c0 100644
|
||||||
--- a/Makefile.am
|
--- a/Makefile.am
|
||||||
+++ b/Makefile.am
|
+++ b/Makefile.am
|
||||||
@@ -155,7 +155,8 @@ test_dbus_py_test_la_SOURCES = \
|
@@ -176,7 +176,8 @@ test_dbus_py_test_la_SOURCES = \
|
||||||
|
|
||||||
# === dbus package ===
|
# === dbus package ===
|
||||||
|
|
||||||
@ -24,29 +24,24 @@ index fd480d4..0859994 100644
|
|||||||
dbus/bus.py \
|
dbus/bus.py \
|
||||||
dbus/connection.py \
|
dbus/connection.py \
|
||||||
dbus/_compat.py \
|
dbus/_compat.py \
|
||||||
@@ -175,12 +176,12 @@ nobase_python_PYTHON = \
|
@@ -195,7 +196,7 @@ nobase_python_PYTHON = \
|
||||||
|
dbus/service.py \
|
||||||
dbus/types.py
|
dbus/types.py
|
||||||
|
|
||||||
if !HAVE_PYTHON_3
|
|
||||||
-nobase_python_PYTHON += \
|
|
||||||
+nobase_dbuspy_DATA += \
|
|
||||||
dbus/gobject_service.py \
|
|
||||||
$(NULL)
|
|
||||||
endif
|
|
||||||
|
|
||||||
-check_py_sources = $(nobase_python_PYTHON)
|
-check_py_sources = $(nobase_python_PYTHON)
|
||||||
+check_py_sources = $(nobase_dbuspy_DATA)
|
+check_py_sources = $(nobase_dbuspy_DATA)
|
||||||
include $(top_srcdir)/tools/check-coding-style.mk
|
include $(top_srcdir)/tools/check-coding-style.mk
|
||||||
|
|
||||||
# === Devel stuff ===
|
# === Devel stuff ===
|
||||||
@@ -416,7 +417,7 @@ uninstall-local: uninstall-local-sphinx
|
@@ -434,7 +435,7 @@ uninstall-local-pycache:
|
||||||
if ENABLE_DOCUMENTATION
|
if ENABLE_DOCUMENTATION
|
||||||
all: doc/_build/.stamp
|
all: doc/html/.stamp
|
||||||
|
|
||||||
-doc/_build/.stamp: $(nobase_python_PYTHON) \
|
-doc/html/.stamp: $(nobase_python_PYTHON) \
|
||||||
+doc/_build/.stamp: $(nobase_dbuspy_DATA) \
|
+doc/html/.stamp: $(nobase_dbuspy_DATA) \
|
||||||
_dbus_bindings.la \
|
_dbus_bindings.la \
|
||||||
_dbus_glib_bindings.la \
|
_dbus_glib_bindings.la \
|
||||||
$(sphinx_sources) \
|
$(sphinx_sources) \
|
||||||
--
|
--
|
||||||
2.17.0
|
2.37.3
|
||||||
|
|
||||||
|
|||||||
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.3.2.tar.gz
Normal file
BIN
dbus-python-1.3.2.tar.gz
Normal file
Binary file not shown.
16
dbus-python-1.3.2.tar.gz.asc
Normal file
16
dbus-python-1.3.2.tar.gz.asc
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
|
iQIzBAABCAAdFiEENuxaZEik9e95vv6Y4FrhR4+BTE8FAmMXr9sACgkQ4FrhR4+B
|
||||||
|
TE+guQ//SUYy6BjqfaaZIiWcPWDFiX6KRRHQBuzg/hcRXuktAIzvRcNuG7vmgcez
|
||||||
|
L+DJleH5nsAjf238p052uxqrqnb9TPH4fIeB3E6V/E2GjgNG7sJXNKHc/4XNI1b1
|
||||||
|
5FXYkHDCUcelH7E4dllllSLUSqXPtnX3nm7JrMXKi6kwaSNvXSQdrsAMWfydbwNU
|
||||||
|
rMKSrqzrLmtHAYkOTb40Dyy4sUcfKV8ZuDYo5KdYMzpY7/wb8X5e4Teye3CXProm
|
||||||
|
qh9Mc7Wvdb6cLXrJnXyOHF1CjXwHWG0kuNMm32qkB2KYZZR3KSDOlkjLOabycem3
|
||||||
|
bUhiKiQlNKlz+C6T9WLb8Hg6no+vLRjD62/sSX/cVgueDoS8nxzRJfwCGepK8kpv
|
||||||
|
2IwDIfoTeZfsz96E/OiHFzs9fpxEAak2jdlONoFeAPrxRCUZJDH7mPeKfn1dLpN6
|
||||||
|
orBbCM+QvTX5NJG3xj3OwVU7/5E3uX52LsYZcOvIpjQwXFtL58Fo7m7bCBuUItKr
|
||||||
|
r0Ono5De52eULI30YWeVMOBuRMGxppKvxNEz3gvxd15EM7L8QxZlqGqgFV+NtOP2
|
||||||
|
D+kcRtWc8Doc6BPi9PMmHBo65U/mVwJwBMjr9jKsnuRG5RD+Pl46++/PgFV2M3Pq
|
||||||
|
0ucdoiXjVyhLuWUSV4T3i2OXyC8hqfiXaxgvF/DVCChOSWL7mEY=
|
||||||
|
=lkWO
|
||||||
|
-----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.3.2
|
||||||
Release: 2
|
Release: 1
|
||||||
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: 0001-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 python3-pip python3-wheel
|
||||||
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,28 @@ developing applications that use %{name}.
|
|||||||
%build
|
%build
|
||||||
autoreconf -vif
|
autoreconf -vif
|
||||||
|
|
||||||
mkdir -p python3-build
|
export DBUS_PYTHON_USE_AUTOTOOLS=1
|
||||||
pushd python3-build; %configure PYTHON="%{__python3}"
|
install -d %{python3dir}
|
||||||
%make_build; popd
|
cp -a . %{python3dir}
|
||||||
|
mv %{python3dir} python3-build
|
||||||
|
|
||||||
|
pushd python3-build
|
||||||
|
%py3_build
|
||||||
|
%configure PYTHON="%{__python3}"
|
||||||
|
%make_build
|
||||||
|
popd
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install -C python3-build
|
export DBUS_PYTHON_USE_AUTOTOOLS=1
|
||||||
find %{buildroot} -name '*.la' -delete
|
pushd python3-build
|
||||||
|
%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
|
||||||
|
|
||||||
@ -66,9 +80,9 @@ make check -k -C python3-build
|
|||||||
|
|
||||||
%files -n python3-dbus
|
%files -n python3-dbus
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%{python3_sitearch}/_dbus_bindings.so
|
%{python3_sitearch}/*.so
|
||||||
%{python3_sitearch}/_dbus_glib_bindings.so
|
|
||||||
%{python3_sitearch}/dbus/
|
%{python3_sitearch}/dbus/
|
||||||
|
%{python3_sitearch}/dbus_python*egg-info
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_includedir}/dbus-1.0/dbus/%{name}.h
|
%{_includedir}/dbus-1.0/dbus/%{name}.h
|
||||||
@ -78,6 +92,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 Oct 17 2022 dillon chen <dillon.chen@gmail.com> - 1.3.2-1
|
||||||
|
- update to 1.3.2
|
||||||
|
|
||||||
|
* Mon Dec 06 2021 herengui <herengui@uniontech.com> - 1.2.18-3
|
||||||
|
- Type:update
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC: 1. correct licenses; 2. provides pythonXdist
|
||||||
|
|
||||||
|
* 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