diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2018-05-07 22:22:26 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2018-05-07 22:22:26 +0200 |
commit | 1264917824163aa4c25d3b4482619a79eba41d54 (patch) | |
tree | c73807f6c07ba1cf0ae3a4326e073471be67ca8c /newapkbuild.in | |
parent | 20f5ea679be4d0b4463160edd3a678853c968f88 (diff) | |
download | abuild-1264917824163aa4c25d3b4482619a79eba41d54.tar.gz abuild-1264917824163aa4c25d3b4482619a79eba41d54.tar.bz2 abuild-1264917824163aa4c25d3b4482619a79eba41d54.tar.xz abuild-1264917824163aa4c25d3b4482619a79eba41d54.zip |
newapkbuild: change python to python3
Diffstat (limited to 'newapkbuild.in')
-rw-r--r-- | newapkbuild.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/newapkbuild.in b/newapkbuild.in index 955a9d4..59c5f70 100644 --- a/newapkbuild.in +++ b/newapkbuild.in @@ -100,7 +100,7 @@ __EOF__ build_python() { cat >>APKBUILD<<__EOF__ - python setup.py build + python3 setup.py build __EOF__ } @@ -130,7 +130,7 @@ __EOF__ package_python() { cat >>APKBUILD<<__EOF__ - python setup.py install --prefix=/usr --root="\$pkgdir" + python3 setup.py install --prefix=/usr --root="\$pkgdir" __EOF__ } @@ -169,11 +169,11 @@ newaport() { fi if [ -z "$depends" ] &&[ "$buildtype" = "python" ]; then - depends="python" + depends="python3" fi case "$buildtype" in - python) makedepends="python-dev";; + python) makedepends="python3-dev";; cmake) makedepends="cmake";; meson) makedepends="meson";; *) makedepends="\$depends_dev";; |