wok-current annotate python-formalchemy/receipt @ rev 25319

updated speex and speex-dev (1.2.0 -> 1.2.1)
author Hans-G?nter Theisgen
date Fri Jul 22 07:04:55 2022 +0100 (2022-07-22)
parents 076f424196b2
children
rev   line source
claudinei@3827 1 # SliTaz package receipt.
claudinei@3827 2
claudinei@3827 3 PACKAGE="python-formalchemy"
Hans-G?nter@25176 4 VERSION="1.5.6"
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@25176 10 REPOLOGY="python:formalchemy"
Hans-G?nter@23485 11
Hans-G?nter@23485 12 SOURCE="FormAlchemy"
pascal@15379 13 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@25176 14 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
pascal@15379 15
Hans-G?nter@25176 16 DEPENDS="python python-markupsafe python-sqlalchemy python-tempita
Hans-G?nter@23485 17 python-webhelpers python-webob"
Hans-G?nter@23485 18 BUILD_DEPENDS="python-dev python-setuptools"
claudinei@3827 19
pascal@24383 20 # What is the latest version available today?
pascal@24288 21 current_version()
pascal@24288 22 {
pascal@24383 23 wget -O - $WEB_SITE 2>/dev/null | sed "/$SOURCE [0-9]/!d;s|.*$SOURCE ||;s|<.*||"
pascal@24288 24 }
pascal@24288 25
claudinei@3827 26 # Rules to configure and make the package.
claudinei@3827 27 compile_rules()
claudinei@3827 28 {
claudinei@14888 29 python setup.py install --root=$DESTDIR
Hans-G?nter@23485 30 for i in $install/usr/lib/python*/site-packages/formalchemy/i18n_resources/*
Hans-G?nter@23485 31 do
pascal@20648 32 [ -s formalchemy/i18n_resources/$(basename $i)/LC_MESSAGES/formalchemy.po ] &&
Hans-G?nter@25176 33 rm $i/LC_MESSAGES/formalchemy.mo &&
pascal@20648 34 msgfmt -o $i/LC_MESSAGES/formalchemy.mo \
pascal@20648 35 formalchemy/i18n_resources/$(basename $i)/LC_MESSAGES/formalchemy.po
Hans-G?nter@23485 36 done
claudinei@3827 37 }
claudinei@3827 38
claudinei@3827 39 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@3827 40 genpkg_rules()
claudinei@3827 41 {
Hans-G?nter@23485 42 cp -a $install/usr $fs
claudinei@3827 43 }