aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-pefile
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 /testing/py-pefile
parentd6529c8d14d870c966dc74c3008cdce15dabb7c5 (diff)
downloadaports-c18b35140d6160530980ddae341d9aa45fe118fa.tar.bz2
aports-c18b35140d6160530980ddae341d9aa45fe118fa.tar.xz
[various] rename python executable in APKBUILDs to python2
Diffstat (limited to 'testing/py-pefile')
-rw-r--r--testing/py-pefile/APKBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/py-pefile/APKBUILD b/testing/py-pefile/APKBUILD
index 610aadbfd6..54b8cf37fa 100644
--- a/testing/py-pefile/APKBUILD
+++ b/testing/py-pefile/APKBUILD
@@ -17,13 +17,13 @@ builddir="$srcdir/$_pkgname-$pkgver"
build() {
cd "$builddir"
- python setup.py build || return 1
+ python2 setup.py build || return 1
python3 setup.py build || return 1
}
package() {
cd "$builddir"
- python setup.py install --root=$pkgdir/ --optimize=1 || return 1
+ python2 setup.py install --root=$pkgdir/ --optimize=1 || return 1
python3 setup.py install --root=$pkgdir/ --optimize=1 || return 1
install -Dm0644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}