wok diff python-formalchemy/receipt @ rev 20664
Up code2 (3995)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jan 15 17:26:52 2019 +0100 (2019-01-15) |
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 Tue Jan 15 17:26:52 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.