aboutsummaryrefslogtreecommitdiff
path: root/www/py-feedgenerator
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-08-23 19:36:44 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-08-23 19:36:44 +0000
commit881be6c3fbb4d2a0612599268b4f26a09c2e5a3e (patch)
tree7d83d00e72319bfc741f837549e8be62015c2b9e /www/py-feedgenerator
parent65e40e9915620adde25044d0ec317005716bfefe (diff)
downloadports-881be6c3fbb4d2a0612599268b4f26a09c2e5a3e.tar.gz
ports-881be6c3fbb4d2a0612599268b4f26a09c2e5a3e.zip
Use USE_LOCALE instead
Notes
Notes: svn path=/head/; revision=545862
Diffstat (limited to 'www/py-feedgenerator')
-rw-r--r--www/py-feedgenerator/Makefile1
-rw-r--r--www/py-feedgenerator/files/patch-setup.py19
2 files changed, 1 insertions, 19 deletions
diff --git a/www/py-feedgenerator/Makefile b/www/py-feedgenerator/Makefile
index 26e7c70730d0..fecdab188b60 100644
--- a/www/py-feedgenerator/Makefile
+++ b/www/py-feedgenerator/Makefile
@@ -21,6 +21,7 @@ USES= python
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
+USE_LOCALE= en_US.UTF-8
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
diff --git a/www/py-feedgenerator/files/patch-setup.py b/www/py-feedgenerator/files/patch-setup.py
deleted file mode 100644
index 5804b8842ad4..000000000000
--- a/www/py-feedgenerator/files/patch-setup.py
+++ /dev/null
@@ -1,19 +0,0 @@
---- setup.py.orig 2020-02-09 10:45:34 UTC
-+++ setup.py
-@@ -1,5 +1,7 @@
- #!/usr/bin/env python
-
-+from io import open
-+
- # Using setuptools rather than distutils to get the `develop` command
- from setuptools import setup
-
-@@ -8,7 +10,7 @@ NAME = 'feedgenerator'
- PACKAGES = ['feedgenerator', 'feedgenerator.django',
- 'feedgenerator.django.utils']
- DESCRIPTION = 'Standalone version of django.utils.feedgenerator'
--LONG_DESCRIPTION = open('README.rst').read()
-+LONG_DESCRIPTION = open('README.rst', encoding='UTF-8').read()
-
- URL = "https://github.com/getpelican/feedgenerator"
-