wok diff python-formalchemy/receipt @ rev 20648

Up zstd (1.3.8)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 12 12:12:27 2019 +0100 (2019-01-12)
parents 16df76e1fc6a
children 6135577f4d08
line diff
     1.1 --- a/python-formalchemy/receipt	Fri May 22 17:34:18 2015 +0300
     1.2 +++ b/python-formalchemy/receipt	Sat Jan 12 12:12:27 2019 +0100
     1.3 @@ -19,6 +19,12 @@
     1.4  compile_rules()
     1.5  {
     1.6  	python setup.py install --root=$DESTDIR
     1.7 +	for i in $install/usr/lib/python*/site-packages/formalchemy/i18n_resources/*; do
     1.8 +		[ -s formalchemy/i18n_resources/$(basename $i)/LC_MESSAGES/formalchemy.po ] &&
     1.9 +		rm $i/LC_MESSAGES/formalchemy.mo &&
    1.10 +		msgfmt -o $i/LC_MESSAGES/formalchemy.mo \
    1.11 +		     formalchemy/i18n_resources/$(basename $i)/LC_MESSAGES/formalchemy.po
    1.12 +	done
    1.13  }
    1.14  
    1.15  # Rules to gen a SliTaz package suitable for Tazpkg.