| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
# This file was automatically generated by stdeb 0.8.5 at |
| 4 |
# Fri, 02 Oct 2015 13:26:38 +0300 |
| 5 |
export PYBUILD_NAME=custodia |
| 6 |
|
| 7 |
# don't download packages |
| 8 |
export PIP_INDEX_URL=http://host.invalid./ |
| 9 |
|
| 10 |
# Don't try to download dnspython3. The package is provided by python3-dnspython |
| 11 |
export PIP_NO_DEPS=yes |
| 12 |
|
| 13 |
# Ignore all install packages to enforce installation of sdist. Otherwise tox |
| 14 |
# may pick up this package from global site-packages instead of source dist. |
| 15 |
export PIP_IGNORE_INSTALLED=yes |
| 16 |
|
| 17 |
export LC_ALL=C.UTF-8 |
| 18 |
|
| 19 |
%: |
| 20 |
dh $@ --with python3 --buildsystem=pybuild |
| 21 |
|
| 22 |
override_dh_auto_test: |
| 23 |
# tox --sitepackages -e py36 -- --skip-servertests |
| 24 |
|
| 25 |
override_dh_install: |
| 26 |
mkdir -p debian/tmp/usr/bin debian/tmp/usr/sbin |
| 27 |
mv debian/python3-custodia/usr/bin/custodia-cli debian/tmp/usr/bin |
| 28 |
mv debian/python3-custodia/usr/bin/custodia debian/tmp/usr/sbin |
| 29 |
rm -rf debian/python3-custodia/usr/bin |
| 30 |
|
| 31 |
dh_install |
| 32 |
|
| 33 |
override_dh_clean: |
| 34 |
dh_clean |
| 35 |
rm -f .coverage.* |
| 36 |
rm -rf .tox |
| 37 |
rm -rf src/custodia.egg-info |