| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
export PYBUILD_NAME=grequests |
| 4 |
export PYBUILD_BEFORE_TEST=cp -v tests.py {build_dir}/ |
| 5 |
export PYBUILD_AFTER_TEST=rm -v {build_dir}/tests.py |
| 6 |
# most tests requires an internet connection and should be run with autopkgtest |
| 7 |
export PYBUILD_TEST_ARGS=tests.py -k ' not test_callback_kwarg \ |
| 8 |
and not test_calling_request \ |
| 9 |
and not test_hooks \ |
| 10 |
and not test_imap \ |
| 11 |
and not test_map \ |
| 12 |
and not test_map_timeout_exception_handler_no_return \ |
| 13 |
and not test_map_timeout_exception_handler_returns_exception \ |
| 14 |
and not test_map_timeout_no_exception_handler \ |
| 15 |
and not test_session_and_cookies \ |
| 16 |
and not test_stream_enabled \ |
| 17 |
' |
| 18 |
|
| 19 |
%: |
| 20 |
dh $@ --buildsystem=pybuild |