diff options
Diffstat (limited to 'python/python3-turbogears2/python3-turbogears2.SlackBuild')
-rw-r--r-- | python/python3-turbogears2/python3-turbogears2.SlackBuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/python/python3-turbogears2/python3-turbogears2.SlackBuild b/python/python3-turbogears2/python3-turbogears2.SlackBuild index 00c6411a21..ae153291c3 100644 --- a/python/python3-turbogears2/python3-turbogears2.SlackBuild +++ b/python/python3-turbogears2/python3-turbogears2.SlackBuild @@ -23,8 +23,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-turbogears2 -SRCNAM=TurboGears2 -VERSION=${VERSION:-2.4.3} +SRCNAM=turbogears2 +VERSION=${VERSION:-2.5.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -64,6 +64,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + python3 setup.py install --root=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION |