Codebase list i18nspector / ec4c9a2
Merge tag 'upstream/0.20.1' Upstream version 0.20.1 # gpg: Signature made Sat 19 Sep 2015 16:47:55 AEST using RSA key ID 1396F2F7 # gpg: Good signature from "Stuart Prescott <stuart@nanonanonano.net>" # gpg: aka "Stuart Prescott <stuart+debian@nanonanonano.net>" # gpg: aka "Stuart Prescott <stuart@debian.org>" Stuart Prescott 8 years ago
6 changed file(s) with 15 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
0 i18nspector (0.20.1) unstable; urgency=low
1
2 * Set up temporary cache directory in tests/run-tests.
3
4 -- Jakub Wilk <jwilk@jwilk.net> Tue, 15 Sep 2015 17:38:38 +0200
5
06 i18nspector (0.20) unstable; urgency=low
17
28 * Use RPLY for parsing plural expressions.
00 .\" Man page generated from reStructuredText.
11 .
2 .TH I18NSPECTOR 1 "2015-09-10" "i18nspector 0.20" ""
2 .TH I18NSPECTOR 1 "2015-09-15" "i18nspector 0.20.1" ""
33 .SH NAME
44 i18nspector \- checking tool for gettext POT, PO and MO files
55 .
66 ----------------------------------------------
77
88 :manual section: 1
9 :version: i18nspector 0.20
9 :version: i18nspector 0.20.1
1010 :date: |date|
1111
1212 Synopsis
3535 from lib import tags
3636 from lib import terminal
3737
38 __version__ = '0.20'
38 __version__ = '0.20.1'
3939
4040 def initialize_terminal():
4141 if sys.stdout.isatty():
7979 ('left', ['MULDIV']),
8080 ('right', ['NOT']),
8181 ],
82 cache_id='i18nspector-plural-forms',
82 cache_id='i18nspector-intexpr',
8383 )
8484 ast_bool = {
8585 '&&': ast.And(),
1919 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2020 # SOFTWARE.
2121
22 import os
2223 import sys
24 import tempfile
2325
2426 import nose
2527
2830 from tests import blackbox_tests
2931
3032 if __name__ == '__main__':
31 nose.main(addplugins=[blackbox_tests.Plugin()])
33 with tempfile.TemporaryDirectory(prefix='i18nspector.tests.') as tmpdir:
34 os.environ['XDG_CACHE_HOME'] = tmpdir
35 nose.main(addplugins=[blackbox_tests.Plugin()])
3236
3337 # vim:ts=4 sts=4 sw=4 et