wok-current annotate python-formalchemy/receipt @ 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 | 814362194a8d |
children | 1df6fa555414 |
rev | line source |
---|---|
claudinei@3827 | 1 # SliTaz package receipt. |
claudinei@3827 | 2 |
claudinei@3827 | 3 PACKAGE="python-formalchemy" |
Hans-G?nter@23485 | 4 VERSION="1.5.5" |
claudinei@3827 | 5 CATEGORY="development" |
claudinei@3827 | 6 SHORT_DESC="Auto-generated, customizable HTML output form fields from SQLAlchemy mapped classes." |
claudinei@3827 | 7 MAINTAINER="claudinei@slitaz.org" |
pascal@15379 | 8 LICENSE="MIT" |
Hans-G?nter@23485 | 9 WEB_SITE="https://pypi.org/project/FormAlchemy/" |
Hans-G?nter@23485 | 10 |
Hans-G?nter@23485 | 11 SOURCE="FormAlchemy" |
pascal@15379 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23485 | 13 WGET_URL="https://files.pythonhosted.org/packages/source/F/$SOURCE/$TARBALL" |
pascal@15379 | 14 |
Hans-G?nter@23485 | 15 DEPENDS="python python-markupsafe python-sqlalchemy python-tempita |
Hans-G?nter@23485 | 16 python-webhelpers python-webob" |
Hans-G?nter@23485 | 17 BUILD_DEPENDS="python-dev python-setuptools" |
claudinei@3827 | 18 |
claudinei@3827 | 19 # Rules to configure and make the package. |
claudinei@3827 | 20 compile_rules() |
claudinei@3827 | 21 { |
claudinei@14888 | 22 python setup.py install --root=$DESTDIR |
Hans-G?nter@23485 | 23 for i in $install/usr/lib/python*/site-packages/formalchemy/i18n_resources/* |
Hans-G?nter@23485 | 24 do |
pascal@20648 | 25 [ -s formalchemy/i18n_resources/$(basename $i)/LC_MESSAGES/formalchemy.po ] && |
pascal@20648 | 26 rm $i/LC_MESSAGES/formalchemy.mo && |
pascal@20648 | 27 msgfmt -o $i/LC_MESSAGES/formalchemy.mo \ |
pascal@20648 | 28 formalchemy/i18n_resources/$(basename $i)/LC_MESSAGES/formalchemy.po |
Hans-G?nter@23485 | 29 done |
claudinei@3827 | 30 } |
claudinei@3827 | 31 |
claudinei@3827 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3827 | 33 genpkg_rules() |
claudinei@3827 | 34 { |
Hans-G?nter@23485 | 35 cp -a $install/usr $fs |
claudinei@3827 | 36 } |