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
|
export PYBUILD_NAME:=dtfabric
%:
dh $@ --with python2,python3 --buildsystem=pybuild
override_dh_install:
dh_install
mv debian/python3-dtfabric/usr/bin/validate-definitions.py \
debian/python3-dtfabric/usr/bin/validate-definitions
mv debian/python3-dtfabric/usr/share/doc/dtfabric \
debian/python3-dtfabric/usr/share/doc/python3-dtfabric
mv debian/python-dtfabric/usr/share/doc/dtfabric \
debian/python-dtfabric/usr/share/doc/python-dtfabric
rm -rf debian/python-dtfabric/usr/bin
override_dh_auto_install:
dh_auto_install
find ./debian -type f -name "LICENSE" -delete
override_dh_clean:
dh_clean
rm -rf dtfabric.egg-info/
override_dh_missing:
dh_missing --fail-missing
|