anki: fix 'distutils' not found
This commit is contained in:
parent
f15333990c
commit
2eb666ab15
|
@ -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")
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue