apkbuild-pypi.in: remove empty variables

This commit is contained in:
Timothy Legge 2021-01-23 20:43:26 +00:00
parent 82b4d9bf43
commit 9246fbc8b4
1 changed files with 3 additions and 0 deletions

3
apkbuild-pypi.in Normal file → Executable file
View File

@ -216,6 +216,9 @@ sub get_deps {
$apk =~ s/pymakedepends=""/pymakedepends="$reqs"/;
# remove empty variables
$apk =~ s/.*=""\n//g;
open my $fh, '>:utf8', 'APKBUILD';
print $fh $apk;