diff --git a/devel/py-xmltodict/Makefile b/devel/py-xmltodict/Makefile index 4bbd645f6f61..572ab2ddea0d 100644 --- a/devel/py-xmltodict/Makefile +++ b/devel/py-xmltodict/Makefile @@ -1,25 +1,26 @@ # Created by: Johannes Meixner PORTNAME= xmltodict PORTVERSION= 0.12.0 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= XML parser that returns python dictionaries LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes +USE_LOCALE= en_US.UTF-8 # Python 3.6 do-test: @cd ${WRKSRC} && ${LOCALBASE}/bin/nosetests-${PYTHON_VER} .include diff --git a/devel/py-xmltodict/files/patch-setup.py b/devel/py-xmltodict/files/patch-setup.py deleted file mode 100644 index 416bb1f917c4..000000000000 --- a/devel/py-xmltodict/files/patch-setup.py +++ /dev/null @@ -1,13 +0,0 @@ ---- setup.py.orig 2019-02-11 06:36:33 UTC -+++ setup.py -@@ -8,8 +8,8 @@ except ImportError: - - import xmltodict - --with open('README.md') as f: -- long_description = f.read() -+with open('README.md', 'rb') as f: -+ long_description = f.read().decode('utf-8') - - - setup(name='xmltodict',