wok-6.x view python-sqlalchemy/receipt @ rev 12469

Add qiviewer (Light QT image viewer)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 22 19:51:18 2012 +0200 (2012-04-22)
parents 5921dc28d8c6
children 0922197792e4
line source
1 # SliTaz package receipt.
3 PACKAGE="python-sqlalchemy"
4 SOURCE="SQLAlchemy"
5 VERSION="0.5.6"
6 CATEGORY="development"
7 SHORT_DESC="The Python SQL toolkit and Object Relational Mapper"
8 MAINTAINER="claudinei@slitaz.org"
9 DEPENDS="python"
10 BUILD_DEPENDS="python python-dev"
11 SUGGESTED="python-pysqlite"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WEB_SITE="http://www.sqlalchemy.org"
14 WGET_URL="$SF_MIRROR/sqlalchemy/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 python setup.py install --root=$PWD/_pkg
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
27 for file in `find $_pkg | grep 'pyc$'`; do
28 rm $file
29 done
30 mkdir -p $fs/usr
31 rm $_pkg/usr/lib/$PYTHON_LIB/site-packages/sqlalchemy/test/*
32 rmdir $_pkg/usr/lib/$PYTHON_LIB/site-packages/sqlalchemy/test
33 cp -a $_pkg/usr $fs
34 }