Close #194: Aports subfolders! See migration guide in the wiki (#227)

Migration guide:
https://github.com/postmarketOS/pmbootstrap/wiki/Migration-to-aports-subfolders
This commit is contained in:
Oliver Smith 2017-07-28 22:34:40 +00:00 committed by GitHub
parent 6dbf3c7872
commit 314c17e03c
253 changed files with 58 additions and 42 deletions

View file

@ -100,8 +100,9 @@ def menuconfig(args):
def parse_apkbuild(args):
build_path = args.aports + "/" + args.package + "/APKBUILD"
print(json.dumps(pmb.parse.apkbuild(args, build_path), indent=4))
aport = pmb.build.other.find_aport(args, args.package)
path = aport + "/APKBUILD"
print(json.dumps(pmb.parse.apkbuild(args, path), indent=4))
def parse_apkindex(args):