Skip to content

Commit

Permalink
aosc: exclude core-misc
Browse files Browse the repository at this point in the history
  • Loading branch information
xtexChooser authored and AMDmi3 committed Aug 12, 2024
1 parent 1ab2ebe commit 376ca3b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions repology/parsers/parsers/aosc.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ def iter_parse(self, path: str, factory: PackageFactory) -> Iterable[PackageMake
if pkgdata['category'] == 'meta' and pkgdata['section'] == 'bases':
# skip dummy packages in meta-bases section
continue
if pkgdata['category'] == 'core' and pkgdata['section'] == 'misc':
# skip core-misc, which includes only the aosc-aaa package
continue
with factory.begin() as pkg:
pkg.add_name(pkgdata['name'], NameType.AOSC_NAME)
pkg.add_name(pkgdata['directory'], NameType.AOSC_DIRECTORY)
Expand Down

0 comments on commit 376ca3b

Please sign in to comment.