Skip to content

Commit 9bf62c5

Browse files
committed
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
1 parent a866773 commit 9bf62c5

File tree

6 files changed

+14
-14
lines changed

6 files changed

+14
-14
lines changed

‎MOVED‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8100,3 +8100,4 @@ textproc/py-pygments-25|textproc/py-pygments|2023-11-27|Remove obsoleted port. U
81008100
devel/rubygem-devise48-rails70|devel/rubygem-devise-rails70|2023-11-29|Use devel/rubygem-devise-rails70 instead
81018101
textproc/rubygem-rouge41|textproc/rubygem-rouge|2023-11-29|Use textproc/rubygem-rouge instead
81028102
devel/rubygem-aws-sdk-s31121|devel/rubygem-aws-sdk-s3|2023-11-29|Use devel/rubygem-aws-sdk-s3 instead
8103+
games/py-mnemosyne|games/py-mnemosyne-proj|2023-11-30|Rename to match PyPI name

‎games/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,7 @@
797797
SUBDIR += py-cbeams
798798
SUBDIR += py-discord.py
799799
SUBDIR += py-fife
800-
SUBDIR += py-mnemosyne
800+
SUBDIR += py-mnemosyne-proj
801801
SUBDIR += py-pychess
802802
SUBDIR += py-pysol-cards
803803
SUBDIR += py-sgflib
Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
PORTNAME= mnemosyne
2-
PORTVERSION= 2.10.1
3-
PORTREVISION= 5
1+
PORTNAME= mnemosyne-proj
2+
DISTVERSION= 2.11
43
PORTEPOCH= 1
54
CATEGORIES= games education python
6-
MASTER_SITES= SF/mnemosyne-proj/${PORTNAME}/${PORTNAME}-${DISTVERSION}
5+
MASTER_SITES= PYPI
76
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
8-
DISTNAME= Mnemosyne-${DISTVERSION}
7+
DISTNAME= mnemosyne_proj-${DISTVERSION}
98

109
MAINTAINER= eduardo@FreeBSD.org
1110
COMMENT= Flash-card tool which optimises your learning process
@@ -14,10 +13,11 @@ WWW= https://www.mnemosyne-proj.org/
1413
LICENSE= LGPL3
1514
LICENSE_FILE= ${WRKSRC}/LICENSE
1615

16+
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>0:devel/py-poetry-core@${PY_FLAVOR} \
17+
gmake>0:devel/gmake
1718
RUN_DEPENDS= ${PY_PILLOW} \
1819
${PYTHON_PKGNAMEPREFIX}argon2-cffi>0:security/py-argon2-cffi@${PY_FLAVOR} \
1920
${PYTHON_PKGNAMEPREFIX}cheroot>=5.0:www/py-cheroot@${PY_FLAVOR} \
20-
${PYTHON_PKGNAMEPREFIX}googletrans>=3.0:textproc/py-googletrans@${PY_FLAVOR} \
2121
${PYTHON_PKGNAMEPREFIX}gTTS>=0:audio/py-gtts@${PY_FLAVOR} \
2222
${PYTHON_PKGNAMEPREFIX}matplotlib>=0:math/py-matplotlib@${PY_FLAVOR} \
2323
${PYTHON_PKGNAMEPREFIX}PyOpenGL>=0:graphics/py-PyOpenGL@${PY_FLAVOR} \
@@ -26,14 +26,13 @@ RUN_DEPENDS= ${PY_PILLOW} \
2626

2727
USES= pyqt:6 python qt:6 shebangfix
2828
USE_PYQT= pyqt6:run sip:run webengine:run
29-
USE_PYTHON= autoplist concurrent distutils
29+
USE_PYTHON= autoplist concurrent pep517
3030
USE_QT= sqldriver-sqlite:run
3131

3232
SHEBANG_FILES= mnemosyne/pyqt_ui/mnemosyne
3333

34-
NO_ARCH= yes
34+
BINARY_ALIAS= make=gmake
3535

36-
post-patch:
37-
@${REINPLACE_CMD} -e 's|icons|pixmaps|' ${WRKSRC}/setup.py
36+
NO_ARCH= yes
3837

3938
.include <bsd.port.mk>

‎games/py-mnemosyne-proj/distinfo‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
TIMESTAMP = 1701255197
2+
SHA256 (mnemosyne_proj-2.11.tar.gz) = f704c6d7c6529ccb3cc148342337ebbdfa3910687e2cf95757dc7882ccec91ad
3+
SIZE (mnemosyne_proj-2.11.tar.gz) = 898706
File renamed without changes.

‎games/py-mnemosyne/distinfo‎

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)