This is an automated email from the git hooks/post-receive script. smcv pushed a commit to branch master in repository game-data-packager.
commit 05decd7c69d55c213e6f65ec36e9aa0d992329ca Author: Alexandre Detiste <[email protected]> Date: Mon Feb 9 18:44:50 2015 +0100 make_template: copy 'longname:' from Steam metadata --- game_data_packager/make_template.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/game_data_packager/make_template.py b/game_data_packager/make_template.py index 7b2c4ae..55c62a5 100644 --- a/game_data_packager/make_template.py +++ b/game_data_packager/make_template.py @@ -47,6 +47,7 @@ def do_one_dir(destdir,lower): if game.endswith('-data'): game = game[:len(game) - 5] + longname = None steam = max(destdir.find('/SteamApps/common/'), destdir.find('/steamapps/common/')) if steam > 0: @@ -55,7 +56,7 @@ def do_one_dir(destdir,lower): for acf in parse_acf(destdir[:steam+11]): if '/common/' + acf['installdir'] in destdir: steam_id = acf['appid'] - game = acf['name'] + longname = game = acf['name'] break steam_dict['id'] = steam_id steam_dict['path'] = destdir[steam+11:] @@ -105,6 +106,8 @@ def do_one_dir(destdir,lower): print('%YAML 1.2') print('---') + if longname: + print('longname: %s\n' % longname) if destdir.startswith('/usr/local'): print('try_repack_from:\n- %s\n' % destdir) yaml.safe_dump(data, stream=sys.stdout, default_flow_style=False) -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git _______________________________________________ Pkg-games-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

