aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Bénard <eric@eukrea.com>2010-09-09 18:02:19 +0200
committerEric Bénard <eric@eukrea.com>2010-09-20 22:45:07 +0200
commit22c71d47e478e5029150fd936b637051f86073a8 (patch)
treeedb0f092b7d68c4bca119edb5743f5f3a3ea1f3d
parentbe576ab8af1b824ad1081749e541b5f720db09b5 (diff)
downloadopenembedded-22c71d47e478e5029150fd936b637051f86073a8.zip
openembedded-22c71d47e478e5029150fd936b637051f86073a8.tar.gz
openembedded-22c71d47e478e5029150fd936b637051f86073a8.tar.bz2
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@eukrea.com> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
-rw-r--r--recipes/python/python_2.6.5.bb6
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