Ponce / slackbuilds

fork of master branch from git://git.slackbuilds.org/slackbuilds.git (read more on wiki). If you want to fork/pull request do it only over master (the other branches are temporary and are always rebased on master). alternative interface https://cgit.ponce.cc/slackbuilds/
https://slackware.ponce.cc
163 stars 62 forks source link

anki hardcoded python version #251

Open kovmir opened 1 month ago

kovmir commented 1 month ago

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 '{}' \+
Ponce commented 1 month ago

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