[arch-commits] Commit in python-vpython/trunk (PKGBUILD)
Rémy Oudompheng
remy at archlinux.org
Sun Aug 29 17:56:35 UTC 2010
Date: Sunday, August 29, 2010 @ 13:56:34
Author: remy
Revision: 89188
Rebuild for python2.
Modified:
python-vpython/trunk/PKGBUILD
----------+
PKGBUILD | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-08-29 17:34:51 UTC (rev 89187)
+++ PKGBUILD 2010-08-29 17:56:34 UTC (rev 89188)
@@ -4,11 +4,11 @@
pkgname=python-vpython
pkgver=5.32
-pkgrel=1
+pkgrel=2
pkgdesc="A Python module that offers real-time 3D output"
arch=('i686' 'x86_64')
url="http://www.vpython.org"
-depends=('gtkglextmm' 'libglademm' 'python' 'python-numpy' 'boost-libs' 'tk')
+depends=('gtkglextmm' 'libglademm' 'python2' 'python-numpy' 'boost-libs' 'tk')
makedepends=('pkg-config' 'boost')
license=('custom')
options=(!libtool)
@@ -19,7 +19,8 @@
build() {
cd ${srcdir}/visual-${pkgver}_release
patch -Np1 -i ${srcdir}/idlepath.patch || return 1
- pythondir=`python -c "from distutils import sysconfig; print sysconfig.get_python_lib()"`
+ pythondir=`python2 -c "from distutils import sysconfig; print sysconfig.get_python_lib()"`
+ export PYTHON=/usr/bin/python2
unset PYTHONPATH # ignore developers PYTHONPATH
./configure --prefix=/usr \
--with-example-dir=$pythondir/visual/demos
More information about the arch-commits
mailing list