Blame SOURCES/0001-Move-python-modules-to-architecture-specific-directo.patch

fd1cf0
From 380ae714f641a73a30f86ae8f5a2e05ac063b37f Mon Sep 17 00:00:00 2001
fd1cf0
From: leigh123linux <leigh123linux@googlemail.com>
fd1cf0
Date: Tue, 23 Feb 2016 07:32:08 +0000
fd1cf0
Subject: [PATCH] Move python modules to architecture-specific directory
fd1cf0
fd1cf0
This is because dbus-python gets dragged in as a dependency of other
fd1cf0
things people want to be multilib-compatible.  As is the Python
fd1cf0
modules conflict.
fd1cf0
---
fd1cf0
 Makefile.am | 9 +++++----
fd1cf0
 1 file changed, 5 insertions(+), 4 deletions(-)
fd1cf0
fd1cf0
diff --git a/Makefile.am b/Makefile.am
fd1cf0
index fd480d4..0859994 100644
fd1cf0
--- a/Makefile.am
fd1cf0
+++ b/Makefile.am
fd1cf0
@@ -155,7 +155,8 @@ test_dbus_py_test_la_SOURCES = \
fd1cf0
 
fd1cf0
 # === dbus package ===
fd1cf0
 
fd1cf0
-nobase_python_PYTHON = \
fd1cf0
+dbuspydir = $(pyexecdir)
fd1cf0
+nobase_dbuspy_DATA = \
fd1cf0
     dbus/bus.py \
fd1cf0
     dbus/connection.py \
fd1cf0
     dbus/_compat.py \
fd1cf0
@@ -175,12 +176,12 @@ nobase_python_PYTHON = \
fd1cf0
     dbus/types.py
fd1cf0
 
fd1cf0
 if !HAVE_PYTHON_3
fd1cf0
-nobase_python_PYTHON += \
fd1cf0
+nobase_dbuspy_DATA += \
fd1cf0
     dbus/gobject_service.py \
fd1cf0
     $(NULL)
fd1cf0
 endif
fd1cf0
 
fd1cf0
-check_py_sources = $(nobase_python_PYTHON)
fd1cf0
+check_py_sources = $(nobase_dbuspy_DATA)
fd1cf0
 include $(top_srcdir)/tools/check-coding-style.mk
fd1cf0
 
fd1cf0
 # === Devel stuff ===
fd1cf0
@@ -416,7 +417,7 @@ uninstall-local: uninstall-local-sphinx
fd1cf0
 if ENABLE_DOCUMENTATION
fd1cf0
 all: doc/_build/.stamp
fd1cf0
 
fd1cf0
-doc/_build/.stamp: $(nobase_python_PYTHON) \
fd1cf0
+doc/_build/.stamp: $(nobase_dbuspy_DATA) \
fd1cf0
 			_dbus_bindings.la \
fd1cf0
 			_dbus_glib_bindings.la \
fd1cf0
 			$(sphinx_sources) \
fd1cf0
-- 
fd1cf0
2.17.0