summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2011-02-08 09:39:07 +0000
committerPacho Ramos <pacho@gentoo.org>2011-02-08 09:39:07 +0000
commit86e97052a6c0f16c9ce1536efd2607b8c1db07ca (patch)
treeda9854f4eea4aa76757d0d7c295769e6ce4f7601 /dev-python/telepathy-python/files
parentAdd version 0.41 (diff)
downloadhistorical-86e97052a6c0f16c9ce1536efd2607b8c1db07ca.tar.gz
historical-86e97052a6c0f16c9ce1536efd2607b8c1db07ca.tar.bz2
historical-86e97052a6c0f16c9ce1536efd2607b8c1db07ca.zip
Don't install errors.py twice as it fails (bug #348386 by Jonathan Callen and patch by Reimundo Heluani).
Package-Manager: portage-2.1.9.36/cvs/Linux x86_64
Diffstat (limited to 'dev-python/telepathy-python/files')
-rw-r--r--dev-python/telepathy-python/files/telepathy-python-0.15.19-install-twice.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-python/telepathy-python/files/telepathy-python-0.15.19-install-twice.patch b/dev-python/telepathy-python/files/telepathy-python-0.15.19-install-twice.patch
new file mode 100644
index 000000000000..72055e92768a
--- /dev/null
+++ b/dev-python/telepathy-python/files/telepathy-python-0.15.19-install-twice.patch
@@ -0,0 +1,34 @@
+From 0c4e6e9f41b24bbb7ea33653b8a81ff79c0ea032 Mon Sep 17 00:00:00 2001
+From: Reimundo Heluani <rheluani@gmail.com>
+Date: Tue, 21 Dec 2010 12:25:22 +0000
+Subject: [PATCH] src: don't install _generated/errors.py twice
+
+Fixes: fd.o#32526
+
+Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
+---
+ NEWS | 5 +++++
+ src/Makefile.am | 4 +++-
+ 2 files changed, 8 insertions(+), 1 deletions(-)
+
+diff --git a/src/Makefile.am b/src/Makefile.am
+index 135f2f0..ede1fc3 100644
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -13,10 +13,12 @@ telepathy_PYTHON = \
+ spec_dir = $(top_srcdir)/spec
+ spec_files := $(patsubst $(spec_dir)%.xml,_generated%.py,$(wildcard $(spec_dir)/*.xml))
+
++# We leave _generated/errors.py out of here because there exists a
++# spec/errors.xml file, so that means there'll be a
++# _generated/errors.py in $(spec_files). See fd.o#32526
+ BUILT_SOURCES = \
+ _generated/interfaces.py \
+ _generated/constants.py \
+- _generated/errors.py \
+ _generated/__init__.py \
+ $(spec_files)
+
+--
+1.7.2.3
+