diff options
| author | Arn0 <yth@ythogtha.org> | 2025-04-25 15:00:13 +0200 |
|---|---|---|
| committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2025-04-25 21:48:54 +0700 |
| commit | 140ee7dc4587e5ed78f32f2c878ef85e4bceb3ad (patch) | |
| tree | ff8751e54b0474011cdb3b5336526cfe7b1ba679 /python/python3-turbogears2/python3-turbogears2.SlackBuild | |
| parent | bca69299f2619cbccd773bb03ddcd2462bab1cf8 (diff) | |
python/python3-turbogears2: updated for version 2.5.0
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 |
