On Mon, Aug 28, 2017 at 06:35:19PM -0400, Daniel Jakots wrote:
> On Mon, 28 Aug 2017 22:38:36 +0200, Remi Locherer
> <remi.locherer@relo.ch> 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
--- Makefile 8 Mar 2017 02:40:41 -0000 1.1.1.1
+++ Makefile 29 Aug 2017 04:54:01 -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,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 <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 29 Aug 2017 04:54:01 -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
No comments:
Post a Comment