diff options
author | Andreas Oberritter <obi@opendreambox.org> | 2010-10-25 02:48:03 +0000 |
---|---|---|
committer | Frans Meulenbroeks <fransmeulenbroeks@gmail.com> | 2010-10-25 21:16:19 +0200 |
commit | 4486760d727ada27b1cf6230a54d71d73c203bd8 (patch) | |
tree | c1cb121f9a5cab00f6e455ab35afa56c4595b967 /recipes/python | |
parent | 63ae208e4626355069237c4b2fb566040e413858 (diff) | |
download | openembedded-4486760d727ada27b1cf6230a54d71d73c203bd8.tar.gz |
python-twisted-8.2.0: reduce package size
* Don't install *.{bat,c,h}
* Move more tests to FILES_${PN}-test
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/python')
-rw-r--r-- | recipes/python/python-twisted_8.2.0.bb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/recipes/python/python-twisted_8.2.0.bb b/recipes/python/python-twisted_8.2.0.bb index 7ecbf6c1a1..3f8b657715 100644 --- a/recipes/python/python-twisted_8.2.0.bb +++ b/recipes/python/python-twisted_8.2.0.bb @@ -5,7 +5,7 @@ HOMEPAGE = "http://www.twistedmatrix.com" SECTION = "console/network" PRIORITY = "optional" LICENSE = "LGPL" -PR = "r2" +PR = "r3" SRC_URI = "http://tmrc.mit.edu/mirror/twisted/Twisted/8.2/Twisted-${PV}.tar.bz2 " S = "${WORKDIR}/Twisted-${PV}" @@ -43,11 +43,17 @@ RDEPENDS_${PN} += "\ ${PN}-words \ " +do_install_append() { + # remove some useless files before packaging + find ${D} -name "*.bat" -o -name "*.c" -o -name "*.h" -exec rm {} \; +} + ALLOW_EMPTY = "1" FILES_${PN} = "" FILES_${PN}-test = " \ ${libdir}/${PYTHON_DIR}/site-packages/twisted/test \ + ${libdir}/${PYTHON_DIR}/site-packages/twisted/*/test \ " FILES_${PN}-protocols = " \ |