slackbuilds
slackbuilds copied to clipboard
anki hardcoded python version
In anki slackbuild python version 3.9 is hardcoded, which is why it fails on -current as it uses python 3.11:
find $PKG/usr/bin $PKG/usr/lib/python3.9/site-packages \
-mindepth 1 -maxdepth 1 \
-not -name "_aqt*" \
-not -name "aqt*" \
-not -name "anki*" \
-execdir rm -rf '{}' \+
unfortunately it's not the only thing to change because stuff keeps going into python3.9 dirs (the prebuilt version seems to be for that python version)... I don't know it enough to upgrade it to 3.11, sorry, but you can get in touch with the maintainer, in case he has working patch