aportgen/APKBUILD parser cannot handle comment on pkgver line
Right now, there's a comment on the pkgver line of the APKBUILD for binutils: https://gitlab.alpinelinux.org/alpine/aports/-/blob/8166aeaccb728aa1888077a136f46b333edb8b1d/main/binutils/APKBUILD#L4
Trying to run pmbootstrap aportgen binutils-aarch64
results in the following:
$ pmb aportgen binutils-aarch64
[11:37:06] Generate aport: binutils-aarch64
[11:37:06] Checkout aports.git branch: master
[11:37:06] NOTE: Valid pkgvers are described here: https://wiki.alpinelinux.org/wiki/APKBUILD_Reference#pkgver
[11:37:06] ERROR: Invalid pkgver '2.37 # XXX: remove man page workaround in prepare() on upgrade' in APKBUILD: /mnt/storage/LinuxPhoneStuff/pmOSwork/cache_git/aports_upstream/main/binutils/APKBUILD
I think this could be handled better.