make mypy happy (MR 2252)

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
This commit is contained in:
Caleb Connolly 2024-06-13 05:35:30 +02:00 committed by Oliver Smith
parent f2ca9c618e
commit 0365438134
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
10 changed files with 19 additions and 14 deletions

View file

@ -60,7 +60,7 @@ def generate_apkbuild(pkgname: str, deviceinfo: Deviceinfo, patches: List[str]):
makedepends.sort()
makedepends_fmt = ("\n" + " " * 12).join(makedepends)
patches = ("\n" + " " * 12).join(patches)
patches_str = ("\n" + " " * 12).join(patches)
content = f"""\
# Reference: <https://postmarketos.org/vendorkernel>
# Kernel config based on: arch/{carch}/configs/(CHANGEME!)
@ -86,7 +86,7 @@ def generate_apkbuild(pkgname: str, deviceinfo: Deviceinfo, patches: List[str]):
source="
$pkgname-$_commit.tar.gz::https://github.com/LineageOS/$_repository/archive/$_commit.tar.gz
$_config
{patches}
{patches_str}
"
builddir="$srcdir/$_repository-$_commit"
_outdir="out"