From a60aff5b59dd7fb13093ab3058cf06d7f2db02b8 Mon Sep 17 00:00:00 2001 From: Kubilay Kocak Date: Mon, 10 Aug 2015 16:46:23 +0000 Subject: 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) --- www/py-gandi.cli/files/patch-setup.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'www/py-gandi.cli/files/patch-setup.py') 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' ] -- cgit v1.2.3