diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2016-10-26 19:19:22 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2016-10-26 19:47:58 +0200 |
commit | c18b35140d6160530980ddae341d9aa45fe118fa (patch) | |
tree | f4aa7bd122e37e0968aaf9f740fa45e82c7ec72a /main/boost | |
parent | d6529c8d14d870c966dc74c3008cdce15dabb7c5 (diff) | |
download | alpine_aports-c18b35140d6160530980ddae341d9aa45fe118fa.tar.bz2 alpine_aports-c18b35140d6160530980ddae341d9aa45fe118fa.tar.xz alpine_aports-c18b35140d6160530980ddae341d9aa45fe118fa.zip |
[various] rename python executable in APKBUILDs to python2
Diffstat (limited to 'main/boost')
-rw-r--r-- | main/boost/APKBUILD | 6 |
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() { | |||
42 | 42 | ||
43 | cd "$builddir" | 43 | cd "$builddir" |
44 | 44 | ||
45 | PY2_VERSION="$(_pyversion python)" | 45 | PY2_VERSION="$(_pyversion python2)" |
46 | PY3_VERSION="$(_pyversion python3)" | 46 | PY3_VERSION="$(_pyversion python3)" |
47 | 47 | ||
48 | # create user-config.jam | 48 | # create user-config.jam |
49 | cat > user-config.jam <<-__EOF__ | 49 | cat > user-config.jam <<-__EOF__ |
50 | 50 | ||
51 | using gcc : : $CC : <cxxflags>"${CXXFLAGS}" <linkflags>"${LDFLAGS}" ; | 51 | using gcc : : $CC : <cxxflags>"${CXXFLAGS}" <linkflags>"${LDFLAGS}" ; |
52 | using python : ${PY2_VERSION} : /usr/bin/python : /usr/include/python${PY2_VERSION} : /usr/lib ; | 52 | using python : ${PY2_VERSION} : /usr/bin/python2 : /usr/include/python${PY2_VERSION} : /usr/lib ; |
53 | using python : ${PY3_VERSION} : /usr/bin/python3 : /usr/include/python${PY3_VERSION}m : /usr/lib ; | 53 | using python : ${PY3_VERSION} : /usr/bin/python3 : /usr/include/python${PY3_VERSION}m : /usr/lib ; |
54 | 54 | ||
55 | __EOF__ | 55 | __EOF__ |
@@ -112,7 +112,7 @@ package() { | |||
112 | install || return 1 | 112 | install || return 1 |
113 | 113 | ||
114 | cd libs/python/pyste/install | 114 | cd libs/python/pyste/install |
115 | python setup.py install --root="$pkgdir" || return 1 | 115 | python2 setup.py install --root="$pkgdir" || return 1 |
116 | } | 116 | } |
117 | 117 | ||
118 | _boostlib() { | 118 | _boostlib() { |