From 6b6f072c17310274003aa1e250a33c501178ddbb Mon Sep 17 00:00:00 2001 From: Kubilay Kocak Date: Sat, 5 Mar 2016 15:46:04 +0000 Subject: www/py-gandi.cli: Update to 0.18, Modernize - Update PORTVERSION and distinfo checksum (0.18) - Remove TESTS option bits (no longer necessary) - Patch setup.py to remove unecessary dependencies and switch test_suite back to the actual test module instead of nose (TODO: upstream) - Remove unecessary TEST_DEPENDS (nose, coverage). The tests run perfectly fine without them. - Convert test target to modern framework - post-extract: Remove compiled (py[co]) files and __pycache__ directories that were inadvertently included in the sdist [1] Changes: https://github.com/Gandi/gandi.cli/blob/0.18/CHANGES.rst [1] https://github.com/Gandi/gandi.cli/pull/180 --- www/py-gandi.cli/files/patch-setup.py | 7 ++++--- 1 file changed, 4 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 823f2109fd04..d7d047c6e05c 100644 --- a/www/py-gandi.cli/files/patch-setup.py +++ b/www/py-gandi.cli/files/patch-setup.py @@ -1,4 +1,4 @@ ---- setup.py.orig 2015-09-18 16:37:16 UTC +--- setup.py.orig 2016-02-08 14:17:09 UTC +++ setup.py @@ -6,11 +6,11 @@ import os import sys @@ -20,14 +20,15 @@ requires = ['setuptools', 'pyyaml', 'click>=3.1', 'requests', 'IPy'] -tests_require = ['nose', 'coverage', 'tox', 'httpretty==0.8.6'] -+tests_require = ['nose', 'httpretty==0.8.6'] ++tests_require = ['httpretty>=0.8.6'] if sys.version_info < (2, 7): tests_require += ['unittest2', 'importlib'] -@@ -53,6 +53,7 @@ setup(name='gandi.cli', +@@ -54,7 +54,7 @@ setup(name='gandi.cli', zip_safe=False, install_requires=requires, tests_require=tests_require, +- test_suite='nose.collector', + test_suite='gandi.cli.tests', extras_require=extras_require, entry_points={ -- cgit v1.2.3