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

7f9d7a
From 380ae714f641a73a30f86ae8f5a2e05ac063b37f Mon Sep 17 00:00:00 2001
7f9d7a
From: leigh123linux <leigh123linux@googlemail.com>
7f9d7a
Date: Tue, 23 Feb 2016 07:32:08 +0000
7f9d7a
Subject: [PATCH] Move python modules to architecture-specific directory
7f9d7a
7f9d7a
This is because dbus-python gets dragged in as a dependency of other
7f9d7a
things people want to be multilib-compatible.  As is the Python
7f9d7a
modules conflict.
7f9d7a
---
7f9d7a
 Makefile.am | 9 +++++----
7f9d7a
 1 file changed, 5 insertions(+), 4 deletions(-)
7f9d7a
7f9d7a
diff --git a/Makefile.am b/Makefile.am
7f9d7a
index 3a821fa..dcf4320 100644
7f9d7a
--- a/Makefile.am
7f9d7a
+++ b/Makefile.am
7f9d7a
@@ -146,7 +146,8 @@ dbus_py_test_la_SOURCES = \
7f9d7a
 
7f9d7a
 # === dbus package ===
7f9d7a
 
7f9d7a
-nobase_python_PYTHON = \
7f9d7a
+dbuspydir = $(pyexecdir)
7f9d7a
+nobase_dbuspy_DATA = \
7f9d7a
     dbus/bus.py \
7f9d7a
     dbus/connection.py \
7f9d7a
     dbus/_compat.py \
7f9d7a
@@ -167,12 +168,12 @@ nobase_python_PYTHON = \
7f9d7a
     dbus/types.py
7f9d7a
 
7f9d7a
 if !HAVE_PYTHON_3
7f9d7a
-nobase_python_PYTHON += \
7f9d7a
+nobase_dbuspy_DATA += \
7f9d7a
     dbus/gobject_service.py \
7f9d7a
     $(NULL)
7f9d7a
 endif
7f9d7a
 
7f9d7a
-check_py_sources = $(nobase_python_PYTHON)
7f9d7a
+check_py_sources = $(nobase_dbuspy_DATA)
7f9d7a
 include $(top_srcdir)/tools/check-coding-style.mk
7f9d7a
 
7f9d7a
 # === Devel stuff ===
7f9d7a
@@ -415,7 +416,7 @@ clean-local:
7f9d7a
 
7f9d7a
 APIDOC_PYTHONPATH = $(abs_top_srcdir):$(abs_top_builddir)/.libs
7f9d7a
 
7f9d7a
-api api/index.html: $(nobase_python_PYTHON) \
7f9d7a
+api api/index.html: $(nobase_dbuspy_DATA) \
7f9d7a
 		    _dbus_bindings.la \
7f9d7a
 		    _dbus_glib_bindings.la
7f9d7a
 	rm -rf api
7f9d7a
-- 
7f9d7a
2.5.0
7f9d7a