!28 update to 1.3.2

From: @dillon_chen 
Reviewed-by: @overweight 
Signed-off-by: @overweight
This commit is contained in:
openeuler-ci-bot 2022-11-03 01:28:51 +00:00 committed by Gitee
commit e4f4b8944a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
6 changed files with 39 additions and 40 deletions

View File

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

Binary file not shown.

View File

@ -1,16 +0,0 @@
-----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-----

BIN
dbus-python-1.3.2.tar.gz Normal file

Binary file not shown.

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

View File

@ -2,8 +2,8 @@
%global python3dir %{_builddir}/python3-%{name}-%{version}-%{release} %global python3dir %{_builddir}/python3-%{name}-%{version}-%{release}
Name: dbus-python Name: dbus-python
Version: 1.2.18 Version: 1.3.2
Release: 3 Release: 1
Summary: original Python binding for dbus Summary: original Python binding for dbus
License: MIT and (AFL-2.1 or GPL-2.0-or-later) 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/
@ -13,7 +13,7 @@ Patch0: 0001-Move-python-modules-to-architecture-specific-directo.patch
Patch1: Fix-deprecation-warnings-due-to-invalid-escape-seque.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 BuildRequires: autoconf-archive automake libtool
%description %description
@ -47,6 +47,7 @@ developing applications that use %{name}.
%build %build
autoreconf -vif autoreconf -vif
export DBUS_PYTHON_USE_AUTOTOOLS=1
install -d %{python3dir} install -d %{python3dir}
cp -a . %{python3dir} cp -a . %{python3dir}
mv %{python3dir} python3-build mv %{python3dir} python3-build
@ -58,6 +59,7 @@ pushd python3-build
popd popd
%install %install
export DBUS_PYTHON_USE_AUTOTOOLS=1
pushd python3-build pushd python3-build
%py3_install %py3_install
%make_install %make_install
@ -78,10 +80,9 @@ make check -k -C python3-build || (cat python3-build/test-suite.log && true)
%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-%{version}-py%{python3_version}.egg-info %{python3_sitearch}/dbus_python*egg-info
%files devel %files devel
%{_includedir}/dbus-1.0/dbus/%{name}.h %{_includedir}/dbus-1.0/dbus/%{name}.h
@ -91,6 +92,9 @@ make check -k -C python3-build || (cat python3-build/test-suite.log && true)
%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 * Mon Dec 06 2021 herengui <herengui@uniontech.com> - 1.2.18-3
- Type:update - Type:update
- ID:NA - ID:NA