summaryrefslogtreecommitdiffstats
path: root/python/python3-geventhttpclient/python3-geventhttpclient.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/python3-geventhttpclient/python3-geventhttpclient.SlackBuild')
-rw-r--r--python/python3-geventhttpclient/python3-geventhttpclient.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/python/python3-geventhttpclient/python3-geventhttpclient.SlackBuild b/python/python3-geventhttpclient/python3-geventhttpclient.SlackBuild
index 34637d4acd..dce9b7539f 100644
--- a/python/python3-geventhttpclient/python3-geventhttpclient.SlackBuild
+++ b/python/python3-geventhttpclient/python3-geventhttpclient.SlackBuild
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-geventhttpclient
SRCNAM=geventhttpclient
VERSION=${VERSION:-2.3.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -77,6 +77,10 @@ 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 {} \;
+# needs newer setuptools to fix "UNKNOWN" and no module generated
+PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
+export PYTHONPATH=/opt/python$PYVER/site-packages
+
python3 -m build --wheel --no-isolation
python3 -m installer --destdir "$PKG" dist/*.whl