wok-next rev 14888

Up: python-formalchemy (1.4.2)
author Claudinei Pereira <claudinei@slitaz.org>
date Wed Jul 24 19:01:54 2013 -0300 (2013-07-24)
parents 0922197792e4
children 24aee5c78b9f
files python-formalchemy/receipt
line diff
     1.1 --- a/python-formalchemy/receipt	Wed Jul 24 19:01:19 2013 -0300
     1.2 +++ b/python-formalchemy/receipt	Wed Jul 24 19:01:54 2013 -0300
     1.3 @@ -1,31 +1,28 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="python-formalchemy"
     1.7 -SOURCE="FormAlchemy"
     1.8 -VERSION="1.3.1"
     1.9 +SOURCE="formalchemy"
    1.10 +VERSION="1.4.2"
    1.11  CATEGORY="development"
    1.12  SHORT_DESC="Auto-generated, customizable HTML output form fields from SQLAlchemy mapped classes."
    1.13  MAINTAINER="claudinei@slitaz.org"
    1.14 -DEPENDS="python python-sqlalchemy"
    1.15 -BUILD_DEPENDS="python python-dev setuptools"
    1.16 +DEPENDS="python python-sqlalchemy python-webhelpers python-markupsafe \
    1.17 +python-tempita python-webob"
    1.18 +BUILD_DEPENDS="python-dev setuptools wget"
    1.19  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.20 -WEB_SITE="http://code.google.com/p/formalchemy"
    1.21 -WGET_URL="http://formalchemy.googlecode.com/files/$TARBALL"
    1.22 +WEB_SITE="http://docs.formalchemy.org"
    1.23 +WGET_URL="https://github.com/FormAlchemy/$SOURCE/archive/$VERSION.tar.gz"
    1.24  
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28  	cd $src
    1.29 -	python setup.py install --root=$PWD/_pkg
    1.30 +	python setup.py install --root=$DESTDIR
    1.31  }
    1.32  
    1.33  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.34  genpkg_rules()
    1.35  {
    1.36 -	for file in `find $_pkg | grep 'pyc$'`; do
    1.37 -		rm $file
    1.38 -	done
    1.39 -	mkdir -p $fs/usr
    1.40 -	cp -a $_pkg/usr $fs	
    1.41 +	cp -a $install/usr $fs	
    1.42  }
    1.43