Hi,

This diff updates py-wcwidth to the latest release.
Tested on amd64.

* take maintainership
* enable tests

Comments ? OK ?

-- 
Alexandr Shadchin

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/py-wcwidth/Makefile,v
retrieving revision 1.2
diff -u -p -r1.2 Makefile
--- Makefile    27 Apr 2016 21:33:59 -0000      1.2
+++ Makefile    29 Sep 2016 13:29:31 -0000
@@ -2,7 +2,7 @@
 
 COMMENT=               measures number of terminal column cells of wide-char 
code
 
-MODPY_EGG_VERSION=     0.1.6
+MODPY_EGG_VERSION=     0.1.7
 DISTNAME=              wcwidth-${MODPY_EGG_VERSION}
 PKGNAME=               py-${DISTNAME}
 
@@ -15,13 +15,15 @@ PERMIT_PACKAGE_CDROM=       Yes
 
 MODULES=               lang/python
 
+TEST_DEPENDS=          devel/py-test${MODPY_FLAVOR}
+
 MODPY_PI=              Yes
 MODPY_SETUPTOOLS=      Yes
 
 FLAVORS=               python3
 FLAVOR ?=
 
-# requires the 'tox' command
-NO_TEST=               Yes
+do-test:
+       cd ${WRKSRC} && ${MODPY_BIN} -m pytest wcwidth
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/py-wcwidth/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo    27 Apr 2016 21:33:59 -0000      1.2
+++ distinfo    29 Sep 2016 13:29:31 -0000
@@ -1,2 +1,2 @@
-SHA256 (wcwidth-0.1.6.tar.gz) = 3LPsR3EGbMFc9qq11cSkmaXwHGd/9a60bPIFANzNkgs=
-SIZE (wcwidth-0.1.6.tar.gz) = 20483
+SHA256 (wcwidth-0.1.7.tar.gz) = PfNzciJtbmPhseHtoVxZS8qYoi0zojgyqQmY+qlrxl4=
+SIZE (wcwidth-0.1.7.tar.gz) = 22884

Reply via email to