Summary: | games/py-mnemosyne: missing dependency and optional Google translate | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Andreas Kempe <kempe> | ||||
Component: | Individual Port(s) | Assignee: | Nuno Teixeira <eduardo> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | Flags: | bugzilla:
maintainer-feedback?
(eduardo) |
||||
Priority: | --- | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Andreas Kempe
2023-11-08 20:09:02 UTC
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=1bb647d1af0170fd4e65e3cca0442262ab6825ca commit 1bb647d1af0170fd4e65e3cca0442262ab6825ca Author: Nuno Teixeira <eduardo@FreeBSD.org> AuthorDate: 2023-11-29 09:38:54 +0000 Commit: Nuno Teixeira <eduardo@FreeBSD.org> CommitDate: 2023-11-29 09:43:09 +0000 games/py-mnemosyne: Add missing run depend Add QT sqldriver-sqlite missing run depend needed for browsing cards. PR: 274972 Reported by: Andreas Kempe MFH: 2023Q4 games/py-mnemosyne/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) A commit in branch 2023Q4 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=1ee1744a5417d4c0af40e6be211e6330cdc0cb09 commit 1ee1744a5417d4c0af40e6be211e6330cdc0cb09 Author: Nuno Teixeira <eduardo@FreeBSD.org> AuthorDate: 2023-11-29 09:38:54 +0000 Commit: Nuno Teixeira <eduardo@FreeBSD.org> CommitDate: 2023-11-29 09:44:56 +0000 games/py-mnemosyne: Add missing run depend Add QT sqldriver-sqlite missing run depend needed for browsing cards. PR: 274972 Reported by: Andreas Kempe MFH: 2023Q4 (cherry picked from commit 1bb647d1af0170fd4e65e3cca0442262ab6825ca) games/py-mnemosyne/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (In reply to Andreas Kempe from comment #0) Hello Andreas, I've just committed missing run depends to main and quarterly. Now I'm investigating why www/py-httpx013 and www/py39-httpx could not coexist on same system: ### Checking integrity... done (1 conflicting) - py39-httpx-0.25.2 conflicts with py39-httpx013-0.13.3_3 on /usr/local/lib/python3.9/site-packages/httpx/__init__.py ### Thanks (In reply to Nuno Teixeira from comment #3) (...) Nevermind, httpx013 is a repo-copy used as a workaround for googletrans 3.0.0. Looking for an updated version or fork that supports httpx 2x. https://github.com/ssut/py-googletrans/issues/386 Created attachment 246658 [details]
Update to 2.11
- Rename PORTNAME to match PyPI
- Switch to pep517 build
- Remove runtime dep textproc/py-googletrans as upstream change it to google-trans-new = "^1.1.9" not yet ported.
I applied the 2.11 patch on 2023Q4 and the functionality I use worked fine. I could study and browse my cards and check my statistics. One thing I noticed is that the name of the port is changed to mnemosyne_proj in the patch causing a conflict with the current mnemosyne package that had to be manually deinstalled. I'm not sure if this is intentional. I should add that the commented out googletrans row comments out all the subsequent dependencies as well. I had to remove the row to get all the needed dependencies. A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=9bf62c5e6bb3faf955c21592dbc340ec350cf111 commit 9bf62c5e6bb3faf955c21592dbc340ec350cf111 Author: Nuno Teixeira <eduardo@FreeBSD.org> AuthorDate: 2023-11-30 08:25:13 +0000 Commit: Nuno Teixeira <eduardo@FreeBSD.org> CommitDate: 2023-11-30 10:01:36 +0000 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 MOVED | 1 + games/Makefile | 2 +- games/{py-mnemosyne => py-mnemosyne-proj}/Makefile | 19 +++++++++---------- games/py-mnemosyne-proj/distinfo (new) | 3 +++ games/{py-mnemosyne => py-mnemosyne-proj}/pkg-descr | 0 games/py-mnemosyne/distinfo (gone) | 3 --- 6 files changed, 14 insertions(+), 14 deletions(-) (In reply to Andreas Kempe from comment #6) Hello Andreas, I've renamed port to match PyPI and committed to main. Cheers (In reply to Nuno Teixeira from comment #9) Thank you very much for taking the time to work this out! |