diff --git a/repology/parsers/parsers/spack.py b/repology/parsers/parsers/spack.py index a2ad0a9f..ab359dab 100644 --- a/repology/parsers/parsers/spack.py +++ b/repology/parsers/parsers/spack.py @@ -35,6 +35,8 @@ def iter_parse(self, path: str, factory: PackageFactory) -> Iterable[PackageMake pkg.add_name(pkgdata['name'], NameType.SPACK_NAME) pkg.add_homepages(pkgdata['homepages']) pkg.add_maintainers(f'{m}@spack' for m in pkgdata['maintainers']) + pkg.add_categories(pkgdata['categories']) + pkg.add_licenses(pkgdata['licenses']) pkg.set_extra_field('patch', [patch.split()[0] for patch in pkgdata['patches'] if '://' not in patch]) # - no usable keywords/categories (yet)