File: rules

package info (click to toggle)
scapy 2.7.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,932 kB
  • sloc: python: 180,325; sh: 90; makefile: 10
file content (20 lines) | stat: -rwxr-xr-x 402 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

#export DH_VERBOSE=1

include /usr/share/dpkg/pkg-info.mk
export PYBUILD_NAME=scapy


%:
	dh $@ --buildsystem=pybuild

override_dh_auto_configure:
	printf "%s" $(DEB_VERSION_UPSTREAM) | sed -e 's/+dfsg//' > scapy/VERSION

execute_after_dh_auto_clean:
	$(RM) -r scapy/VERSION .tox scapy.egg-info

override_dh_auto_test:
	# disable tests: they required network
	echo "Tests disabled"