File: rules

package info (click to toggle)
joblib 1.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,284 kB
  • sloc: python: 15,669; sh: 124; makefile: 39
file content (28 lines) | stat: -rwxr-xr-x 1,094 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
25
26
27
28
#!/usr/bin/make -f
# -*- makefile -*-

EXCLUDE_TESTS =
# Until https://github.com/joblib/joblib/issues/1273 is open
EXCLUDE_TESTS += not test_nested_loop_error_in_grandchild_resource_tracker_silent
# Until https://github.com/joblib/joblib/issues/1328 is open
EXCLUDE_TESTS += and not test_resource_tracker_silent_when_reference_cycles
# Until https://github.com/joblib/joblib/issues/1329 is open
EXCLUDE_TESTS += and not test_parallel_with_interactively_defined_functions_default_backend

# This failled on buildd x86-grnet-03 but not on Salsa
EXCLUDE_TESTS += and not test_joblib_pickle_across_python_versions

export PYBUILD_NAME=joblib
export PYBUILD_TEST_ARGS := -k "$(EXCLUDE_TESTS)" --confcutdir=.
export PYBUILD_BEFORE_TEST=cp -v debian/conftest.py {build_dir}
export PYBUILD_AFTER_TEST=rm -v {build_dir}/conftest.py
export HOME=$(CURDIR)/debian

%:
	dh $@ --buildsystem=pybuild

override_dh_installchangelogs:
	dh_installchangelogs CHANGES.rst

execute_after_dh_auto_build-indep:
	SPHINXOPTS="$(SPHINXOPTS)" pybuild --build -i python3 -s custom --build-args '$(MAKE) -C {dir}/doc html'