(cls, location, package_only=False)
| 138 | |
| 139 | @classmethod |
| 140 | def parse(cls, location, package_only=False): |
| 141 | package_data = parse_apkbuild( |
| 142 | location=location, |
| 143 | strict=True, |
| 144 | package_only=package_only |
| 145 | ) |
| 146 | if not package_only: |
| 147 | cls.populate_license_fields(package_data) |
| 148 | if package_data: |
| 149 | yield package_data |
| 150 | |
| 151 | @staticmethod |
| 152 | def get_license_detections_and_expression(package): |
no test coverage detected