From: Eric Bénard Date: Thu, 9 Sep 2010 16:02:19 +0000 (+0200) Subject: python_2.6.5: tune python-distutils X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22c71d47e478e5029150fd936b637051f86073a8;p=openembedded.git 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 Acked-by: Frans Meulenbroeks --- 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