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
This commit is contained in:
Nuno Teixeira
2023-11-30 08:25:13 +00:00
parent a866773cea
commit 9bf62c5e6b
6 changed files with 14 additions and 14 deletions
+1
View File
@@ -8100,3 +8100,4 @@ textproc/py-pygments-25|textproc/py-pygments|2023-11-27|Remove obsoleted port. U
devel/rubygem-devise48-rails70|devel/rubygem-devise-rails70|2023-11-29|Use devel/rubygem-devise-rails70 instead
textproc/rubygem-rouge41|textproc/rubygem-rouge|2023-11-29|Use textproc/rubygem-rouge instead
devel/rubygem-aws-sdk-s31121|devel/rubygem-aws-sdk-s3|2023-11-29|Use devel/rubygem-aws-sdk-s3 instead
games/py-mnemosyne|games/py-mnemosyne-proj|2023-11-30|Rename to match PyPI name
+1 -1
View File
@@ -797,7 +797,7 @@
SUBDIR += py-cbeams
SUBDIR += py-discord.py
SUBDIR += py-fife
SUBDIR += py-mnemosyne
SUBDIR += py-mnemosyne-proj
SUBDIR += py-pychess
SUBDIR += py-pysol-cards
SUBDIR += py-sgflib
@@ -1,11 +1,10 @@
PORTNAME= mnemosyne
PORTVERSION= 2.10.1
PORTREVISION= 5
PORTNAME= mnemosyne-proj
DISTVERSION= 2.11
PORTEPOCH= 1
CATEGORIES= games education python
MASTER_SITES= SF/mnemosyne-proj/${PORTNAME}/${PORTNAME}-${DISTVERSION}
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= Mnemosyne-${DISTVERSION}
DISTNAME= mnemosyne_proj-${DISTVERSION}
MAINTAINER= eduardo@FreeBSD.org
COMMENT= Flash-card tool which optimises your learning process
@@ -14,10 +13,11 @@ WWW= https://www.mnemosyne-proj.org/
LICENSE= LGPL3
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}poetry-core>0:devel/py-poetry-core@${PY_FLAVOR} \
gmake>0:devel/gmake
RUN_DEPENDS= ${PY_PILLOW} \
${PYTHON_PKGNAMEPREFIX}argon2-cffi>0:security/py-argon2-cffi@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}cheroot>=5.0:www/py-cheroot@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}googletrans>=3.0:textproc/py-googletrans@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}gTTS>=0:audio/py-gtts@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}matplotlib>=0:math/py-matplotlib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}PyOpenGL>=0:graphics/py-PyOpenGL@${PY_FLAVOR} \
@@ -26,14 +26,13 @@ RUN_DEPENDS= ${PY_PILLOW} \
USES= pyqt:6 python qt:6 shebangfix
USE_PYQT= pyqt6:run sip:run webengine:run
USE_PYTHON= autoplist concurrent distutils
USE_PYTHON= autoplist concurrent pep517
USE_QT= sqldriver-sqlite:run
SHEBANG_FILES= mnemosyne/pyqt_ui/mnemosyne
BINARY_ALIAS= make=gmake
NO_ARCH= yes
post-patch:
@${REINPLACE_CMD} -e 's|icons|pixmaps|' ${WRKSRC}/setup.py
.include <bsd.port.mk>
+3
View File
@@ -0,0 +1,3 @@
TIMESTAMP = 1701255197
SHA256 (mnemosyne_proj-2.11.tar.gz) = f704c6d7c6529ccb3cc148342337ebbdfa3910687e2cf95757dc7882ccec91ad
SIZE (mnemosyne_proj-2.11.tar.gz) = 898706
-3
View File
@@ -1,3 +0,0 @@
TIMESTAMP = 1675849555
SHA256 (Mnemosyne-2.10.1.tar.gz) = cc8efd8ae4576f94b463ceca7dd1be1ca7345d535038070147b66dfce75a04fe
SIZE (Mnemosyne-2.10.1.tar.gz) = 1275983