Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 #export DH_VERBOSE = 1
4
5 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
6 DPKG_EXPORT_BUILDFLAGS = 1
7 include /usr/share/dpkg/buildflags.mk
8
9 # These tests require a running LDAP server
10 disabled_tests = \
11 tests/test_asyncio.py \
12 tests/test_gevent.py \
13 tests/test_ldapclient.py \
14 tests/test_ldapconnection.py \
15 tests/test_ldapentry.py \
16 tests/test_ldapreference.py \
17 tests/test_pool.py \
18 tests/test_tornado.py \
19 tests/test_trio.py \
20 tests/test_utils.py
21
22 docs = {dir}/docs/_build
23 export PYBUILD_AFTER_CLEAN = rm -rf $(docs)
24 export PYBUILD_AFTER_INSTALL = \
25 PYTHONPATH={destdir}/{install_dir} \
26 {interpreter} -m sphinx -N -b html {dir}/docs/ $(docs)
27 export PYBUILD_TEST_ARGS = $(addprefix --ignore=,$(disabled_tests))
28
29 %:
30 dh $@ --with sphinxdoc --buildsystem=pybuild
31
32 override_dh_auto_build:
33 @echo 'blhc: ignore-line-regexp: .*test_krb5\.o .*test_krb5'
34 dh_auto_build -O--buildsystem=pybuild
35
36 execute_after_dh_auto_install:
37 rm -rvf debian/tmp/usr/lib/python3.*/dist-packages/.pytest_cache/