aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-05-30 19:52:29 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-05-30 19:52:29 +0000
commit304f03261904638a7b3aed03051cafddc8870f60 (patch)
tree23885594ff317d8f5fa7964aad37bfd787a88d72
parent00c425372f739c6cd4a9b336533dc7cf9081fa19 (diff)
downloadports-304f03261904638a7b3aed03051cafddc8870f60.tar.gz
ports-304f03261904638a7b3aed03051cafddc8870f60.zip
devel/py-xmltodict: Revert a8a9acded3d7517512bc62b929401e6cc73ad118 and ce16fa339263309c4baf66317e6f9ac802a71e21
-rw-r--r--devel/py-xmltodict/Makefile1
-rw-r--r--devel/py-xmltodict/files/patch-setup.py13
2 files changed, 1 insertions, 13 deletions
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
@@ -18,6 +18,7 @@ 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}
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',