From 22c71d47e478e5029150fd936b637051f86073a8 Mon Sep 17 00:00:00 2001 From: Eric Bénard Date: Thu, 9 Sep 2010 18:02:19 +0200 Subject: python_2.6.5: tune python-distutils MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit removing config/libpython2.6.a and distutils/command/win* as suggested by cdricjulien. Signed-off-by: Eric Bénard Acked-by: Frans Meulenbroeks --- recipes/python/python_2.6.5.bb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/recipes/python/python_2.6.5.bb b/recipes/python/python_2.6.5.bb index c144feed20..ecd9f78417 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 -- cgit 1.2.3-korg