wok-6.x diff python-restclient/receipt @ rev 11227
Add from wok-undigest: qtwitter radiotray rdpdesk rsbep siproxd songwrite soprano soprano-dev t2 thttpd tp_smapi ucarp
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 04 12:23:07 2011 +0100 (2011-11-04) |
parents | d0fa681cee8d |
children | 99b42fdb85c9 |
line diff
1.1 --- a/python-restclient/receipt Sat Oct 09 17:19:46 2010 +0200 1.2 +++ b/python-restclient/receipt Fri Nov 04 12:23:07 2011 +0100 1.3 @@ -15,7 +15,6 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 - src="$SOURCE" 1.8 cd $src 1.9 python setup.py install --root=$PWD/_pkg 1.10 } 1.11 @@ -24,10 +23,6 @@ 1.12 genpkg_rules() 1.13 { 1.14 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') 1.15 - _pkg="$SOURCE/_pkg" 1.16 - for file in `find $_pkg | grep 'pyc$'`; do 1.17 - rm $file 1.18 - done 1.19 mkdir -p $fs/usr 1.20 rm -f $_pkg/usr/lib/$PYTHON_LIB/site-packages/tests/* 1.21 rmdir $_pkg/usr/lib/$PYTHON_LIB/site-packages/tests