summaryrefslogtreecommitdiff
path: root/0001-Move-python-modules-to-architecture-specific-directo.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-03-24 16:30:12 +0000
committerCoprDistGit <infra@openeuler.org>2025-03-24 16:30:12 +0000
commit3f182baef530be5055d5969d1b493d4d547cd1f7 (patch)
tree51f89101aa82c93ef32f9de4fec1fc5b2f285b0a /0001-Move-python-modules-to-architecture-specific-directo.patch
parentf2b706711520d42bcff3236c0b1c52a0de046fe0 (diff)
automatic import of dbus-python
Diffstat (limited to '0001-Move-python-modules-to-architecture-specific-directo.patch')
-rw-r--r--0001-Move-python-modules-to-architecture-specific-directo.patch47
1 files changed, 47 insertions, 0 deletions
diff --git a/0001-Move-python-modules-to-architecture-specific-directo.patch b/0001-Move-python-modules-to-architecture-specific-directo.patch
new file mode 100644
index 0000000..480a5f3
--- /dev/null
+++ b/0001-Move-python-modules-to-architecture-specific-directo.patch
@@ -0,0 +1,47 @@
+From 86741aa93aaaf388899d1fa0c25d0d67729b7a5c Mon Sep 17 00:00:00 2001
+From: leigh123linux <leigh123linux@googlemail.com>
+Date: Tue, 23 Feb 2016 07:32:08 +0000
+Subject: [PATCH] Move python modules to architecture-specific directory
+
+This is because dbus-python gets dragged in as a dependency of other
+things people want to be multilib-compatible. As is the Python
+modules conflict.
+---
+ Makefile.am | 7 ++++---
+ 1 file changed, 4 insertions(+), 3 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 8738d57..b6d30c0 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -176,7 +176,8 @@ test_dbus_py_test_la_SOURCES = \
+
+ # === dbus package ===
+
+-nobase_python_PYTHON = \
++dbuspydir = $(pyexecdir)
++nobase_dbuspy_DATA = \
+ dbus/bus.py \
+ dbus/connection.py \
+ dbus/_compat.py \
+@@ -195,7 +196,7 @@ nobase_python_PYTHON = \
+ dbus/service.py \
+ dbus/types.py
+
+-check_py_sources = $(nobase_python_PYTHON)
++check_py_sources = $(nobase_dbuspy_DATA)
+ include $(top_srcdir)/tools/check-coding-style.mk
+
+ # === Devel stuff ===
+@@ -434,7 +435,7 @@ uninstall-local-pycache:
+ if ENABLE_DOCUMENTATION
+ all: doc/html/.stamp
+
+-doc/html/.stamp: $(nobase_python_PYTHON) \
++doc/html/.stamp: $(nobase_dbuspy_DATA) \
+ _dbus_bindings.la \
+ _dbus_glib_bindings.la \
+ $(sphinx_sources) \
+--
+2.37.3
+