forked from pool/python-feedgenerator
Accepting request 774230 from home:benoit_monin:branches:devel:languages:python
- update to version 1.9.1 - remove separate license file: now included in source tarball - add fix_encoding_in_setup_py.patch to fix build failure OBS-URL: https://build.opensuse.org/request/show/774230 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-feedgenerator?expand=0&rev=8
This commit is contained in:
committed by
Git OBS Bridge
parent
5a8867f514
commit
7f68697ca0
18
fix_encoding_in_setup_py.patch
Normal file
18
fix_encoding_in_setup_py.patch
Normal file
@@ -0,0 +1,18 @@
|
||||
--- feedgenerator-1.9.1.orig/setup.py
|
||||
+++ feedgenerator-1.9.1/setup.py
|
||||
@@ -3,12 +3,14 @@
|
||||
# Using setuptools rather than distutils to get the `develop` command
|
||||
from setuptools import setup
|
||||
|
||||
+# Needed to specify the encoding
|
||||
+from io import open
|
||||
|
||||
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"
|
||||
|
Reference in New Issue
Block a user