On Mon, 28 Aug 2017 22:38:36 +0200, Remi Locherer
<[email protected]> wrote:

> Hi,
> 
> this updates py-click-log to version 0.2.0. vidirsyncer 0.16.2 is
> going to need it (diff in the next mail).

We can easily add tests it seems. Are you ok with this patch?

Cheers,
Daniel

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/py-click-log/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile
--- Makefile    8 Mar 2017 02:40:41 -0000       1.1.1.1
+++ Makefile    28 Aug 2017 22:32:37 -0000
@@ -2,7 +2,7 @@
 
 COMMENT =              logging integration for Python click
 
-MODPY_EGG_VERSION =    0.1.8
+MODPY_EGG_VERSION =    0.2.0
 DISTNAME =             click-log-${MODPY_EGG_VERSION}
 PKGNAME =              py-${DISTNAME}
 
@@ -14,6 +14,7 @@ HOMEPAGE =            https://github.com/click-con
 PERMIT_PACKAGE_CDROM = Yes
 
 RUN_DEPENDS =          devel/py-click${MODPY_FLAVOR}
+TEST_DEPENDS =         devel/py-test${MODPY_FLAVOR}
 
 MODULES =              lang/python
 
@@ -22,5 +23,8 @@ MODPY_SETUPTOOLS =    Yes
 
 FLAVORS =              python3
 FLAVOR ?=
+
+do-test:
+       cd ${WRKSRC} && ${MODPY_BIN} -m pytest
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/py-click-log/distinfo,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 distinfo
--- distinfo    8 Mar 2017 02:40:41 -0000       1.1.1.1
+++ distinfo    28 Aug 2017 22:32:37 -0000
@@ -1,2 +1,2 @@
-SHA256 (click-log-0.1.8.tar.gz) = VycQCMEuLcFtQTNzvt1/0/8XxXQ04WhlDcJ9+5x0M5I=
-SIZE (click-log-0.1.8.tar.gz) = 9277
+SHA256 (click-log-0.2.0.tar.gz) = F2oIX6y3726j6y6Zh+yOiwv7nBcxo/OAdGT7EGV3Wa4=
+SIZE (click-log-0.2.0.tar.gz) = 9665

Reply via email to