# HG changeset patch # User Claudinei Pereira # Date 1249582666 0 # Node ID 5c1856d603e27082d42bfe5d7a866a1eb7897b8d # Parent 314fe30ea1e0d39332202c73ae02ef4625cf2c6a Add: python-formalchemy (1.2) diff -r 314fe30ea1e0 -r 5c1856d603e2 python-formalchemy/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-formalchemy/receipt Thu Aug 06 18:17:46 2009 +0000 @@ -0,0 +1,31 @@ +# SliTaz package receipt. + +PACKAGE="python-formalchemy" +SOURCE="FormAlchemy" +VERSION="1.2" +CATEGORY="development" +SHORT_DESC="Auto-generated, customizable HTML output form fields from SQLAlchemy mapped classes." +MAINTAINER="claudinei@slitaz.org" +DEPENDS="python python-sqlalchemy" +BUILD_DEPENDS="python python-dev" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://code.google.com/p/formalchemy" +WGET_URL="http://formalchemy.googlecode.com/files/$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 + cp -a $_pkg/usr $fs +} +