Commit 12649178 authored by Jakub Jirutka's avatar Jakub Jirutka

newapkbuild: change python to python3

parent 20f5ea67
......@@ -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";;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment