aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-06-05 12:12:01 +0200
committerDanilo M. <danix@danix.xyz>2026-06-05 12:12:01 +0200
commit96b63dc086e548a45eda0680f81ca2f2c26614f8 (patch)
treeced0fa1d59455d78c9d2fddb955e1600493acbd3
parent153e93b9eb20d40bbccd405cb85de1de675d5aaf (diff)
downloadmy-slackbuilds-96b63dc086e548a45eda0680f81ca2f2c26614f8.tar.gz
my-slackbuilds-96b63dc086e548a45eda0680f81ca2f2c26614f8.zip
python3-fsspec: fix build with SETUPTOOLS_SCM_PRETEND_VERSION
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
-rw-r--r--python3-fsspec/python3-fsspec.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/python3-fsspec/python3-fsspec.SlackBuild b/python3-fsspec/python3-fsspec.SlackBuild
index 5351498..bebe342 100644
--- a/python3-fsspec/python3-fsspec.SlackBuild
+++ b/python3-fsspec/python3-fsspec.SlackBuild
@@ -81,7 +81,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 -m build --wheel --no-isolation
+SETUPTOOLS_SCM_PRETEND_VERSION_FOR_FSSPEC=$VERSION \
+ python3 -m build --wheel --no-isolation
python3 -m installer --destdir "$PKG" dist/*.whl
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \