Mike Gabriel pushed to branch master at Debian and Ubuntu MATE Packaging Team / caja-rename
Commits:
-
c18d721a
by Mike Gabriel at 2023-06-26T11:14:25+02:00
-
5b45c8db
by Mike Gabriel at 2023-06-26T11:14:33+02:00
-
7e1e8b1a
by Mike Gabriel at 2023-06-26T11:17:09+02:00
-
a8d718a1
by Mike Gabriel at 2023-06-26T11:20:54+02:00
4 changed files:
Changes:
1 | +caja-rename (23.4.1-1) unstable; urgency=medium
|
|
2 | + |
|
3 | + * New upstream release.
|
|
4 | + * debian/control:
|
|
5 | + + Bump Standards-Version: to 4.6.2. No changes needed.
|
|
6 | + * debian/patches:
|
|
7 | + + Drop 1001_ignore-potfile.patch. Resolved upstream.
|
|
8 | + |
|
9 | + -- Mike Gabriel <sunweaver@debian.org> Mon, 26 Jun 2023 11:14:39 +0200
|
|
10 | + |
|
1 | 11 | caja-rename (22.10.31-1) unstable; urgency=medium
|
2 | 12 | |
3 | 13 | * New upstream release.
|
... | ... | @@ -12,7 +12,7 @@ Build-Depends: |
12 | 12 | python3 (>= 3.6),
|
13 | 13 | python3-setuptools,
|
14 | 14 | python3-polib,
|
15 | -Standards-Version: 4.6.1
|
|
15 | +Standards-Version: 4.6.2
|
|
16 | 16 | Rules-Requires-Root: no
|
17 | 17 | Homepage: https://tari.in/www/software/caja-rename/
|
18 | 18 | Vcs-Browser: https://salsa.debian.org/debian-mate-team/caja-rename
|
1 | -Description: Ignore all non-.po files in po/ subfolder.
|
|
2 | -Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
|
|
3 | - |
|
4 | ---- a/setup.py
|
|
5 | -+++ b/setup.py
|
|
6 | -@@ -11,16 +11,16 @@
|
|
7 | -
|
|
8 | - for strFilename in lstFilenames:
|
|
9 | -
|
|
10 | -- strLocale = os.path.splitext(strFilename)[0]
|
|
11 | -+ if not strFilename.endswith('.po'): continue
|
|
12 | -
|
|
13 | -- if strLocale != APPNAME:
|
|
14 | -+ strLocale = os.path.splitext(strFilename)[0]
|
|
15 | -
|
|
16 | -- strLocaleDir = 'data/usr/share/locale/' + strLocale + '/LC_MESSAGES/'
|
|
17 | -+ strLocaleDir = 'data/usr/share/locale/' + strLocale + '/LC_MESSAGES/'
|
|
18 | -
|
|
19 | -- if not os.path.isdir(strLocaleDir):
|
|
20 | -- os.makedirs(strLocaleDir)
|
|
21 | -+ if not os.path.isdir(strLocaleDir):
|
|
22 | -+ os.makedirs(strLocaleDir)
|
|
23 | -
|
|
24 | -- polib.pofile('po/' + strFilename).save_as_mofile(strLocaleDir + APPNAME + '.mo')
|
|
25 | -+ polib.pofile('po/' + strFilename).save_as_mofile(strLocaleDir + APPNAME + '.mo')
|
|
26 | -
|
|
27 | - for strRoot, lstDirnames, lstFilenames in os.walk('data'):
|
|
28 | - |
1 | -1001_ignore-potfile.patch |