unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Robert Smith <robertsmith@posteo.net>
Cc: 39367@debbugs.gnu.org
Subject: [bug#39367] [PATCH] gnu: Add anki.
Date: Sun, 02 Feb 2020 14:01:43 +0100	[thread overview]
Message-ID: <87zhe1b0so.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <20200131120112.4532-1-robertsmith@posteo.net> (Robert Smith's message of "Fri, 31 Jan 2020 13:01:12 +0100")

Hello,

Robert Smith <robertsmith@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

  reply	other threads:[~2020-02-02 13:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-31 12:01 [bug#39367] [PATCH] gnu: Add anki Robert Smith
2020-02-02 13:01 ` Nicolas Goaziou [this message]
2020-02-03 16:11   ` Robert Smith
2020-02-03 16:18     ` Nicolas Goaziou
2020-02-04 12:01 ` [bug#39367] [PATCH v2] " Robert Smith
2020-02-05 14:03   ` bug#39367: " Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zhe1b0so.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=39367@debbugs.gnu.org \
    --cc=robertsmith@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).