diff options
Diffstat (limited to 'python/python3-pytest/python3-pytest.SlackBuild')
| -rw-r--r-- | python/python3-pytest/python3-pytest.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/python/python3-pytest/python3-pytest.SlackBuild b/python/python3-pytest/python3-pytest.SlackBuild index bb9a116232..4cb50fc520 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.3.5} +VERSION=${VERSION:-9.0.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -70,6 +70,10 @@ find -L . \ PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') export PYTHONPATH=/opt/python$PYVER/site-packages/ +# Remove packaging requirement so we don't have a warning with pip check +# (since it's provided in /opt/, but not detected by default +sed -i 's|"packaging>=.*",|"packaging",|' pyproject.toml + python3 -m build --wheel --no-isolation python3 -m installer --destdir "$PKG" dist/*.whl |
