wok-current view python-sqlalchemy/receipt @ rev 4713
xarchiver: fix path + remove SVG icons.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Mon Jan 04 22:01:58 2010 +0100 (2010-01-04) |
parents | 314fe30ea1e0 |
children | 5921dc28d8c6 |
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 for file in `find $_pkg | grep 'pyc$'`; do
27 rm $file
28 done
29 mkdir -p $fs/usr
30 rm $_pkg/usr/lib/python2.5/site-packages/sqlalchemy/test/*
31 rmdir $_pkg/usr/lib/python2.5/site-packages/sqlalchemy/test
32 cp -a $_pkg/usr $fs
33 }