On 1/16/23 16:20, Daniel Dickman wrote: > xml2rfc says it has a dependency on wcwidth, so let's add this. > > ok? > > Index: Makefile > =================================================================== > RCS file: /cvs/ports/textproc/xml2rfc/Makefile,v > retrieving revision 1.50 > diff -u -p -u -r1.50 Makefile > --- Makefile 24 Nov 2022 11:59:36 -0000 1.50 > +++ Makefile 16 Jan 2023 21:18:56 -0000 > @@ -2,6 +2,7 @@ COMMENT= convert memos written in XML to > > MODPY_EGG_VERSION= 3.15.3 > DISTNAME= xml2rfc-${MODPY_EGG_VERSION} > +REVISION= 0 > > CATEGORIES= textproc > > @@ -21,6 +22,7 @@ RUN_DEPENDS= devel/py-appdirs${MODPY_FLA > devel/py-intervaltree${MODPY_FLAVOR} \ > devel/py-kitchen${MODPY_FLAVOR} \ > devel/py-six${MODPY_FLAVOR} \ > + devel/py-wcwidth${MODPY_FLAVOR} \ > devel/pyflakes${MODPY_FLAVOR} \ > geo/py-google-i18n-address${MODPY_FLAVOR} \ > textproc/py-MarkupSafe${MODPY_FLAVOR} \ > https://github.com/ietf-tools/xml2rfc/blob/main/xml2rfc/util/unicode.py#L18
> 18: from wcwidth import wcswidth > ... > 199: def textwidth(u): > 200: "Length of string, disregarding zero-width code points" > 201: return wcswidth(u) OK aisha