Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 include /usr/share/dpkg/pkg-info.mk
4
5 # Individual tests which fail in buildd or autopkgtest
6 SKIP_TESTSscip-debian debian python-hypothesis 6.152.4-1 python-hypothesis/rules/SKIP_TESTS. = \
7 cli \
8 pytest \
9 test_adds_note_showing_which_strategy \
10 test_can_learn_to_normalize_the_unnormalized \
11 test_dateutil_timezones \
12 test_gc_hooks_do_not_cause_unraisable_recursionerror \
13 test_ghostwriter_suggests_submodules_for_empty_toplevel \
14 test_hypothesis_is_not_the_first_to_import_attrs \
15 test_hypothesis_is_not_the_first_to_import_numpy \
16 test_updating_the_file_include_new_shrinkers \
17 test_zoneinfo_timezones
18
19 # Test scripts which cannot be imported, e.g. because they
20 # depend on unpackaged Python modules
21 IGNORE_TESTSscip-debian debian python-hypothesis 6.152.4-1 python-hypothesis/rules/IGNORE_TESTS. = \
22 tests/codemods \
23 tests/crosshair \
24 tests/dpcontracts \
25 tests/patching
26
27 spacescip-debian debian python-hypothesis 6.152.4-1 python-hypothesis/rules/space. = $(evalscip-debian debian python-hypothesis 6.152.4-1 python-hypothesis/rules/eval.) $(evalscip-debian debian python-hypothesis 6.152.4-1 python-hypothesis/rules/eval.)
28 concat_withscip-debian debian python-hypothesis 6.152.4-1 python-hypothesis/rules/concat_with. = $(substscip-debian debian python-hypothesis 6.152.4-1 python-hypothesis/rules/subst. $(spacescip-debian debian python-hypothesis 6.152.4-1 python-hypothesis/rules/space.),$1scip-debian debian python-hypothesis 6.152.4-1 python-hypothesis/rules/1.,$2scip-debian debian python-hypothesis 6.152.4-1 python-hypothesis/rules/2.)
29
30 export LC_ALLscip-debian debian python-hypothesis 6.152.4-1 python-hypothesis/rules/LC_ALL.=C.UTF-8
31 export PYBUILD_NAMEscip-debian debian python-hypothesis 6.152.4-1 python-hypothesis/rules/PYBUILD_NAME.=hypothesis
32 export PYBUILD_DIRscip-debian debian python-hypothesis 6.152.4-1 python-hypothesis/rules/PYBUILD_DIR.=hypothesis-python
33 export PYBUILD_TEST_ARGSscip-debian debian python-hypothesis 6.152.4-1 python-hypothesis/rules/PYBUILD_TEST_ARGS.=$(ifscip-debian debian python-hypothesis 6.152.4-1 python-hypothesis/rules/if. $(SKIP_TESTSscip-debian debian python-hypothesis 6.152.4-1 python-hypothesis/rules/SKIP_TESTS.),-k 'not ($(call concat_with,$(space)or$(space),$(SKIP_TESTS)))') $(addprefixscip-debian debian python-hypothesis 6.152.4-1 python-hypothesis/rules/addprefix. --ignore=,$(IGNORE_TESTSscip-debian debian python-hypothesis 6.152.4-1 python-hypothesis/rules/IGNORE_TESTS.)) tests
34
35 %scip-debian debian python-hypothesis 6.152.4-1 python-hypothesis/rules/`%`().:
36 dh $@ --buildsystem=pybuild
37
38 execute_after_dh_auto_buildscip-debian debian python-hypothesis 6.152.4-1 python-hypothesis/rules/execute_after_dh_auto_build().:
39 ifeq ($(filterscip-debian debian python-hypothesis 6.152.4-1 python-hypothesis/rules/filter. nodoc,$(DEB_BUILD_PROFILESscip-debian debian python-hypothesis 6.152.4-1 python-hypothesis/rules/DEB_BUILD_PROFILES.)),)
40 PYTHONPATH=$(shell pybuild --print build_dir --interpreter python3) \
41 http_proxy='127.0.0.1:9' \
42 https_proxy='127.0.0.1:9' \
43 python3 -m sphinx -N -b html hypothesis-python/docs/ $(CURDIR)/.pybuild/docs/html/
44 endif
45
46 execute_before_dh_installmanscip-debian debian python-hypothesis 6.152.4-1 python-hypothesis/rules/execute_before_dh_installman().:
47 sed -e 's/@VERSION@/$(DEB_VERSION_UPSTREAMscip-debian debian python-hypothesis 6.152.4-1 python-hypothesis/rules/DEB_VERSION_UPSTREAM.)/g' debian/hypothesis.1.in > debian/hypothesis.1
48