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