PORTNAME= xdg PORTVERSION= 0.28 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= py${PORTNAME}-${PORTVERSION} MAINTAINER= gnome@FreeBSD.org COMMENT= Python library to access freedesktop.org standards WWW= https://freedesktop.org/wiki/Software/pyxdg/ LICENSE= LGPL20 NO_ARCH= yes USES= python USE_PYTHON= autoplist distutils pytest # 2 tests fail, see https://gitlab.freedesktop.org/xdg/pyxdg/-/issues/26 post-patch: @${REINPLACE_CMD} -e \ 's|%%LOCALBASE%%|${LOCALBASE}|g' \ ${WRKSRC}/xdg/BaseDirectory.py .include