Fixed checksum on travis for removed packages (#332)

* Add check for removed packages

* Change for testing travis

* Fixed package depth
This commit is contained in:
Martijn Braam 2017-08-04 16:52:24 +02:00 committed by Oliver Smith
parent de9f6a59b9
commit d12ca0db86
1 changed files with 5 additions and 0 deletions

View File

@ -22,6 +22,11 @@ def get_changed_packages():
if not file.startswith("aports/"):
continue
name = file.split("/")[2]
package_path = "/".join(file.split("/")[0:3])
apkbuild_path = os.path.join(package_path, "APKBUILD")
if not os.path.exists(apkbuild_path):
print("No APKBUILD found at {}".format(package_path))
continue
packages.add(name)
return packages