python: keep the test stuff because Zope needs it. Thanks to Gunter Coelle for the hint

This commit is contained in:
Juergen Daubert 2006-08-28 14:45:35 +00:00
parent 51a77ee880
commit ce09036f5a
2 changed files with 1057 additions and 8 deletions

File diff suppressed because it is too large Load Diff

View File

@ -5,7 +5,7 @@
name=python name=python
version=2.4.3 version=2.4.3
release=1 release=2
source=(http://www.python.org/ftp/$name/$version/Python-$version.tar.bz2 \ source=(http://www.python.org/ftp/$name/$version/Python-$version.tar.bz2 \
$name-$version.patch) $name-$version.patch)
@ -25,6 +25,8 @@ build () {
ln -sf python2.4 $PKG/usr/lib/python ln -sf python2.4 $PKG/usr/lib/python
ln -sf python2.4 $PKG/usr/include/python ln -sf python2.4 $PKG/usr/include/python
rm -r $PKG/usr/lib/python/{test,{email,bsddb}/test} rm -r $PKG/usr/lib/python/{email,bsddb}/test
rm -r $PKG/usr/lib/python/distutils/tests rm -r $PKG/usr/lib/python/distutils/tests
rm $PKG/usr/lib/python/{distutils,site-packages,test}/README
rm $PKG/usr/lib/python/idlelib/{ChangeLog,{NEWS,README,TODO}.txt}
} }