1 # Copyright © 2015-2018,2021 Nick Bowler
2 # License GPLv3+: GNU General Public License version 3 or any later version.
3 # This is free software: you are free to change and redistribute it.
4 # There is NO WARRANTY, to the extent permitted by law.
8 PYTHON_COMPAT=( python3_8 )
14 DESCRIPTION="A flash card tool to optimize your learning process"
15 HOMEPAGE="https://mnemosyne-proj.org/"
16 SRC_URI="mirror://sourceforge/mnemosyne-proj/$MY_P.tar.gz"
22 RDEPEND=">=dev-python/PyQt5-5.6[widgets,sql,$PYTHON_USEDEP]
24 dev-python/PyQtWebEngine[$PYTHON_USEDEP]
25 dev-python/PyQt5[webengine]
27 >=dev-python/cheroot-5[$PYTHON_USEDEP]
28 >=dev-python/webob-1.4[$PYTHON_USEDEP]
29 dev-python/matplotlib[$PYTHON_USEDEP]"
30 BDEPEND="app-text/dos2unix"
35 "$FILESDIR/mnemosyne-2.7.3-fix-desktop-categories.patch"
36 "$FILESDIR/mnemosyne-2.7.3-no-google.patch"
40 find -name '*.py' -exec dos2unix {} + || die
41 dos2unix ChangeLog README mnemosyne.desktop || die
42 dos2unix mnemosyne/pyqt_ui/mnemosyne || die