diff options
author | Kubilay Kocak <koobs@FreeBSD.org> | 2016-03-05 15:46:04 +0000 |
---|---|---|
committer | Kubilay Kocak <koobs@FreeBSD.org> | 2016-03-05 15:46:04 +0000 |
commit | 6b6f072c17310274003aa1e250a33c501178ddbb (patch) | |
tree | 2df8b400c02fe6bd6669d928f57b1111f6f1a15c /www/py-gandi.cli/files/patch-setup.py | |
parent | www/firefox: better follow bundled graphite2 after r410185 (diff) |
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
Notes
Notes:
svn path=/head/; revision=410187
Diffstat (limited to 'www/py-gandi.cli/files/patch-setup.py')
-rw-r--r-- | www/py-gandi.cli/files/patch-setup.py | 7 |
1 files changed, 4 insertions, 3 deletions
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={ |