wok-6.x rev 3826
Add: python-sqlalchemy (0.5.5)
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Thu Aug 06 18:16:43 2009 +0000 (2009-08-06) |
parents | cc86e5544131 |
children | 5c1856d603e2 |
files | python-sqlalchemy/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/python-sqlalchemy/receipt Thu Aug 06 18:16:43 2009 +0000 1.3 @@ -0,0 +1,34 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="python-sqlalchemy" 1.7 +SOURCE="SQLAlchemy" 1.8 +VERSION="0.5.5" 1.9 +CATEGORY="development" 1.10 +SHORT_DESC="The Python SQL toolkit and Object Relational Mapper" 1.11 +MAINTAINER="claudinei@slitaz.org" 1.12 +DEPENDS="python" 1.13 +BUILD_DEPENDS="python python-dev" 1.14 +SUGGESTED="python-pysqlite" 1.15 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.16 +WEB_SITE="http://www.sqlalchemy.org" 1.17 +WGET_URL="$SF_MIRROR/sqlalchemy/$TARBALL" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + cd $src 1.23 + python setup.py install --root=$PWD/_pkg 1.24 +} 1.25 + 1.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.27 +genpkg_rules() 1.28 +{ 1.29 + for file in `find $_pkg | grep 'pyc$'`; do 1.30 + rm $file 1.31 + done 1.32 + mkdir -p $fs/usr 1.33 + rm $_pkg/usr/lib/python2.5/site-packages/sqlalchemy/test/* 1.34 + rmdir $_pkg/usr/lib/python2.5/site-packages/sqlalchemy/test 1.35 + cp -a $_pkg/usr $fs 1.36 +} 1.37 +