wok-current rev 14887

Up: python-sqlalchemy (0.7.10)
author Claudinei Pereira <claudinei@slitaz.org>
date Wed Jul 24 19:01:19 2013 -0300 (2013-07-24)
parents 51066b5c27b9
children d66b9f197cdf
files python-sqlalchemy/receipt
line diff
     1.1 --- a/python-sqlalchemy/receipt	Wed Jul 24 19:00:37 2013 -0300
     1.2 +++ b/python-sqlalchemy/receipt	Wed Jul 24 19:01:19 2013 -0300
     1.3 @@ -2,34 +2,27 @@
     1.4  
     1.5  PACKAGE="python-sqlalchemy"
     1.6  SOURCE="SQLAlchemy"
     1.7 -VERSION="0.5.6"
     1.8 +VERSION="0.7.10"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="The Python SQL toolkit and Object Relational Mapper"
    1.11  MAINTAINER="claudinei@slitaz.org"
    1.12  DEPENDS="python"
    1.13 -BUILD_DEPENDS="python python-dev"
    1.14 +BUILD_DEPENDS="wget python-dev"
    1.15  SUGGESTED="python-pysqlite"
    1.16  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.17  WEB_SITE="http://www.sqlalchemy.org"
    1.18 -WGET_URL="$SF_MIRROR/sqlalchemy/$TARBALL"
    1.19 +WGET_URL="https://pypi.python.org/packages/source/S/$SOURCE/$TARBALL"
    1.20  
    1.21  # Rules to configure and make the package.
    1.22  compile_rules()
    1.23  {
    1.24  	cd $src
    1.25 -	python setup.py install --root=$PWD/_pkg
    1.26 +	python setup.py install --root=$DESTDIR
    1.27  }
    1.28  
    1.29  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.30  genpkg_rules()
    1.31  {
    1.32 -	PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
    1.33 -	for file in `find $_pkg | grep 'pyc$'`; do
    1.34 -		rm $file
    1.35 -	done
    1.36 -	mkdir -p $fs/usr
    1.37 -	rm $_pkg/usr/lib/$PYTHON_LIB/site-packages/sqlalchemy/test/*
    1.38 -	rmdir $_pkg/usr/lib/$PYTHON_LIB/site-packages/sqlalchemy/test
    1.39 -	cp -a $_pkg/usr $fs
    1.40 +	cp -a $install/usr $fs
    1.41  }
    1.42