diff --git a/README.md b/README.md index 37bbd99ef..324757bd7 100644 --- a/README.md +++ b/README.md @@ -176,7 +176,7 @@ directory which is created if it doesn't exist. | OpenBSD | ✔ | ✔ | ✔ | ✔ | ✔ | | | | Arch | ✔ | ✔ | ✔ | ✔ | | ✔ | ✔ | | Fedora | ✔ | ✔ | ✔ | | ✔ | ✔ | ✔ | -| OpenSUSE | ✔ | ✔ | | | | | | +| OpenSUSE | ✔ | ✔ | ✔ | | ✔ | ✔ | ✔ | | Sisyphus | ✔ | ✔ | ✔ | ✔ | ✔ | | | | Chocolatey | ✔ | ✔ | ✔ | | | ✔ | | | SlackBuilds | ✔ | ✔ | | ✔ | ✔ | ✔ | | diff --git a/repology/parser/opensuse.py b/repology/parser/opensuse.py index ff712ed9a..38ff0089c 100755 --- a/repology/parser/opensuse.py +++ b/repology/parser/opensuse.py @@ -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)