blob: 58f8afab9759605bea5d61d45ae7d9a3bdb7e9ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/usr/bin/make -f
export PYBUILD_NAME=docker-compose
%:
dh $@ --with python2 --buildsystem=pybuild
DESTDIR = $(CURDIR)/debian/docker-compose
override_dh_auto_install:
dh_auto_install --buildsystem=pybuild
mkdir -p $(DESTDIR)/usr/share/zsh/vendor-completions $(DESTDIR)/usr/share/bash-completion/completions
install -m644 contrib/completion/zsh/_docker-compose $(DESTDIR)/usr/share/zsh/vendor-completions
install -m644 contrib/completion/bash/docker-compose $(DESTDIR)/usr/share/bash-completion/completions
override_dh_auto_test:
# tests disabled because they require networking
test:
which pytest || (echo "pytest not found. install python-pytest" ; exit 1)
pytest tests
|