aboutsummaryrefslogtreecommitdiffstats
path: root/python3-platformdirs
diff options
context:
space:
mode:
Diffstat (limited to 'python3-platformdirs')
-rw-r--r--python3-platformdirs/python3-platformdirs.SlackBuild10
-rw-r--r--python3-platformdirs/python3-platformdirs.info6
2 files changed, 12 insertions, 4 deletions
diff --git a/python3-platformdirs/python3-platformdirs.SlackBuild b/python3-platformdirs/python3-platformdirs.SlackBuild
index 41b39c8..301a5af 100644
--- a/python3-platformdirs/python3-platformdirs.SlackBuild
+++ b/python3-platformdirs/python3-platformdirs.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-platformdirs
-VERSION=${VERSION:-4.14.5}
+VERSION=${VERSION:-4.14.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -64,6 +64,14 @@ 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 {} \;
+# Since 4.14.9 upstream runs the python-sbom hatchling hook, which only
+# writes a CycloneDX SBOM into the wheel's .dist-info. It is not packaged and
+# nothing uses it at runtime, so drop it from the build requirements and the
+# hook table. The grep stops the build (set -e) if the hook line is gone,
+# so this strip gets revisited instead of silently doing nothing.
+grep -q '^build\.hooks\.python-sbom' pyproject.toml
+sed -i '/"python-sbom\[hatch\]/d; /^build\.hooks\.python-sbom/d' pyproject.toml
+
# platformdirs uses hatch-vcs (setuptools-scm under the hood); provide the
# version so it doesn't need git tags. hatch-vcs writes src/platformdirs/version.py
# during the build, so no manual fixup is needed.
diff --git a/python3-platformdirs/python3-platformdirs.info b/python3-platformdirs/python3-platformdirs.info
index 6c006c1..774d3a7 100644
--- a/python3-platformdirs/python3-platformdirs.info
+++ b/python3-platformdirs/python3-platformdirs.info
@@ -1,8 +1,8 @@
PRGNAM="python3-platformdirs"
-VERSION="4.14.5"
+VERSION="4.14.9"
HOMEPAGE="https://platformdirs.readthedocs.io/en/latest/"
-DOWNLOAD="https://files.pythonhosted.org/packages/d7/9a/8475be631fb33ca1466915e70fd594c42a4e84b512db650eaa14f90fe75d/platformdirs-4.14.5.tar.gz"
-MD5SUM="512d112422d0a9d29b41e5b2d0693557"
+DOWNLOAD="https://files.pythonhosted.org/packages/d6/96/549558270586699a271a18b1111482dc3fc39baa0ef61d183e230d2c961d/platformdirs-4.14.9.tar.gz"
+MD5SUM="d029c9c59d51bb7696fbfae39da9e80d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python3-hatchling python3-hatch_vcs python3-build python3-installer"