aboutsummaryrefslogtreecommitdiff
path: root/python/python3-daemon/python3-daemon.SlackBuild
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2024-09-09 12:43:56 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-09-14 23:37:00 +0700
commit027439995d5a93d52198ddf249708605f14fd5d9 (patch)
tree87b78b8ce1345e262bebeb81932d80f053a2e9c9 /python/python3-daemon/python3-daemon.SlackBuild
parent8bbb7a14778341b1119be4c4bc2bba76f19b0075 (diff)
python/python3-daemon: Temp workaround for new setuptools.
Problem is upstream and they are aware. Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-daemon/python3-daemon.SlackBuild')
-rw-r--r--python/python3-daemon/python3-daemon.SlackBuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/python/python3-daemon/python3-daemon.SlackBuild b/python/python3-daemon/python3-daemon.SlackBuild
index bfb082a12a..d07bc2e09d 100644
--- a/python/python3-daemon/python3-daemon.SlackBuild
+++ b/python/python3-daemon/python3-daemon.SlackBuild
@@ -80,6 +80,11 @@ 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 {} \;
+# 46and2: needs following patch minus Changelog fix or will not build
+# https://pagure.io/python-daemon/c/3bbc4696
+# upstream is still working on proper fix, see issue #94
+patch -p1 < $CWD/packaging-version.patch
+
PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')
export PYTHONPATH=/opt/python$PYVER/site-packages/