wok annotate python-sqlalchemy/receipt @ rev 3916

mirror-tools/mkpkgiso: avoid warning with loram systems
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 18 17:42:15 2009 +0200 (2009-08-18)
parents
children a7fbc949f29b
rev   line source
claudinei@3826 1 # SliTaz package receipt.
claudinei@3826 2
claudinei@3826 3 PACKAGE="python-sqlalchemy"
claudinei@3826 4 SOURCE="SQLAlchemy"
claudinei@3826 5 VERSION="0.5.5"
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