Re: [update] py-click-log 0.2.0

2017-08-28 Thread Remi Locherer
On Mon, Aug 28, 2017 at 06:35:19PM -0400, Daniel Jakots wrote:
> On Mon, 28 Aug 2017 22:38:36 +0200, Remi Locherer
>  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?
> 

Yes, makes sense. I'm getting an error when I run make test without
having py-click installed. But with the below patch it works fine.

Remi


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
--- Makefile8 Mar 2017 02:40:41 -   1.1.1.1
+++ Makefile29 Aug 2017 04:54:01 -
@@ -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,8 @@ HOMEPAGE =https://github.com/click-con
 PERMIT_PACKAGE_CDROM = Yes
 
 RUN_DEPENDS =  devel/py-click${MODPY_FLAVOR}
+TEST_DEPENDS = devel/py-test${MODPY_FLAVOR} \
+   ${RUN_DEPENDS}
 
 MODULES =  lang/python
 
@@ -22,5 +24,8 @@ MODPY_SETUPTOOLS =Yes
 
 FLAVORS =  python3
 FLAVOR ?=
+
+do-test:
+   cd ${WRKSRC} && ${MODPY_BIN} -m pytest
 
 .include 
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
--- distinfo8 Mar 2017 02:40:41 -   1.1.1.1
+++ distinfo29 Aug 2017 04:54:01 -
@@ -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



Re: [update] py-click-log 0.2.0

2017-08-28 Thread Daniel Jakots
On Mon, 28 Aug 2017 22:38:36 +0200, Remi Locherer
 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
--- Makefile8 Mar 2017 02:40:41 -   1.1.1.1
+++ Makefile28 Aug 2017 22:32:37 -
@@ -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 
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
--- distinfo8 Mar 2017 02:40:41 -   1.1.1.1
+++ distinfo28 Aug 2017 22:32:37 -
@@ -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



[update] py-click-log 0.2.0

2017-08-28 Thread Remi Locherer
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).

Remi


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
--- Makefile8 Mar 2017 02:40:41 -   1.1.1.1
+++ Makefile28 Aug 2017 20:05:03 -
@@ -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}
 
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
--- distinfo8 Mar 2017 02:40:41 -   1.1.1.1
+++ distinfo28 Aug 2017 20:05:03 -
@@ -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