# HG changeset patch # User Claudinei Pereira # Date 1249582603 0 # Node ID 314fe30ea1e0d39332202c73ae02ef4625cf2c6a # Parent cc86e554413183e7f94033d1bfa0c8bcc1d1d24f Add: python-sqlalchemy (0.5.5) diff -r cc86e5544131 -r 314fe30ea1e0 python-sqlalchemy/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-sqlalchemy/receipt Thu Aug 06 18:16:43 2009 +0000 @@ -0,0 +1,34 @@ +# SliTaz package receipt. + +PACKAGE="python-sqlalchemy" +SOURCE="SQLAlchemy" +VERSION="0.5.5" +CATEGORY="development" +SHORT_DESC="The Python SQL toolkit and Object Relational Mapper" +MAINTAINER="claudinei@slitaz.org" +DEPENDS="python" +BUILD_DEPENDS="python python-dev" +SUGGESTED="python-pysqlite" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://www.sqlalchemy.org" +WGET_URL="$SF_MIRROR/sqlalchemy/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + python setup.py install --root=$PWD/_pkg +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + for file in `find $_pkg | grep 'pyc$'`; do + rm $file + done + mkdir -p $fs/usr + rm $_pkg/usr/lib/python2.5/site-packages/sqlalchemy/test/* + rmdir $_pkg/usr/lib/python2.5/site-packages/sqlalchemy/test + cp -a $_pkg/usr $fs +} +