summaryrefslogtreecommitdiffstats
path: root/source/l/python-flit-core/python-flit-core.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/python-flit-core/python-flit-core.SlackBuild')
-rwxr-xr-xsource/l/python-flit-core/python-flit-core.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/l/python-flit-core/python-flit-core.SlackBuild b/source/l/python-flit-core/python-flit-core.SlackBuild
index 5b3745280..1f512bd33 100755
--- a/source/l/python-flit-core/python-flit-core.SlackBuild
+++ b/source/l/python-flit-core/python-flit-core.SlackBuild
@@ -76,12 +76,13 @@ find . \
-exec chmod 644 {} \+
# directory for python packages
-PYTHONDIR=$(python3 -c "import sys, os; print(os.path.join('/usr/lib${LIBDIRSUFFIX}', 'python%s' % sys.version[:3], 'site-packages'))")
+PYTHONDIR=$(python3 -c "import sys, os; print(os.path.join('/usr/lib${LIBDIRSUFFIX}', 'python%s' % sys.version[:4], 'site-packages'))")
mkdir -p ${PKG}${PYTHONDIR}
+# This is a bootstrap package for building via wheels.
+# Stick with this build method.
unshare -n python3 -m flit_core.wheel || exit 1
-
python3 bootstrap_install.py --installdir ${PKG}${PYTHONDIR} dist/flit_core-*.whl
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \