aboutsummaryrefslogtreecommitdiffstats
path: root/main/boost/APKBUILD
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-10-26 19:19:22 +0200
committerJakub Jirutka <jakub@jirutka.cz>2016-10-26 19:47:58 +0200
commitc18b35140d6160530980ddae341d9aa45fe118fa (patch)
treef4aa7bd122e37e0968aaf9f740fa45e82c7ec72a /main/boost/APKBUILD
parentd6529c8d14d870c966dc74c3008cdce15dabb7c5 (diff)
downloadaports-c18b35140d6160530980ddae341d9aa45fe118fa.tar.bz2
aports-c18b35140d6160530980ddae341d9aa45fe118fa.tar.xz
[various] rename python executable in APKBUILDs to python2
Diffstat (limited to 'main/boost/APKBUILD')
-rw-r--r--main/boost/APKBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/boost/APKBUILD b/main/boost/APKBUILD
index 6b41bfb666..98a1fbf8e5 100644
--- a/main/boost/APKBUILD
+++ b/main/boost/APKBUILD
@@ -42,14 +42,14 @@ prepare() {
cd "$builddir"
- PY2_VERSION="$(_pyversion python)"
+ PY2_VERSION="$(_pyversion python2)"
PY3_VERSION="$(_pyversion python3)"
# create user-config.jam
cat > user-config.jam <<-__EOF__
using gcc : : $CC : <cxxflags>"${CXXFLAGS}" <linkflags>"${LDFLAGS}" ;
- using python : ${PY2_VERSION} : /usr/bin/python : /usr/include/python${PY2_VERSION} : /usr/lib ;
+ using python : ${PY2_VERSION} : /usr/bin/python2 : /usr/include/python${PY2_VERSION} : /usr/lib ;
using python : ${PY3_VERSION} : /usr/bin/python3 : /usr/include/python${PY3_VERSION}m : /usr/lib ;
__EOF__
@@ -112,7 +112,7 @@ package() {
install || return 1
cd libs/python/pyste/install
- python setup.py install --root="$pkgdir" || return 1
+ python2 setup.py install --root="$pkgdir" || return 1
}
_boostlib() {