Debian Codegraph @

debian/rules

raw symbols SCIP
1 #!/usr/bin/make -f
2 #export DH_VERBOSE=1
3
4 include /usr/share/dpkg/pkg-info.mk
5
6 export PYBUILD_NAME=drizzle
7 export SETUPTOOLS_SCM_PRETEND_VERSION=${DEB_VERSION_UPSTREAM}
8 export DRIZZLE_TEST_DIR=$(shell pwd)/drizzle/tests/data
9
10 %:
11 dh $@ --with=python3,sphinxdoc --buildsystem=pybuild
12
13 override_dh_auto_build:
14 dh_auto_build
15 echo ${SETUPTOOLS_SCM_PRETEND_VERSION}
16 python3 setup.py build_ext -i
17 python3 -m sphinx docs build/sphinx/html
18
19 override_dh_install-arch:
20 dh_install
21 rm -rf debian/python*-drizzle/usr/bin/ \
22 debian/python*-drizzle/usr/lib/python*/*/drizzle/tests/data
23
24 override_dh_fixperms-indep:
25 dh_fixperms
26 chmod a-x debian/python-drizzle-*/usr/share/python-drizzle/test_data/j8bt06nyq_flt.fits
27
28 override_dh_python3-arch:
29 dh_python3
30 dh_numpy3