mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 16:16:04 -04:00
Debian packaging via dh_virtualenv (#4285)
This commit is contained in:
parent
fd4070a85d
commit
1a6d5bfa08
36 changed files with 311 additions and 510 deletions
30
debian/rules
vendored
30
debian/rules
vendored
|
@ -1,18 +1,22 @@
|
|||
#!/usr/bin/make -f
|
||||
#
|
||||
# Build Debian package using https://github.com/spotify/dh-virtualenv
|
||||
#
|
||||
|
||||
# This file was automatically generated by stdeb 0.8.2 at
|
||||
# Fri, 12 Jun 2015 14:32:03 +0100
|
||||
export PYBUILD_NAME=matrix-synapse
|
||||
%:
|
||||
dh $@ --with python2 --with systemd --buildsystem=pybuild --no-guessing-deps
|
||||
|
||||
override_dh_auto_install:
|
||||
python setup.py install --root=debian/matrix-synapse --install-layout=deb
|
||||
|
||||
override_dh_auto_build:
|
||||
override_dh_systemd_enable:
|
||||
dh_systemd_enable --name=matrix-synapse
|
||||
|
||||
override_dh_installinit:
|
||||
dh_installinit --no-start
|
||||
dh_installinit --name=matrix-synapse
|
||||
|
||||
override_dh_auto_test:
|
||||
PYTHONPATH=. trial tests
|
||||
override_dh_strip:
|
||||
|
||||
override_dh_shlibdeps:
|
||||
|
||||
override_dh_virtualenv:
|
||||
./debian/build_virtualenv
|
||||
|
||||
# We are restricted to compat level 9 (because xenial), so have to
|
||||
# enable the systemd bits manually.
|
||||
%:
|
||||
dh $@ --with python-virtualenv --with systemd
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue