summaryrefslogtreecommitdiff
path: root/debian/rules
blob: 4c8889d01b24e169c959a21e881fb1e41e57687b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

# DH_VERBOSE := 1
export LC_ALL=C.UTF-8

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

override_dh_auto_clean:
	dh_auto_clean
	rm -rf seqmagick/data
	rm -rf seqmagick.egg-info

before-pybuild-autopkgtest:
	# Pull test items that are otherwise uncaught by pybuild-autodep8.
	mkdir -p ../../autopkgtest_tmp/build/seqmagick
	cp -r /usr/lib/python3/dist-packages/seqmagick/test \
		../../autopkgtest_tmp/build/seqmagick