1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
#!/usr/bin/make -f
export PYBUILD_NAME=fsspec
export http_proxy = http://127.0.9.1:9
export PYBUILD_BEFORE_TEST=cp -R {dir}/fsspec/tests {build_dir}/fsspec/ ;\
cp -R {dir}/fsspec/implementations/tests {build_dir}/fsspec/implementations/
# ignore tests that need http conections.
export PYBUILD_TEST_ARGS=--ignore=fsspec/implementations/tests/test_http_sync.py --ignore=fsspec/implementations/tests/test_github.py -k 'not test_dbfs_file_listing \
and not test_dbfs_mkdir \
and not test_dbfs_write_and_read \
and not test_dbfs_read_range \
and not test_dbfs_read_range_chunked \
and not test_find_returns_expected_result_detail_true_include_dirs \
and not test_find_returns_expected_result_detail_true \
and not test_async_cat_file_ranges' \
fsspec/
%:
dh $@ --with sphinxdoc,python3 --buildsystem=pybuild
override_dh_auto_build:
dh_auto_build
LC_ALL=C.UTF-8 LANGUAGE=C.UTF-8 ${MAKE} -C docs html
override_dh_auto_clean:
dh_auto_clean
${MAKE} -C docs clean
|