aboutsummaryrefslogtreecommitdiff
path: root/python/python3-pooch/python3-pooch.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/python3-pooch/python3-pooch.SlackBuild')
-rw-r--r--python/python3-pooch/python3-pooch.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/python/python3-pooch/python3-pooch.SlackBuild b/python/python3-pooch/python3-pooch.SlackBuild
index 292872b972..a7bda19d58 100644
--- a/python/python3-pooch/python3-pooch.SlackBuild
+++ b/python/python3-pooch/python3-pooch.SlackBuild
@@ -24,7 +24,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-pooch
-VERSION=${VERSION:-1.8.1}
+VERSION=${VERSION:-1.8.2}
SRCNAM=${SRCNAM:-pooch}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -64,6 +64,9 @@ find -L . \
export SETUPTOOLS_SCM_PRETEND_VERSION=$VERSION
+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