Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 PY3VER=$(shell py3versions -dvr)
4 DH_VERBOSE=1
5
6 export PYBUILD_TEST_ARGS={dir}/release_tests
7
8 %:
9 dh $@ --buildsystem pybuild
10
11 override_dh_auto_clean:
12 dh_auto_clean
13 rm -rf build GDebi/Version.py po/mo
14
15 override_dh_auto_install:
16 PYBUILD_SYSTEM=custom \
17 PYBUILD_INSTALL_ARGS="python{version} setup.py install \
18 --install-layout=deb \
19 --root=debian/tmp \
20 --install-scripts=/usr/share/gdebi \
21 --install-lib=/usr/share/gdebi" \
22 dh_auto_install
23
24 override_dh_python3:
25 dh_python3 --shebang=/usr/bin/python3 /usr/share/gdebi