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
|
#!/usr/bin/make -f
PY3VER=$(shell py3versions -dvr)
DH_VERBOSE=1
export PYBUILD_TEST_ARGS={dir}/release_tests
%:
dh $@ --buildsystem pybuild
override_dh_auto_clean:
dh_auto_clean
rm -rf build GDebi/Version.py po/mo
override_dh_auto_install:
PYBUILD_SYSTEM=custom \
PYBUILD_INSTALL_ARGS="python{version} setup.py install \
--install-layout=deb \
--root=debian/tmp \
--install-scripts=/usr/share/gdebi \
--install-lib=/usr/share/gdebi" \
dh_auto_install
override_dh_python3:
dh_python3 --shebang=/usr/bin/python3 /usr/share/gdebi
|