File: rules

package info (click to toggle)
imbalanced-learn 0.12.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,160 kB
  • sloc: python: 17,221; sh: 481; makefile: 187; javascript: 50
file content (24 lines) | stat: -rwxr-xr-x 479 bytes parent folder | download
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