diff --git a/srcpkgs/anki/patches/fix_distutils_not_found.patch b/srcpkgs/anki/patches/fix_distutils_not_found.patch new file mode 100644 index 00000000000..555c89bbf76 --- /dev/null +++ b/srcpkgs/anki/patches/fix_distutils_not_found.patch @@ -0,0 +1,8 @@ +--- a/anki/mpv.py ++++ b/anki/mpv.py +@@ -39 +39 @@ import inspect +-from distutils.spawn import find_executable # pylint: disable=import-error,no-name-in-module ++from shutil import which +@@ -68 +68 @@ class MPVBase: +- executable = find_executable("mpv") ++ executable = which("mpv") diff --git a/srcpkgs/anki/template b/srcpkgs/anki/template index ead0f33a1df..97ad67d6001 100644 --- a/srcpkgs/anki/template +++ b/srcpkgs/anki/template @@ -1,7 +1,7 @@ # Template file for 'anki' pkgname=anki version=2.1.15 -revision=6 +revision=7 build_style=gnu-makefile depends="python3-PyQt5-webengine python3-requests python3-SQLAlchemy python3-PyAudio python3-mpv python3-Markdown python3-send2trash