# SliTaz package receipt.

PACKAGE="python-formalchemy"
SOURCE="FormAlchemy"
VERSION="1.3.1"
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 setuptools"
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	
}