From 19c04dd4911b6a748bf1d626f08daee10aeb2bbb Mon Sep 17 00:00:00 2001 From: fourtysixandtwo Date: Mon, 9 Sep 2024 12:01:09 -0600 Subject: python/python3-hatch_vcs: Fix for new hatchling. Signed-off-by: Willy Sudiarto Raharjo --- python/python3-hatch_vcs/python3-hatch_vcs.SlackBuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'python/python3-hatch_vcs/python3-hatch_vcs.SlackBuild') diff --git a/python/python3-hatch_vcs/python3-hatch_vcs.SlackBuild b/python/python3-hatch_vcs/python3-hatch_vcs.SlackBuild index 515e621734..d92bd8f837 100644 --- a/python/python3-hatch_vcs/python3-hatch_vcs.SlackBuild +++ b/python/python3-hatch_vcs/python3-hatch_vcs.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for python3-hatch_vcs -# Copyright 2022-23 fourtysixandtwo +# Copyright 2022-2024 fourtysixandtwo # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -63,6 +63,9 @@ 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 {} \+ +PYVER=$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])') +export PYTHONPATH=/opt/python$PYVER/site-packages + #lower version requirement of setuptools-scm to get rid of warning sed -i 's/6\.4\.0/6.3.2/' pyproject.toml -- cgit v1.2.3