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
|
#!/usr/bin/make -f
#export DH_VERBOSE=1
include /usr/share/dpkg/pkg-info.mk
export PYBUILD_NAME=scapy
%:
dh $@ --with=python2,python3 --buildsystem=pybuild
override_dh_auto_configure:
echo -n $(DEB_VERSION_UPSTREAM) > scapy/VERSION
override_dh_auto_clean:
dh_auto_clean
-rm scapy/VERSION
override_dh_auto_install:
dh_auto_install
mv debian/python3-scapy/usr/bin/scapy \
debian/python3-scapy/usr/bin/scapy3
mv debian/python3-scapy/usr/share/man/man1/scapy.1.gz \
debian/python3-scapy/usr/share/man/man1/scapy3.1.gz
override_dh_auto_test:
echo "Tests disabled, dependencies not installed during build"
|