Gentoo Archives: gentoo-python

From: "Michał Górny" <mgorny@g.o>
To: gentoo-python@l.g.o
Cc: python@g.o, "Michał Górny" <mgorny@g.o>
Subject: [gentoo-python] [PATCH 2/2] Example use on dev-python/imaging.
Date: Thu, 24 Jan 2013 22:40:33
Message-Id: 1359067249-28911-3-git-send-email-mgorny@gentoo.org
In Reply to: [gentoo-python] python-utils-r1: introduce python_doheader() to install headers by "Michał Górny"
1 ---
2 gx86/dev-python/imaging/imaging-1.1.7-r2.ebuild | 4 +---
3 1 file changed, 1 insertion(+), 3 deletions(-)
4
5 diff --git a/gx86/dev-python/imaging/imaging-1.1.7-r2.ebuild b/gx86/dev-python/imaging/imaging-1.1.7-r2.ebuild
6 index 0e217a3..f2189b0 100644
7 --- a/gx86/dev-python/imaging/imaging-1.1.7-r2.ebuild
8 +++ b/gx86/dev-python/imaging/imaging-1.1.7-r2.ebuild
9 @@ -76,9 +76,7 @@ python_test() {
10 }
11
12 python_install() {
13 - local incdir=$(python_get_includedir)
14 - insinto "${incdir#${EPREFIX}}"
15 - doins libImaging/{Imaging.h,ImPlatform.h}
16 + python_doheader libImaging/{Imaging.h,ImPlatform.h}
17
18 wrap_phase distutils-r1_python_install
19 }
20 --
21 1.8.1.1