1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
#!/usr/bin/make -f
# For DEB_HOST_ARCH
include /usr/share/dpkg/architecture.mk
export PYBUILD_NAME=imbalanced-learn
# TBD: Why is this here?
ifeq ($(DEB_HOST_ARCH), i386)
DEB_BUILD_OPTIONS += nocheck
endif
EXCLUDE_TESTS = not test_rusboost
# Bus errors triggered by scikit-learn
ifeq ($(DEB_HOST_ARCH), armhf)
EXCLUDE_TESTS += and not test_common
endif
# This test is flaky, skip it for now
export PYBUILD_TEST_ARGS=-k "$(EXCLUDE_TESTS)"
%:
dh $@ --buildsystem=pybuild
|