# HG changeset patch # User Hans-G?nter Theisgen # Date 1586102847 -3600 # Node ID 21c6ecc97dc037da50fc8dc098f47f8319675847 # Parent 11746b27e6b1985cf64603f24d06d8f1a27dc8f1 updated python-formalchemy (1.4.2 -> 1.5.5) diff -r 11746b27e6b1 -r 21c6ecc97dc0 python-formalchemy/receipt --- a/python-formalchemy/receipt Sun Apr 05 16:56:52 2020 +0100 +++ b/python-formalchemy/receipt Sun Apr 05 17:07:27 2020 +0100 @@ -1,34 +1,36 @@ # SliTaz package receipt. PACKAGE="python-formalchemy" -SOURCE="formalchemy" -VERSION="1.4.2" +VERSION="1.5.5" CATEGORY="development" SHORT_DESC="Auto-generated, customizable HTML output form fields from SQLAlchemy mapped classes." MAINTAINER="claudinei@slitaz.org" LICENSE="MIT" +WEB_SITE="https://pypi.org/project/FormAlchemy/" + +SOURCE="FormAlchemy" TARBALL="$SOURCE-$VERSION.tar.gz" -WEB_SITE="https://pypi.org/project/$SOURCE/" -WGET_URL="https://github.com/FormAlchemy/$SOURCE/archive/$VERSION.tar.gz" +WGET_URL="https://files.pythonhosted.org/packages/source/F/$SOURCE/$TARBALL" -DEPENDS="python python-sqlalchemy python-webhelpers python-markupsafe \ -python-tempita python-webob" -BUILD_DEPENDS="python-dev python-setuptools wget" +DEPENDS="python python-markupsafe python-sqlalchemy python-tempita + python-webhelpers python-webob" +BUILD_DEPENDS="python-dev python-setuptools" # Rules to configure and make the package. compile_rules() { python setup.py install --root=$DESTDIR - for i in $install/usr/lib/python*/site-packages/formalchemy/i18n_resources/*; do + for i in $install/usr/lib/python*/site-packages/formalchemy/i18n_resources/* + do [ -s formalchemy/i18n_resources/$(basename $i)/LC_MESSAGES/formalchemy.po ] && rm $i/LC_MESSAGES/formalchemy.mo && msgfmt -o $i/LC_MESSAGES/formalchemy.mo \ formalchemy/i18n_resources/$(basename $i)/LC_MESSAGES/formalchemy.po - done + done } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - cp -a $install/usr $fs + cp -a $install/usr $fs }