GNU bug report logs -
#39367
[PATCH] gnu: Add anki.
Previous Next
Reported by: Robert Smith <robertsmith <at> posteo.net>
Date: Fri, 31 Jan 2020 12:03:02 UTC
Severity: normal
Tags: patch
Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hello,
Robert Smith <robertsmith <at> posteo.net> writes:
> * gnu/packages/education.scm (anki): New variable.
Thank you! Some comments follow.
> + '(#:make-flags (list (string-append "PREFIX=" %output))
OOC, isn't it automatic in gnu-build-system?
> + (inputs
> + `(("python" ,python-wrapper)
> + ("qtwebengine" ,qtwebengine)
> + ("mpv" ,mpv)
> + ("lame" ,lame)))
> + (propagated-inputs
> + `(("python-pyqtwebengine" ,python-pyqtwebengine)
> + ("python-pyqt" ,python-pyqt)
> + ("python-beautifulsoup4" ,python-beautifulsoup4)
> + ("python-decorator" ,python-decorator)
> + ("python-distro" ,python-distro)
> + ("python-markdown" ,python-markdown)
> + ("python-jsonschema" ,python-jsonschema)
> + ("python-pyaudio" ,python-pyaudio)
> + ("python-requests" ,python-requests)
> + ("python-send2trash" ,python-send2trash)
> + ("python-sip" ,python-sip)))
Please order inputs and propagated-inputs alphabetically.
The package builds fine, but when trying to run "anki", I get the
following error:
ModuleNotFoundError: No module named 'decorator'
It looks like you also need to wrap PYTHONPATH around the executable. WDYT?
Regards,
--
Nicolas Goaziou
This bug report was last modified 5 years and 101 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.