debian: use PYBUILD_NAME (#41634)

This commit is contained in:
Benjamin Dauvergne 2020-04-13 12:05:52 +02:00
parent c81470efcf
commit e4c329edaf
3 changed files with 5 additions and 3 deletions

View File

@ -1,6 +1,4 @@
debian/combo.service /lib/systemd/system
debian/combo-manage /usr/bin
debian/settings.py /etc/combo
debian/uwsgi.ini /etc/combo
debian/debian_config.py /usr/lib/combo
usr/bin/manage.py /usr/lib/combo

View File

@ -1 +0,0 @@
usr/lib/python3.*

5
debian/rules vendored
View File

@ -1,7 +1,12 @@
#!/usr/bin/make -f
# -*- makefile -*-
export PYBUILD_NAME=combo
export PYBUILD_DISABLE=test
%:
dh $@ --with python3,systemd --buildsystem=pybuild
override_dh_install:
dh_install
mv $(CURDIR)/debian/python3-combo/usr/bin/manage.py $(CURDIR)/debian/combo/usr/lib/combo/manage.py