aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-twisted
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/py-twisted
parentd6529c8d14d870c966dc74c3008cdce15dabb7c5 (diff)
downloadaports-c18b35140d6160530980ddae341d9aa45fe118fa.tar.bz2
aports-c18b35140d6160530980ddae341d9aa45fe118fa.tar.xz
[various] rename python executable in APKBUILDs to python2
Diffstat (limited to 'main/py-twisted')
-rw-r--r--main/py-twisted/APKBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/py-twisted/APKBUILD b/main/py-twisted/APKBUILD
index 2533273080..4e96c8a786 100644
--- a/main/py-twisted/APKBUILD
+++ b/main/py-twisted/APKBUILD
@@ -17,12 +17,12 @@ _builddir="$srcdir"/"$_pkgname"-$pkgver
build() {
cd "$_builddir"
- CFLAGS="$CFLAGS `pkgconf --cflags libtirpc`" python setup.py build || return 1
+ CFLAGS="$CFLAGS `pkgconf --cflags libtirpc`" python2 setup.py build || return 1
}
package() {
cd "$_builddir"
- python setup.py install --prefix=/usr --root="$pkgdir" || return 1
+ python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
_mans="pyhtmlizer.1 trial.1 twistd.1"
for _man in $_mans; do