slackbuilds icon indicating copy to clipboard operation
slackbuilds copied to clipboard

anki hardcoded python version

Open kovmir opened this issue 1 year ago • 1 comments

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 '{}' \+

kovmir avatar Oct 17 '24 09:10 kovmir

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

Ponce avatar Oct 17 '24 14:10 Ponce