]>
Commit | Line | Data |
---|---|---|
3da6e70c SS |
1 | #!/usr/bin/make -f |
2 | ||
3da6e70c | 3 | export DEB_BUILD_MAINT_OPTIONS=hardening=+all |
2266f8ff JS |
4 | export PYBUILD_SYSTEM=custom |
5 | export PYBUILD_CLEAN_ARGS=dh_auto_clean | |
6 | export PYBUILD_CONFIGURE_ARGS=intltoolize --force --automake; \ | |
7 | PYTHON={interpreter} dh_auto_configure -- \ | |
8 | --disable-perl | |
9 | export PYBUILD_BUILD_ARGS=dh_auto_build | |
10 | export PYBUILD_INSTALL_ARGS=dh_auto_install --destdir={destdir}; \ | |
11 | mkdir -p {destdir}/usr/lib/python{version}/dist-packages; \ | |
12 | mv {destdir}/usr/lib/python3/dist-packages/_location.so {destdir}/usr/lib/python{version}/dist-packages/_location.so; \ | |
13 | rm -f {destdir}/usr/lib/python3/dist-packages/_location.la {destdir}/usr/lib/*/libloc.la | |
14 | export PYBUILD_TEST_ARGS=dh_auto_test | |
3da6e70c SS |
15 | |
16 | %: | |
2266f8ff | 17 | dh $@ --buildsystem=pybuild |