diff options
Diffstat (limited to 'python/python3-gearbox')
-rw-r--r-- | python/python3-gearbox/python3-gearbox.SlackBuild | 8 | ||||
-rw-r--r-- | python/python3-gearbox/python3-gearbox.info | 8 |
2 files changed, 10 insertions, 6 deletions
diff --git a/python/python3-gearbox/python3-gearbox.SlackBuild b/python/python3-gearbox/python3-gearbox.SlackBuild index db5d15167c..a2773cf68e 100644 --- a/python/python3-gearbox/python3-gearbox.SlackBuild +++ b/python/python3-gearbox/python3-gearbox.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-gearbox SRCNAM=${PRGNAM#python3-*} -VERSION=${VERSION:-0.2.2} +VERSION=${VERSION:-0.3.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -64,7 +64,11 @@ 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 {} \; -python3 setup.py install --root=$PKG +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + +python3 -m build --no-isolation +python3 -m installer -d "$PKG" dist/*.whl mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a README* MANIFEST.in $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/python/python3-gearbox/python3-gearbox.info b/python/python3-gearbox/python3-gearbox.info index d61c0c5f58..c97d26dcb4 100644 --- a/python/python3-gearbox/python3-gearbox.info +++ b/python/python3-gearbox/python3-gearbox.info @@ -1,10 +1,10 @@ PRGNAM="python3-gearbox" -VERSION="0.2.2" +VERSION="0.3.2" HOMEPAGE="https://github.com/TurboGears/gearbox" -DOWNLOAD="https://github.com/TurboGears/gearbox/archive/0.2.2/gearbox-0.2.2.tar.gz" -MD5SUM="1f2a79b65049572da43b45b037bca294" +DOWNLOAD="https://github.com/TurboGears/gearbox/archive/0.3.2/gearbox-0.3.2.tar.gz" +MD5SUM="1052b6b277ece006cd91d114fa5b0b59" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python3-hupper python3-pastedeploy tempita" +REQUIRES="python3-setuptools-opt python3-hupper python3-pastedeploy tempita" MAINTAINER="Yth - Arnaud" EMAIL="yth@ythogtha.org" |