wok diff python-mysql/receipt @ rev 9467
Fix receipts that remove lines that removed .pyc and .pyo files. Tazwok does that now.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Apr 03 14:11:25 2011 +0000 (2011-04-03) |
parents | 6231e84e08de |
children | 537c950566ea |
line diff
1.1 --- a/python-mysql/receipt Sun Dec 19 14:47:43 2010 +0000 1.2 +++ b/python-mysql/receipt Sun Apr 03 14:11:25 2011 +0000 1.3 @@ -8,9 +8,9 @@ 1.4 MAINTAINER="claudinei@slitaz.org" 1.5 TARBALL="$SOURCE-$VERSION.tar.gz" 1.6 WEB_SITE="http://mysql-python.sourceforge.net/" 1.7 -WGET_URL="http://ufpr.dl.sourceforge.net/sourceforge/mysql-python/$TARBALL" 1.8 -DEPENDS="python mysql zlib openssl" 1.9 -BUILD_DEPENDS="python-dev mysql-dev zlib-dev openssl-dev setuptools" 1.10 +WGET_URL="$SF_MIRROR/mysql-python/$TARBALL" 1.11 +DEPENDS="python libmysqlclient zlib openssl" 1.12 +BUILD_DEPENDS="setuptools" 1.13 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 @@ -18,13 +18,12 @@ 1.17 cd $src 1.18 sed -i 's/threadsafe = True/threadsafe = False/' $src/site.cfg 1.19 python setup.py build 1.20 - python setup.py install --root=$PWD/_pkg 1.21 + python setup.py install --root=$DESTDIR 1.22 } 1.23 1.24 # Rules to gen a SliTaz package suitable for Tazpkg. 1.25 genpkg_rules() 1.26 { 1.27 - find $_pkg -name "*.pyc" -exec rm '{}' \; 1.28 mkdir -p $fs/usr 1.29 cp -a $_pkg/usr/lib $fs/usr 1.30 }