wok rev 23485

updated python-formalchemy (1.4.2 -> 1.5.5)
author Hans-G?nter Theisgen
date Sun Apr 05 17:07:27 2020 +0100 (2020-04-05)
parents 11746b27e6b1
children fc917bce0480
files python-formalchemy/receipt
line diff
     1.1 --- a/python-formalchemy/receipt	Sun Apr 05 16:56:52 2020 +0100
     1.2 +++ b/python-formalchemy/receipt	Sun Apr 05 17:07:27 2020 +0100
     1.3 @@ -1,34 +1,36 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="python-formalchemy"
     1.7 -SOURCE="formalchemy"
     1.8 -VERSION="1.4.2"
     1.9 +VERSION="1.5.5"
    1.10  CATEGORY="development"
    1.11  SHORT_DESC="Auto-generated, customizable HTML output form fields from SQLAlchemy mapped classes."
    1.12  MAINTAINER="claudinei@slitaz.org"
    1.13  LICENSE="MIT"
    1.14 +WEB_SITE="https://pypi.org/project/FormAlchemy/"
    1.15 +
    1.16 +SOURCE="FormAlchemy"
    1.17  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.18 -WEB_SITE="https://pypi.org/project/$SOURCE/"
    1.19 -WGET_URL="https://github.com/FormAlchemy/$SOURCE/archive/$VERSION.tar.gz"
    1.20 +WGET_URL="https://files.pythonhosted.org/packages/source/F/$SOURCE/$TARBALL"
    1.21  
    1.22 -DEPENDS="python python-sqlalchemy python-webhelpers python-markupsafe \
    1.23 -python-tempita python-webob"
    1.24 -BUILD_DEPENDS="python-dev python-setuptools wget"
    1.25 +DEPENDS="python python-markupsafe python-sqlalchemy python-tempita 
    1.26 +	python-webhelpers python-webob"
    1.27 +BUILD_DEPENDS="python-dev python-setuptools"
    1.28  
    1.29  # Rules to configure and make the package.
    1.30  compile_rules()
    1.31  {
    1.32  	python setup.py install --root=$DESTDIR
    1.33 -	for i in $install/usr/lib/python*/site-packages/formalchemy/i18n_resources/*; do
    1.34 +	for i in $install/usr/lib/python*/site-packages/formalchemy/i18n_resources/*
    1.35 +	  do
    1.36  		[ -s formalchemy/i18n_resources/$(basename $i)/LC_MESSAGES/formalchemy.po ] &&
    1.37  		rm $i/LC_MESSAGES/formalchemy.mo &&
    1.38  		msgfmt -o $i/LC_MESSAGES/formalchemy.mo \
    1.39  		     formalchemy/i18n_resources/$(basename $i)/LC_MESSAGES/formalchemy.po
    1.40 -	done
    1.41 +	  done
    1.42  }
    1.43  
    1.44  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.45  genpkg_rules()
    1.46  {
    1.47 -	cp -a $install/usr $fs
    1.48 +	cp -a $install/usr	$fs
    1.49  }