File: rules

package info (click to toggle)
androguard 3.4.0~a1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 89,352 kB
  • sloc: python: 25,159; xml: 3,203; java: 1,849; makefile: 218; sh: 12
file content (25 lines) | stat: -rwxr-xr-x 674 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
#!/usr/bin/make -f

include /usr/share/dpkg/architecture.mk

export LC_ALL = C.UTF-8

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

override_dh_python3:
	dh_python3 --shebang=/usr/bin/python3 \
		--depends-section=magic \
		--recommends-section=GUI \
		--recommends-section=graphing

# do not strip the test/example files!
override_dh_strip_nondeterminism:
	dh_strip_nondeterminism -O--buildsystem=pybuild \
		--exclude=debian/androguard/usr/share/doc/androguard/examples

override_dh_compress:
	dh_compress -X usr/share/doc/androguard/examples

override_dh_auto_test:
	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="LC_ALL=C.UTF-8 {interpreter} -m nose --verbose" dh_auto_test