Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jun 2018 16:45:12 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r472880 - head/games/py-mnemosyne
Message-ID:  <201806201645.w5KGjChN034266@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Wed Jun 20 16:45:11 2018
New Revision: 472880
URL: https://svnweb.freebsd.org/changeset/ports/472880

Log:
  games/py-mnemosyne: Update to 2.6
  
  PR:		229169
  Submitted by:	Kai <freebsd_ports@k-worx.org>

Modified:
  head/games/py-mnemosyne/Makefile   (contents, props changed)
  head/games/py-mnemosyne/distinfo   (contents, props changed)

Modified: head/games/py-mnemosyne/Makefile
==============================================================================
--- head/games/py-mnemosyne/Makefile	Wed Jun 20 16:29:06 2018	(r472879)
+++ head/games/py-mnemosyne/Makefile	Wed Jun 20 16:45:11 2018	(r472880)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	mnemosyne
-PORTVERSION=	2.3.6
-PORTREVISION=	4
+PORTVERSION=	2.6
 PORTEPOCH=	1
 CATEGORIES=	games python
 MASTER_SITES=	SF/mnemosyne-proj/${PORTNAME}/${PORTNAME}-${DISTVERSION}
@@ -15,40 +14,20 @@ COMMENT=	Flash-card tool which optimises your learning
 
 LICENSE=	LGPL3
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}matplotlib>=1.2.0:math/py-matplotlib@${FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}cherrypy>=3.2:www/py-cherrypy@${FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}webob>=1.2.2:www/py-webob@${FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}PyOpenGL>=0:graphics/py-PyOpenGL@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pillow>=0:graphics/py-pillow@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}matplotlib>=0:math/py-matplotlib@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}webob>=1.4:www/py-webob@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}cheroot>=0:www/py-cheroot@${PY_FLAVOR}
 
-USES=		fortran pyqt:4 python:2.7
-USE_PYQT=	gui_run network_run sql_run webkit_run
+USES=		pyqt:5 python:3.5+
+USE_PYQT=	gui_run network_run printsupport_run sip_run sql_run webengine_run
 USE_PYTHON=	distutils autoplist
+
 NO_ARCH=	yes
 
-PLIST_FILES=	bin/mnemosyne
-
-_GCC_LD_PATH=	${LOCALBASE}/lib/gcc${GCC_DEFAULT:S/.//}
-
-.include <bsd.port.pre.mk>
-
-post-extract:
-	@${LN} -sf mnemosyne ${WRKSRC}/mnemosyne/pyqt_ui/mnemosyne.exec
-
 post-patch:
-	@${REINPLACE_CMD} -e 's|\(pyqt_ui/mnemosyne\)"|\1.exec"| ; \
-		 s|\(share/\)icons|\1pixmaps|' ${WRKSRC}/setup.py
+	@${REINPLACE_CMD} -e 's|\(share/\)icons|\1pixmaps|' ${WRKSRC}/setup.py
 
-post-build:
-	@${MKDIR} ${WRKDIR}/wrappers
-	@${ECHO_CMD} '#!${SH}' > ${WRKDIR}/wrappers/mnemosyne
-.if ${OPSYS} == FreeBSD && ${fortran_ARGS} == gcc
-	@${ECHO_CMD} 'LD_LIBRARY_PATH="${_GCC_LD_PATH}:$$LD_LIBRARY_PATH"' \
-		>> ${WRKDIR}/wrappers/mnemosyne
-	@${ECHO_CMD} 'export LD_LIBRARY_PATH' >> ${WRKDIR}/wrappers/mnemosyne
-.endif
-	@${ECHO_CMD} 'exec ${PREFIX}/bin/mnemosyne.exec "$$@"' >> ${WRKDIR}/wrappers/mnemosyne
-
-post-install:
-	${INSTALL_SCRIPT} ${WRKDIR}/wrappers/mnemosyne ${STAGEDIR}${PREFIX}/bin
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/games/py-mnemosyne/distinfo
==============================================================================
--- head/games/py-mnemosyne/distinfo	Wed Jun 20 16:29:06 2018	(r472879)
+++ head/games/py-mnemosyne/distinfo	Wed Jun 20 16:45:11 2018	(r472880)
@@ -1,2 +1,3 @@
-SHA256 (Mnemosyne-2.3.6.tar.gz) = b163ae308c6ad78bc977f1c781f114f3c0934341e8199d51257e312c7bc4b5aa
-SIZE (Mnemosyne-2.3.6.tar.gz) = 1396685
+TIMESTAMP = 1529233511
+SHA256 (Mnemosyne-2.6.tar.gz) = e4e90cda5490dabe28a7c06a38c73e45f09f782f7b2eef59797ab955a62eeb2c
+SIZE (Mnemosyne-2.6.tar.gz) = 1271314



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806201645.w5KGjChN034266>