summaryrefslogtreecommitdiffstats
path: root/python/python3-pytest/python3-pytest.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/python3-pytest/python3-pytest.SlackBuild')
-rw-r--r--python/python3-pytest/python3-pytest.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/python/python3-pytest/python3-pytest.SlackBuild b/python/python3-pytest/python3-pytest.SlackBuild
index 6e839c951e..325292f333 100644
--- a/python/python3-pytest/python3-pytest.SlackBuild
+++ b/python/python3-pytest/python3-pytest.SlackBuild
@@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-pytest
SRCNAM=pytest
-VERSION=${VERSION:-8.0.2}
+VERSION=${VERSION:-8.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -66,6 +66,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 {} \;
+# Use newer setuptools
+export PYTHONPATH=/opt/python3.9/site-packages/
+
python3 -m build --wheel --no-isolation
python3 -m installer --destdir "$PKG" dist/*.whl