diff options
author | Kubilay Kocak <koobs@FreeBSD.org> | 2014-02-16 07:01:03 +0000 |
---|---|---|
committer | Kubilay Kocak <koobs@FreeBSD.org> | 2014-02-16 07:01:03 +0000 |
commit | cb4f2b7b59bbd53cff6d07fa03bbbe9c1c568258 (patch) | |
tree | ca3267b32e42c079c17e97692701838440dfc55d /www/py-grequests/files/patch-setup.py | |
parent | www/py-django-dpaste: Update to 2.5, support testing (diff) |
www/py-grequests: Modernise and fix tests
- Enable STAGE support
- Enable AUTOPLIST support, delete pkg-plist
- RUN_DEPENDS: Use requests 2.x
- Deprecate easy_install target
- Update LICENSE (BSD2CLAUSE)
- Add TEST_DEPENDS
- Make tests work using standard setup.py test command [1]
- Backport commit for tests using requests hook **kwargs [2]
[1] https://github.com/kennethreitz/grequests/pull/47
[2] https://github.com/kennethreitz/grequests/commit/f50782ad63607b85e5e009f4a0a4ce0a8a6aef0d
Notes
Notes:
svn path=/head/; revision=344501
Diffstat (limited to 'www/py-grequests/files/patch-setup.py')
-rw-r--r-- | www/py-grequests/files/patch-setup.py | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/www/py-grequests/files/patch-setup.py b/www/py-grequests/files/patch-setup.py index 7b55740efc84..4341b18bb660 100644 --- a/www/py-grequests/files/patch-setup.py +++ b/www/py-grequests/files/patch-setup.py @@ -1,10 +1,14 @@ ---- ./setup.py.orig 2013-03-05 10:04:42.000000000 +1100 -+++ ./setup.py 2013-04-29 20:25:38.800634016 +1000 -@@ -56,5 +56,6 @@ +# Support test command w/ tests_require & test_suite +# https://github.com/kennethreitz/grequests/pull/47 + +--- ./setup.py.orig 2014-02-16 17:35:13.772145487 +1100 ++++ ./setup.py 2014-02-16 17:36:15.191123632 +1100 +@@ -56,5 +56,7 @@ 'Programming Language :: Python', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', 'Topic :: Software Development :: Libraries :: Python Modules' - ] + ], -+ test_suite='tests' ++ tests_require = ['nose'], ++ test_suite = 'nose.collector', ) |