aboutsummaryrefslogtreecommitdiff
path: root/python/python3-aiohttp/python3-aiohttp.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/python3-aiohttp/python3-aiohttp.SlackBuild')
-rw-r--r--python/python3-aiohttp/python3-aiohttp.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/python/python3-aiohttp/python3-aiohttp.SlackBuild b/python/python3-aiohttp/python3-aiohttp.SlackBuild
index d6ac145645..4b8f40430c 100644
--- a/python/python3-aiohttp/python3-aiohttp.SlackBuild
+++ b/python/python3-aiohttp/python3-aiohttp.SlackBuild
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-aiohttp
-VERSION=${VERSION:-3.13.0}
+VERSION=${VERSION:-3.13.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -65,6 +65,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 -m build --wheel --no-isolation
python3 -m installer --destdir=$PKG dist/*.whl