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

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