On 2020/07/05 10:03, Andrea Fleckenstein wrote:
> marfabastewart <marfabastew...@protonmail.com> writes:
> 
> > Thank you for the continuing work on anki. However, I
> > am getting an error on -current now. After installing
> > with pkg_add -D snap,
> > I get
> >
> > marfaba$ anki
> > Traceback (most recent call last):
> >   File "/usr/local/bin/anki", line 3, in <module>
> >     import aqt
> >   File "/usr/local/lib/python3.7/site-packages/aqt/__init__.py", line 57, 
> > in <module>
> >     from aqt import addcards, browser, editcurrent, stats, about, \
> >   File "/usr/local/lib/python3.7/site-packages/aqt/addcards.py", line 13, 
> > in <module>
> >     import aqt.editor, aqt.modelchooser, aqt.deckchooser
> >   File "/usr/local/lib/python3.7/site-packages/aqt/editor.py", line 25, in 
> > <module>
> >     import requests
> > ModuleNotFoundError: No module named 'requests'
> >
> 
> Thanks, Makefile diff below
> 
> 
> --- Makefile.orig     Sun Jul  5 08:42:34 2020
> +++ Makefile  Sun Jul  5 08:43:13 2020
> @@ -33,6 +33,7 @@
>               sysutils/py-distro${MODPY_FLAVOR} \
>               textproc/py-markdown${MODPY_FLAVOR} \
>               www/py-beautifulsoup4${MODPY_FLAVOR} \
> +             www/py-requests${MODPY_FLAVOR} \
>               www/py-qtwebengine${MODPY_FLAVOR}
>  
>  do-build:
> 

I already committed a fix (and then Antoine fixed my fix :-)

For the record, adding/bumping REVISION is necessary for any change to
the port which results in a change to the package (so that includes
HOMEPAGE, patches which affect the built files, dependency changes, etc)

Reply via email to