[oe-commits] Eric Bénard : python_2.6.5: tune python-distutils

git version control git at git.openembedded.org
Mon Sep 20 20:48:21 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 22c71d47e478e5029150fd936b637051f86073a8
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=22c71d47e478e5029150fd936b637051f86073a8

Author: Eric Bénard <eric at eukrea.com>
Date:   Thu Sep  9 18:02:19 2010 +0200

python_2.6.5: tune python-distutils

removing config/libpython2.6.a and distutils/command/win*
as suggested by cdricjulien.

Signed-off-by: Eric Bénard <eric at eukrea.com>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks at gmail.com>

---

 recipes/python/python_2.6.5.bb |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/recipes/python/python_2.6.5.bb b/recipes/python/python_2.6.5.bb
index c144fee..ecd9f78 100644
--- a/recipes/python/python_2.6.5.bb
+++ b/recipes/python/python_2.6.5.bb
@@ -83,6 +83,12 @@ do_install() {
 	sed -i -e s,ccache,'$(CCACHE)', ${D}/${libdir}/python${PYTHON_MAJMIN}/config/Makefile
 }
 
+do_install_append() {
+	# remove unecessary files from python-distutils' packages
+	rm ${D}/${libdir}/python${PYTHON_MAJMIN}/config/libpython2.6.a
+	rm ${D}/${libdir}/python${PYTHON_MAJMIN}/distutils/command/win*
+}
+
 require python-${PYTHON_MAJMIN}-manifest.inc
 
 # manual dependency additions





More information about the Openembedded-commits mailing list