File: rules

package info (click to toggle)
python-drizzle 1.13.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 239,132 kB
  • sloc: ansic: 6,604; python: 1,079; makefile: 126
file content (28 lines) | stat: -rwxr-xr-x 658 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin/make -f
#export DH_VERBOSE=1

PYTHON3:=$(shell py3versions -vr)
export PYBUILD_NAME=drizzle
export DRIZZLE_TEST_DIR=$(shell pwd)/drizzle/tests/data

%:
	dh $@ --with python3,sphinxdoc --buildsystem=pybuild

override_dh_installdocs-indep:
	python3 setup.py build_ext -i
	python3 setup.py build_sphinx
	dh_installdocs

override_dh_install-arch:
	dh_install
	rm -rf debian/python*-drizzle/usr/bin/ \
	       debian/python*-drizzle/usr/lib/python*/*/drizzle/tests/data

override_dh_fixperms-indep:
	dh_fixperms
	chmod a-x debian/python-drizzle-*/usr/share/python-drizzle/test_data/j8bt06nyq_flt.fits

override_dh_python3-arch:
	dh_python3
	dh_numpy3