On Fri, 5 May 2017 22:22:54 +0200, Joerg Jung <[email protected]> wrote:

> Hi,
> 
> please find attached a port for khal.  While sometimes a bit buggy it
> mostly works fine for my basic usage.
> 
> $ cat pkg/DESCR
> Khal is a standards based CLI (console) calendar program, able to
> synchronize with CalDAV servers through vdirsyncer.
> 
> 
> Comments? OK to import?

ok danj@ with the following diff

--- Makefile.orig       Tue May 23 20:54:25 2017
+++ Makefile    Tue May 23 20:55:23 2017
@@ -24,12 +24,12 @@ RUN_DEPENDS =               
devel/py-atomicwrites${MODPY_FLAVOR} \
                        devel/py-click${MODPY_FLAVOR} \
                        devel/py-configobj${MODPY_FLAVOR} \
                        devel/py-dateutil${MODPY_FLAVOR} \
+                       devel/py-icalendar${MODPY_FLAVOR} \
                        devel/py-setproctitle${MODPY_FLAVOR} \
                        devel/py-tz${MODPY_FLAVOR} \
                        devel/py-tzlocal${MODPY_FLAVOR} \
                        devel/py-urwid${MODPY_FLAVOR} \
                        devel/py-xdg${MODPY_FLAVOR} \
-                       devel/py-icalendar${MODPY_FLAVOR} \
                        productivity/vdirsyncer
 TEST_DEPENDS =         ${RUN_DEPENDS} \
                        devel/py-test${MODPY_FLAVOR} \
@@ -37,9 +37,7 @@ TEST_DEPENDS =                ${RUN_DEPENDS} \
                        devel/py-test-capturelog${MODPY_FLAVOR} \
                        devel/py-freezegun${MODPY_FLAVOR}
 
-# todo: fix tests
-NO_TEST =              yes
-#do-test:
-#                      cd ${WRKSRC} && ${LOCALBASE}/bin/py.test-3 --cov khal
+do-test:
+       cd ${WRKSRC} && ${MODPY_BIN} -m pytest
 
 .include <bsd.port.mk>

Reply via email to