mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
c7f67e9541
- Update to 2.7.0 - Update regression-test to canonical test invocation [1] - Patch setup.py to add tests dependencies and support test command [1] Changes: https://github.com/kennethreitz/requests/blob/v2.7.0/HISTORY.rst [1] https://github.com/kennethreitz/requests/pull/2630
20 lines
463 B
Python
20 lines
463 B
Python
--- setup.py.orig 2015-06-05 04:36:25 UTC
|
|
+++ setup.py
|
|
@@ -27,6 +27,7 @@ packages = [
|
|
]
|
|
|
|
requires = []
|
|
+tests_require = ['pytest']
|
|
|
|
version = ''
|
|
with open('requests/__init__.py', 'r') as fd:
|
|
@@ -54,6 +55,8 @@ setup(
|
|
package_dir={'requests': 'requests'},
|
|
include_package_data=True,
|
|
install_requires=requires,
|
|
+ tests_require=tests_require,
|
|
+ test_suite='test_requests',
|
|
license='Apache 2.0',
|
|
zip_safe=False,
|
|
classifiers=(
|