From ef71a96b043703a35f32774618e320f36b48967c Mon Sep 17 00:00:00 2001 From: Jeremy Hansen Date: Mon, 5 Feb 2024 15:10:22 -0800 Subject: python/python3-pytest: Version bump to 8.0.0 Signed-off-by: Willy Sudiarto Raharjo --- python/python3-pytest/python3-pytest.SlackBuild | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'python/python3-pytest/python3-pytest.SlackBuild') diff --git a/python/python3-pytest/python3-pytest.SlackBuild b/python/python3-pytest/python3-pytest.SlackBuild index 71e20b8fd0..dd286ea19f 100644 --- a/python/python3-pytest/python3-pytest.SlackBuild +++ b/python/python3-pytest/python3-pytest.SlackBuild @@ -4,7 +4,7 @@ # Copyright 2018 Serban Udrea # Copyright 2022-2023 Isaac Yu -# Copyright 2023 Jeremy Hansen +# Copyright 2023-2024 Jeremy Hansen # All rights reserved. # Based on the pytest SlackBuild by Dimitris Zlatanidis Orestiada, Greece # @@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-pytest SRCNAM=pytest -VERSION=${VERSION:-7.4.3} +VERSION=${VERSION:-8.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -66,7 +66,8 @@ 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 +python3 -m build --wheel --no-isolation +python3 -m installer --destdir "$PKG" dist/*.whl mv $PKG/usr/bin/py.test $PKG/usr/bin/py.test3 mv $PKG/usr/bin/pytest $PKG/usr/bin/pytest3 -- cgit v1.2.3