aboutsummaryrefslogtreecommitdiff
path: root/python/python3-pdm/python3-pdm.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'python/python3-pdm/python3-pdm.SlackBuild')
-rw-r--r--python/python3-pdm/python3-pdm.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/python/python3-pdm/python3-pdm.SlackBuild b/python/python3-pdm/python3-pdm.SlackBuild
index 2f00e21ceb..6d80369cd8 100644
--- a/python/python3-pdm/python3-pdm.SlackBuild
+++ b/python/python3-pdm/python3-pdm.SlackBuild
@@ -24,7 +24,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-pdm
-VERSION=${VERSION:-2.24.1}
+VERSION=${VERSION:-2.25.9}
SRCNAM=${SRCNAM:-pdm}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -68,6 +68,10 @@ sed -i '/\"pbs-installer.*\",/d' pyproject.toml
# Remove hard version requirement on certifi, since it's been working fine
sed -i 's|certifi.*|certifi",|' pyproject.toml
+# Remove hard version requirement on packaging, since the correct version
+# is in /opt/
+sed -i 's|packaging>.*|packaging",|' pyproject.toml
+
python3 -m build --wheel --no-isolation
python3 -m installer --destdir=$PKG dist/*.whl