summaryrefslogtreecommitdiff
path: root/www/py-gandi.cli/files/patch-setup.py
diff options
context:
space:
mode:
authorKubilay Kocak <koobs@FreeBSD.org>2015-08-10 16:46:23 +0000
committerKubilay Kocak <koobs@FreeBSD.org>2015-08-10 16:46:23 +0000
commita60aff5b59dd7fb13093ab3058cf06d7f2db02b8 (patch)
treee8bbeb73e06a82ff678deb7cea8fecce5ee1f59c /www/py-gandi.cli/files/patch-setup.py
parentGtk+ 3.16 removed Type a head support in the filechooser. While Gtk+ 3.17 (diff)
www/py-gandi.cli: Update to 0.15 & Unbreak
- Update to 0.15 - Update RUN_DEPENDS version for click, (and patch setup.py accordingly) until upstream fixes it. [1]. - Make TEST_DEPENDS *only* include, test dependencies, adding RUN_DEPENDS instead to the TESTS option conditional. - Remove non-compulsory & forced tests_requires. Tests work perfectly fine out of the box with setup:py: test_suite='gandi.cli.tests', Changes: https://github.com/Gandi/gandi.cli/blob/0.15/CHANGES.rst [1] https://github.com/Gandi/gandi.cli/issues/147 Reported by: antoine, pkg-fallout (in that order)
Notes
Notes: svn path=/head/; revision=393876
Diffstat (limited to 'www/py-gandi.cli/files/patch-setup.py')
-rw-r--r--www/py-gandi.cli/files/patch-setup.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/www/py-gandi.cli/files/patch-setup.py b/www/py-gandi.cli/files/patch-setup.py
index e3f2a4235b76..861225e727dc 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 2015-04-01 08:43:36 UTC
+++ setup.py
-@@ -6,10 +6,11 @@ import os
+@@ -6,19 +6,20 @@ import os
import sys
from setuptools import setup, find_packages
@@ -14,9 +14,11 @@
with open(os.path.join(here, 'gandi', 'cli', '__init__.py')) as v_file:
-@@ -18,7 +19,7 @@ with open(os.path.join(here, 'gandi', 'c
+ version = re.compile(r".*__version__ = '(.*?)'",
+ re.S).match(v_file.read()).group(1)
- requires = ['setuptools', 'pyyaml', 'click<=4.0', 'requests', 'IPy']
+-requires = ['setuptools', 'pyyaml', 'click<=4.0', 'requests', 'IPy']
++requires = ['setuptools', 'pyyaml', 'click>=3.0', 'requests', 'IPy']
-tests_require = ['nose', 'coverage', 'tox', 'httpretty==0.8.6']
+tests_require = ['nose', 'httpretty==0.8.6' ]