# HG changeset patch # User Claudinei Pereira # Date 1374703279 10800 # Node ID 0922197792e471d26ff661efe87f6fc969945681 # Parent 51066b5c27b9fcb797330b42e7fcfce8c5638859 Up: python-sqlalchemy (0.7.10) diff -r 51066b5c27b9 -r 0922197792e4 python-sqlalchemy/receipt --- a/python-sqlalchemy/receipt Wed Jul 24 19:00:37 2013 -0300 +++ b/python-sqlalchemy/receipt Wed Jul 24 19:01:19 2013 -0300 @@ -2,34 +2,27 @@ PACKAGE="python-sqlalchemy" SOURCE="SQLAlchemy" -VERSION="0.5.6" +VERSION="0.7.10" CATEGORY="development" SHORT_DESC="The Python SQL toolkit and Object Relational Mapper" MAINTAINER="claudinei@slitaz.org" DEPENDS="python" -BUILD_DEPENDS="python python-dev" +BUILD_DEPENDS="wget python-dev" SUGGESTED="python-pysqlite" TARBALL="$SOURCE-$VERSION.tar.gz" WEB_SITE="http://www.sqlalchemy.org" -WGET_URL="$SF_MIRROR/sqlalchemy/$TARBALL" +WGET_URL="https://pypi.python.org/packages/source/S/$SOURCE/$TARBALL" # Rules to configure and make the package. compile_rules() { cd $src - python setup.py install --root=$PWD/_pkg + python setup.py install --root=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') - for file in `find $_pkg | grep 'pyc$'`; do - rm $file - done - mkdir -p $fs/usr - rm $_pkg/usr/lib/$PYTHON_LIB/site-packages/sqlalchemy/test/* - rmdir $_pkg/usr/lib/$PYTHON_LIB/site-packages/sqlalchemy/test - cp -a $_pkg/usr $fs + cp -a $install/usr $fs }