[arch-commits] Commit in python-distribute/trunk (PKGBUILD)
Stéphane Gaudreault
stephane at archlinux.org
Mon Oct 1 16:36:49 UTC 2012
Date: Monday, October 1, 2012 @ 12:36:48
Author: stephane
Revision: 167371
use python3 executable
Modified:
python-distribute/trunk/PKGBUILD
----------+
PKGBUILD | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-10-01 16:10:05 UTC (rev 167370)
+++ PKGBUILD 2012-10-01 16:36:48 UTC (rev 167371)
@@ -25,8 +25,7 @@
# Build python 3 module
cd distribute-${pkgver}
- python setup.py build
-# python setup.py test
+ python3 setup.py build
# Build python 2 module
cd ../distribute-${pkgver}-python2
@@ -34,14 +33,13 @@
sed -i -e "s|^#\!.*/usr/bin/python|#!/usr/bin/python2|" setuptools/tests/test_resources.py
python2 setup.py build
-# python2 setup.py test
}
package_python-distribute() {
depends=('python>=3.2')
cd "${srcdir}/distribute-${pkgver}"
- python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
+ python3 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 --skip-build
}
package_python2-distribute() {
More information about the arch-commits
mailing list