Skip to content

Commit

Permalink
Add category and license support for OpenSUSE
Browse files Browse the repository at this point in the history
  • Loading branch information
AMDmi3 committed Oct 17, 2016
1 parent cbde2df commit b5036fa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ directory which is created if it doesn't exist.
| OpenBSD |||||| | |
| Arch ||||| |||
| Fedora |||| ||||
| OpenSUSE ||| | | | | |
| OpenSUSE ||| | | | | |
| Sisyphus |||||| | |
| Chocolatey |||| | || |
| SlackBuilds ||| |||| |
Expand Down
4 changes: 4 additions & 0 deletions repology/parser/opensuse.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ def Parse(self, path):
pkg.version = pkg.fullversion
pkg.comment = entry.find("{http://linux.duke.edu/metadata/common}summary").text
pkg.homepage = entry.find("{http://linux.duke.edu/metadata/common}url").text
pkg.category = entry.find("{http://linux.duke.edu/metadata/common}format/"
"{http://linux.duke.edu/metadata/rpm}group").text
pkg.licenses.append(entry.find("{http://linux.duke.edu/metadata/common}format/"
"{http://linux.duke.edu/metadata/rpm}license").text)

result.append(pkg)

Expand Down

0 comments on commit b5036fa

Please sign in to comment.