Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2 include /usr/share/dpkg/pkg-info.mk
3
4 export PYBUILD_BEFORE_TEST = cp -a {dir}/nixio {dir}/docs {build_dir}
5 # FIXME: test_nix_compatibility.py needs NIX C++ headers to be runnable.
6 # NOTE: the documentation's examples skips expect non free Lenna picture.
7 export PYBUILD_TEST_ARGS = -v \
8 -k 'not test_nix_compatibility.py \
9 and not test_image_data \
10 and not test_image_with_metadata \
11 and not test_multiple_rois \
12 and not test_single_roi'
13 export PYBUILD_AFTER_TEST = rm -rf {build_dir}/docs {build_dir}/nixio
14
15 %:
16 dh $@ --buildsystem=pybuild
17
18 execute_before_dh_auto_build:
19 ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
20 python3 -m sphinx docs/source/ docs/_build/
21 endif
22
23 DTMP = $(CURDIR)/debian/tmp
24 execute_before_dh_installman: export PYTHONPATH=$(CURDIR)
25 execute_before_dh_installman:
26 ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
27 help2man $(DTMP)/usr/bin/nixio \
28 --name "command line interface for nixio tools" \
29 --version-string="$(DEB_VERSION_UPSTREAM)" \
30 --no-info \
31 > debian/nixio.1
32 endif