[game-data-packager] 10/11: Sort Depends, Recommends, Suggests, Provides, Conflicts and Replaces
Simon McVittie
smcv at debian.org
Sun Jan 25 19:29:36 UTC 2015
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 9d9e95a42f6d90388556b9ba8f9fbd91d7499a69
Author: Simon McVittie <smcv at debian.org>
Date: Sun Jan 25 19:08:47 2015 +0000
Sort Depends, Recommends, Suggests, Provides, Conflicts and Replaces
For more deterministic .deb building.
---
game_data_packager/__init__.py | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/game_data_packager/__init__.py b/game_data_packager/__init__.py
index 3e65fef..c5a0b16 100644
--- a/game_data_packager/__init__.py
+++ b/game_data_packager/__init__.py
@@ -1714,17 +1714,17 @@ class GameData(object):
conflicts.add(conflict)
if depends:
- control['Depends'] = ', '.join(depends)
+ control['Depends'] = ', '.join(sorted(depends))
if recommends:
- control['Recommends'] = ', '.join(recommends)
+ control['Recommends'] = ', '.join(sorted(recommends))
if suggests:
- control['Suggests'] = ', '.join(suggests)
+ control['Suggests'] = ', '.join(sorted(suggests))
if provides:
- control['Provides'] = ', '.join(provides)
+ control['Provides'] = ', '.join(sorted(provides))
if replaces:
- control['Replaces'] = ', '.join(replaces)
+ control['Replaces'] = ', '.join(sorted(replaces))
if conflicts:
- control['Conflicts'] = ', '.join(conflicts)
+ control['Conflicts'] = ', '.join(sorted(conflicts))
version = package.debian.get('version')
if 'Version' in control:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git
More information about the Pkg-games-commits
mailing list