Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 726522 - app-misc/anki - src_test(): ERROR: Failure: ModuleNotFoundError (No module named 'mock')
Summary: app-misc/anki - src_test(): ERROR: Failure: ModuleNotFoundError (No module na...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2020-06-01 02:47 UTC by cburroughs
Modified: 2020-06-12 07:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cburroughs 2020-06-01 02:47:59 UTC
E..........................................................................................................................
======================================================================
ERROR: Failure: ModuleNotFoundError (No module named 'mock')
----------------------------------------------------------------------
Comment 1 Larry the Git Cow gentoo-dev 2020-06-12 07:00:22 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbf4348280a355c7def871019405fc563730ed7c

commit bbf4348280a355c7def871019405fc563730ed7c
Author:     Chris Burroughs <chris.burroughs@gmail.com>
AuthorDate: 2019-11-08 02:37:38 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-06-12 06:59:45 +0000

    app-misc/anki: bump to 2.1.15 and modernize ebuild
    
     - claiming maintainer timeout to update version and fix bugs, --juippis
    
     * Bump to EAPI 7
     * Enable python 3.{7,8} support
     * Fix missing test dependencies
     * Add missing jsonschema dependency
     * Backport argument fix to allow mpv versions > 0.31 to be used by anki
     * Correct and expand LICENSE
     * Resolve NonexistentDeps DEPEND warning (leftover from PyQtWebEngine split,
       but no version of PyQt5 with a webengine use flag is still in the tree.)
     * Use default pkg_setup from eclass and rely on default value for S variable
     * Clarify optional runtime dependencies needed (mpv OR mplayer)
     * Move optional runtime dependencies to optfeature
     * Adjust SRC_URL after upstream re-arranging
    
    NOTE: The upstream LICENSE includes "Qt's bundled translations: LGPL3", but
    since we are building from source that is not directly included.  More recent
    upstream versions have clarified this in the LICENSE file.
    
    Bug: https://bugs.gentoo.org/625894
    Bug: https://bugs.gentoo.org/645314
    Bug: https://bugs.gentoo.org/651472
    Bug: https://bugs.gentoo.org/688798
    Closes: https://bugs.gentoo.org/700010
    Closes: https://bugs.gentoo.org/715624
    Bug: https://bugs.gentoo.org/722502
    Bug: https://bugs.gentoo.org/724482
    Bug: https://bugs.gentoo.org/724990
    Closes: https://bugs.gentoo.org/726522
    
    Signed-off-by: Chris Burroughs <chris.burroughs@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/16054
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 app-misc/anki/Manifest                         |  1 +
 app-misc/anki/anki-2.1.15.ebuild               | 93 ++++++++++++++++++++++++++
 app-misc/anki/files/anki-2.1.15-mpv-args.patch | 26 +++++++
 3 files changed, 120 insertions(+)