wok-6.x annotate python-formalchemy/receipt @ rev 23231

updated ncurses packages (6.1 -> 6.2)
author Hans-G?nter Theisgen
date Tue Mar 24 09:52:40 2020 +0100 (2020-03-24)
parents 6135577f4d08
children 21c6ecc97dc0
rev   line source
claudinei@3827 1 # SliTaz package receipt.
claudinei@3827 2
claudinei@3827 3 PACKAGE="python-formalchemy"
claudinei@14888 4 SOURCE="formalchemy"
claudinei@14888 5 VERSION="1.4.2"
claudinei@3827 6 CATEGORY="development"
claudinei@3827 7 SHORT_DESC="Auto-generated, customizable HTML output form fields from SQLAlchemy mapped classes."
claudinei@3827 8 MAINTAINER="claudinei@slitaz.org"
pascal@15379 9 LICENSE="MIT"
pascal@15379 10 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@20679 11 WEB_SITE="https://pypi.org/project/$SOURCE/"
pascal@15379 12 WGET_URL="https://github.com/FormAlchemy/$SOURCE/archive/$VERSION.tar.gz"
pascal@15379 13
claudinei@14888 14 DEPENDS="python python-sqlalchemy python-webhelpers python-markupsafe \
claudinei@14888 15 python-tempita python-webob"
pascal@21582 16 BUILD_DEPENDS="python-dev python-setuptools wget"
claudinei@3827 17
claudinei@3827 18 # Rules to configure and make the package.
claudinei@3827 19 compile_rules()
claudinei@3827 20 {
claudinei@14888 21 python setup.py install --root=$DESTDIR
pascal@20648 22 for i in $install/usr/lib/python*/site-packages/formalchemy/i18n_resources/*; do
pascal@20648 23 [ -s formalchemy/i18n_resources/$(basename $i)/LC_MESSAGES/formalchemy.po ] &&
pascal@20648 24 rm $i/LC_MESSAGES/formalchemy.mo &&
pascal@20648 25 msgfmt -o $i/LC_MESSAGES/formalchemy.mo \
pascal@20648 26 formalchemy/i18n_resources/$(basename $i)/LC_MESSAGES/formalchemy.po
pascal@20648 27 done
claudinei@3827 28 }
claudinei@3827 29
claudinei@3827 30 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@3827 31 genpkg_rules()
claudinei@3827 32 {
al@18077 33 cp -a $install/usr $fs
claudinei@3827 34 }