On Mon, Apr 20, 2020 at 06:55:16PM +0200, Klemens Nanni wrote:
> On Mon, Apr 20, 2020 at 03:25:02PM +0200, Carsten Boysen Jensen wrote:
> > When running pysol on 6.6, it throws this error:
> > 
> > Traceback (most recent call last):
> >   File "/usr/local/bin/pysol", line 28, in <module>
> >     init()
> >   File "/usr/local/lib/python3.7/site-packages/pysollib/init.py", line 92, 
> > in init
> >     from six.moves import tkinter
> > ModuleNotFoundError: No module named 'six'
> > 
> > Installing py3-six helps ;-)
> Thanks.
> 
> Will commit this diff soon unless I hear feedback/objections.
Stupid me, it's py-six not py-wheel.


Index: Makefile
===================================================================
RCS file: /cvs/ports/games/pysol/Makefile,v
retrieving revision 1.9
diff -u -p -r1.9 Makefile
--- Makefile    7 Sep 2019 07:23:56 -0000       1.9
+++ Makefile    20 Apr 2020 16:57:44 -0000
@@ -5,6 +5,7 @@ MODPY_EGG_VERSION =     2.6.4
 DISTNAME =             PySolFC-${MODPY_EGG_VERSION}
 PKGNAME =              pysol-${MODPY_EGG_VERSION}
 CATEGORIES =           games
+REVISION =             0
 
 HOMEPAGE =             http://pysolfc.sourceforge.net/
 
@@ -22,8 +23,9 @@ MODPY_VERSION =               ${MODPY_DEFAULT_VERSION
 MODGNOME_TOOLS =       desktop-file-utils gtk-update-icon-cache
 
 RUN_DEPENDS =          ${MODPY_TKINTER_DEPENDS} \
-                       devel/pygame,python3 \
-                       graphics/py-Pillow,python3
+                       devel/py-six${MODPY_FLAVOR} \
+                       devel/pygame${MODPY_FLAVOR} \
+                       graphics/py-Pillow${MODPY_FLAVOR}
 
 # needs pycotap (not ported), p5-Moo, py-gtk - and gmake
 NO_TEST =              Yes

Reply via email to