feat: Load from .SRCINFO
Compare changes
Files
4+ 1
− 1
@@ -14,7 +14,7 @@ import Namcap.ruleclass
Due to an influx of spam, we have had to temporarily disable account registrations. Please write an email to accountsupport@archlinux.org, with your desired username, if you want to get access. Sorry for the inconvenience.
This adds a function to load package info from a .SRCINFO
file using python-srcinfo.
The first unit test is rather ugly, because it needs normalization on the object created by load_from_pkgbuild
before comparing the result of the new function. But it shows some potential issues that will need to be solved when migrating to .SRCINFO
in the whole codebase.
Related to #91