File: rules

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

#export DH_VERBOSE=1

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


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

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

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

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