summaryrefslogtreecommitdiff
path: root/devel/py-wcwidth/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-wcwidth/Makefile')
-rw-r--r--devel/py-wcwidth/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/devel/py-wcwidth/Makefile b/devel/py-wcwidth/Makefile
index bb5d5cc0b00..f199c5c6c57 100644
--- a/devel/py-wcwidth/Makefile
+++ b/devel/py-wcwidth/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2020/03/30 13:06:05 adam Exp $
+# $NetBSD: Makefile,v 1.4 2020/06/01 20:30:15 adam Exp $
-DISTNAME= wcwidth-0.1.9
+DISTNAME= wcwidth-0.2.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=w/wcwidth/}
@@ -10,6 +10,11 @@ HOMEPAGE= https://github.com/jquast/wcwidth
COMMENT= Measures number of Terminal column cells of wide-character codes
LICENSE= mit
+.include "../../lang/python/pyversion.mk"
+.if ${_PYTHON_VERSION} == 27
+DEPENDS+= ${PYPKGPREFIX}-backports.functools_lru_cache>=1.2.1:../../devel/py-backports.functools_lru_cache
+.endif
+
USE_LANGUAGES= # none
.include "../../lang/python/egg.mk"