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 27
|
#!/usr/bin/make -f
# debian/rules file - for pyhoca-gui
# Based on sample debian/rules file - for GNU Hello (1.3).
# Copyright 2010-2019 by Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
export PYVER=$(shell py3versions -d)
export PYBUILD_NAME=pyhoca-gui
%:
dh ${@} ${WITH_PYTHON2} --with python3 --buildsystem=pybuild
override_dh_install:
rm -f debian/pyhoca-gui/usr/lib/python3*/dist-packages/PyHoca_GUI-*-nspkg.pth
dh_install
override_dh_auto_build:
cp po/PyHoca-GUI.pot po/PyHoca-GUI.pot.bak
dh_auto_build
override_dh_auto_clean:
test -f po/PyHoca-GUI.pot.bak && mv po/PyHoca-GUI.pot.bak po/PyHoca-GUI.pot || true
rm -Rf PyHoca_GUI.egg-info/
-dh_auto_clean
rm -Rf .pybuild/
get-orig-source:
uscan --noconf --force-download --rename --download-current-version --destdir=..
|