wok-current annotate python-formalchemy/receipt @ rev 13702
Add get-geogebra
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 17 10:35:12 2012 +0100 (2012-12-17) |
parents | 5c1856d603e2 |
children | d66b9f197cdf |
rev | line source |
---|---|
claudinei@3827 | 1 # SliTaz package receipt. |
claudinei@3827 | 2 |
claudinei@3827 | 3 PACKAGE="python-formalchemy" |
claudinei@3827 | 4 SOURCE="FormAlchemy" |
claudinei@4674 | 5 VERSION="1.3.1" |
claudinei@3827 | 6 CATEGORY="development" |
claudinei@3827 | 7 SHORT_DESC="Auto-generated, customizable HTML output form fields from SQLAlchemy mapped classes." |
claudinei@3827 | 8 MAINTAINER="claudinei@slitaz.org" |
claudinei@3827 | 9 DEPENDS="python python-sqlalchemy" |
claudinei@4674 | 10 BUILD_DEPENDS="python python-dev setuptools" |
claudinei@3827 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
claudinei@3827 | 12 WEB_SITE="http://code.google.com/p/formalchemy" |
claudinei@3827 | 13 WGET_URL="http://formalchemy.googlecode.com/files/$TARBALL" |
claudinei@3827 | 14 |
claudinei@3827 | 15 # Rules to configure and make the package. |
claudinei@3827 | 16 compile_rules() |
claudinei@3827 | 17 { |
claudinei@3827 | 18 cd $src |
claudinei@3827 | 19 python setup.py install --root=$PWD/_pkg |
claudinei@3827 | 20 } |
claudinei@3827 | 21 |
claudinei@3827 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3827 | 23 genpkg_rules() |
claudinei@3827 | 24 { |
claudinei@3827 | 25 for file in `find $_pkg | grep 'pyc$'`; do |
claudinei@3827 | 26 rm $file |
claudinei@3827 | 27 done |
claudinei@3827 | 28 mkdir -p $fs/usr |
claudinei@3827 | 29 cp -a $_pkg/usr $fs |
claudinei@3827 | 30 } |
claudinei@3827 | 31 |