Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2
3 # Uncoment this line to debug failing tests
4 # export PYBUILD_TEST_ARGS = -s --no-qt-log
5 # export DH_VERBOSE = 1
6 # export PYBUILD_VERBOSE = 1
7 export PYBUILD_NAME = audio-visualizer-python
8 export PYBUILD_INSTALL_DIR = /usr/share/audio-visualizer-python/
9 export PYBUILD_AFTER_TEST = rm -rf {build_dir}/.pytest_cache
10
11 # Inject private module to sys.path
12 export PYBUILD_AFTER_INSTALL = sed -i \
13 's/from avp.cli import main/sys.path.insert(0, "\/usr\/share\/audio-visualizer-python\/")\n&\n/' \
14 {destdir}/usr/bin/avp
15
16 %:
17 dh $@ --buildsystem=pybuild
18
19 execute_after_dh_python3:
20 # Remove the distinfo stuff once the dependencies have been collected
21 rm -vrf debian/audio-visualizer-python/$(PYBUILD_INSTALL_DIR)/*.dist-info