Mnemosyne resembles a traditional flash-card program but with an important
twist: it uses a sophisticated algorithm to schedule the best time for
a card to come up for review.
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py312-mnemosyne-proj listed in the above command, you can pick from the names under the Packages section.
games/py-mnemosyne-proj: Update to 2.11.1
- mnemosyne/web_server/web_server.py imports cgi, which Python 3.13
removed, so the web-server review feature (mnemosyne --webserver and
the Qt web server component) fails to load. Depend on
www/py-legacy-cgi on 3.13+ (2.11.1 declares it for all versions).
- RUN_DEPENDS follow upstream's declared requirements: add cherrypy,
decorator, pytest, pytest-timeout and sphinx; drop PyOpenGL, which
upstream does not declare and nothing imports.
- 2.11.1 requires Python 3.10.
- 2.11.1 installs its 33 icons into a top-level site-packages/pixmaps/
directory; this is intentional, the UI looks for them there.
While here, enable the upstream pytest suite. Some tests are still failing on
FreeBSD and are ignored for now
PR: 299911
*/*: Remove qtbuilder and sip from RUN_DEPENDS
devel/py-qtbuilder and devel/py-sip should only be used as a
BUILD_DEPENDS. (e.g. USE_PYQT=qtbuilder:build sip:build)
Usually, these are only used to build the PyQt framework, but a few
other ports need them to build. Ports that have them as a BUILD_DEPENDS
unnecessarily haven't been audited yet.
Sip used to be needed for run, but this hasn't been the case for quite
some time. Runtime is provided by the devel/py-qt[56]-sip ports.
(USE_PYQT=pysip). The main PyQt ports provide this automatically, so
it isn't necessary to add it to individual consumers.
While here:
www/onionshare: Remove PyQt stuff completely. It uses PySide.
With hat: kde@
games/py-mnemosyne-proj: Update to 2.11
- Rename to match PyPI name
- Switch to DISTVERSION
- Switch to pep517 build
- Remove run dependency on textproc/py-googletrans as upstream changed
it to a new and optional dependency, not ported yet (google-trans-new)
ChangeLog: https://mnemosyne-proj.org/whats-new
PR: 274972