wok-next annotate python-sqlalchemy/receipt @ rev 6414
Up tiff (3.9.4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 25 17:41:30 2010 +0200 (2010-09-25) |
parents | 314fe30ea1e0 |
children | 5921dc28d8c6 |
rev | line source |
---|---|
claudinei@3826 | 1 # SliTaz package receipt. |
claudinei@3826 | 2 |
claudinei@3826 | 3 PACKAGE="python-sqlalchemy" |
claudinei@3826 | 4 SOURCE="SQLAlchemy" |
claudinei@4673 | 5 VERSION="0.5.6" |
claudinei@3826 | 6 CATEGORY="development" |
claudinei@3826 | 7 SHORT_DESC="The Python SQL toolkit and Object Relational Mapper" |
claudinei@3826 | 8 MAINTAINER="claudinei@slitaz.org" |
claudinei@3826 | 9 DEPENDS="python" |
claudinei@3826 | 10 BUILD_DEPENDS="python python-dev" |
claudinei@3826 | 11 SUGGESTED="python-pysqlite" |
claudinei@3826 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
claudinei@3826 | 13 WEB_SITE="http://www.sqlalchemy.org" |
claudinei@3826 | 14 WGET_URL="$SF_MIRROR/sqlalchemy/$TARBALL" |
claudinei@3826 | 15 |
claudinei@3826 | 16 # Rules to configure and make the package. |
claudinei@3826 | 17 compile_rules() |
claudinei@3826 | 18 { |
claudinei@3826 | 19 cd $src |
claudinei@3826 | 20 python setup.py install --root=$PWD/_pkg |
claudinei@3826 | 21 } |
claudinei@3826 | 22 |
claudinei@3826 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3826 | 24 genpkg_rules() |
claudinei@3826 | 25 { |
claudinei@3826 | 26 for file in `find $_pkg | grep 'pyc$'`; do |
claudinei@3826 | 27 rm $file |
claudinei@3826 | 28 done |
claudinei@3826 | 29 mkdir -p $fs/usr |
claudinei@3826 | 30 rm $_pkg/usr/lib/python2.5/site-packages/sqlalchemy/test/* |
claudinei@3826 | 31 rmdir $_pkg/usr/lib/python2.5/site-packages/sqlalchemy/test |
claudinei@3826 | 32 cp -a $_pkg/usr $fs |
claudinei@3826 | 33 } |
claudinei@3826 | 34 |