summaryrefslogtreecommitdiff
path: root/www/py-gandi.cli/files/patch-setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'www/py-gandi.cli/files/patch-setup.py')
-rw-r--r--www/py-gandi.cli/files/patch-setup.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/www/py-gandi.cli/files/patch-setup.py b/www/py-gandi.cli/files/patch-setup.py
index d7d047c6e05c..9afd26949bdf 100644
--- a/www/py-gandi.cli/files/patch-setup.py
+++ b/www/py-gandi.cli/files/patch-setup.py
@@ -1,6 +1,6 @@
---- setup.py.orig 2016-02-08 14:17:09 UTC
+--- setup.py.orig 2017-09-13 12:32:20 UTC
+++ setup.py
-@@ -6,11 +6,11 @@ import os
+@@ -6,19 +6,19 @@ import os
import sys
from setuptools import setup, find_packages
@@ -9,22 +9,22 @@
here = os.path.abspath(os.path.dirname(__file__))
-README = open(os.path.join(here, 'README.md')).read()
-CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()
--
+README = open(os.path.join(here, 'README.md'), encoding='utf-8').read()
+CHANGES = open(os.path.join(here, 'CHANGES.rst'), encoding='utf-8').read()
+-
with open(os.path.join(here, 'gandi', 'cli', '__init__.py')) as v_file:
version = re.compile(r".*__version__ = '(.*?)'",
-@@ -18,7 +18,7 @@ with open(os.path.join(here, 'gandi', 'c
+ re.S).match(v_file.read()).group(1)
requires = ['setuptools', 'pyyaml', 'click>=3.1', 'requests', 'IPy']
--tests_require = ['nose', 'coverage', 'tox', 'httpretty==0.8.6']
-+tests_require = ['httpretty>=0.8.6']
+-tests_require = ['nose', 'coverage', 'tox']
++tests_require = []
if sys.version_info < (2, 7):
tests_require += ['unittest2', 'importlib']
-@@ -54,7 +54,7 @@ setup(name='gandi.cli',
+@@ -55,7 +55,7 @@ setup(name='gandi.cli',
zip_safe=False,
install_requires=requires,
tests_require=tests_require,