mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
anki: fix 'distutils' not found
This commit is contained in:
parent
f15333990c
commit
2eb666ab15
2 changed files with 9 additions and 1 deletions
8
srcpkgs/anki/patches/fix_distutils_not_found.patch
Normal file
8
srcpkgs/anki/patches/fix_distutils_not_found.patch
Normal file
|
@ -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'
|
# Template file for 'anki'
|
||||||
pkgname=anki
|
pkgname=anki
|
||||||
version=2.1.15
|
version=2.1.15
|
||||||
revision=6
|
revision=7
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
depends="python3-PyQt5-webengine python3-requests python3-SQLAlchemy
|
depends="python3-PyQt5-webengine python3-requests python3-SQLAlchemy
|
||||||
python3-PyAudio python3-mpv python3-Markdown python3-send2trash
|
python3-PyAudio python3-mpv python3-Markdown python3-send2trash
|
||||||
|
|
Loading…
Add table
Reference in a new issue