summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/imaging')
-rw-r--r--dev-python/imaging/ChangeLog5
-rw-r--r--dev-python/imaging/imaging-1.1.7.ebuild6
2 files changed, 9 insertions, 2 deletions
diff --git a/dev-python/imaging/ChangeLog b/dev-python/imaging/ChangeLog
index c5f88f0108f4..300d36252015 100644
--- a/dev-python/imaging/ChangeLog
+++ b/dev-python/imaging/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-python/imaging
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/imaging/ChangeLog,v 1.63 2011/02/25 17:50:42 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/imaging/ChangeLog,v 1.64 2011/07/07 23:26:15 neurogeek Exp $
+
+ 07 Jul 2011; Jesus Rivero <neurogeek@gentoo.org> imaging-1.1.7.ebuild:
+ Fixed shebang in Scripts/pilfont.py wrt bug #371117
25 Feb 2011; Fabian Groffen <grobian@gentoo.org> imaging-1.1.7.ebuild:
Marked ~x64-macos, bug #356447
diff --git a/dev-python/imaging/imaging-1.1.7.ebuild b/dev-python/imaging/imaging-1.1.7.ebuild
index 05e5c58e27e4..55aee9aeec63 100644
--- a/dev-python/imaging/imaging-1.1.7.ebuild
+++ b/dev-python/imaging/imaging-1.1.7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/imaging/imaging-1.1.7.ebuild,v 1.12 2011/02/25 17:50:42 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/imaging/imaging-1.1.7.ebuild,v 1.13 2011/07/07 23:26:15 neurogeek Exp $
EAPI="3"
PYTHON_DEPEND="2"
@@ -45,6 +45,10 @@ src_prepare() {
epatch "${FILESDIR}/${P}-giftrans.patch"
epatch "${FILESDIR}/${P}-missing-math.patch"
+ # Add shebang.
+ sed -e "1i#!/usr/bin/python" -i Scripts/pilfont.py \
+ || die "sed failed adding shebang"
+
sed -i \
-e "s:/usr/lib\":/usr/$(get_libdir)\":" \
-e "s:\"lib\":\"$(get_libdir)\":g" \