diff --git a/main.py b/main.py index c0ecb13..70e47fb 100755 --- a/main.py +++ b/main.py @@ -353,11 +353,11 @@ def group(name=None): return render_template('group.html', name=name, packages=res) else: - groups = set() + groups = {} for s in sources: for k, p in sorted(s.packages.items()): for name in p.groups: - groups.add(name) + groups[name] = groups.get(name, 0) + 1 return render_template('groups.html', groups=groups) diff --git a/templates/groups.html b/templates/groups.html index 2416ffc..c7496cd 100644 --- a/templates/groups.html +++ b/templates/groups.html @@ -7,13 +7,22 @@
All package groups
-
diff --git a/templates/index.html b/templates/index.html index 1e91693..4809ed7 100644 --- a/templates/index.html +++ b/templates/index.html @@ -7,13 +7,24 @@
All base packages
-
diff --git a/templates/layout.html b/templates/layout.html index 1aa04e3..1585964 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -17,7 +17,7 @@ -