mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-15 11:15:47 +00:00
debianpkg: change frr-pythontools dep to python3
The shebang can't be both at the same time; since python2 is going to be removed from Debian soon let's just stick with python3. Signed-off-by: David Lamparter <equinox@diac24.net>
This commit is contained in:
parent
2822c23a90
commit
2dacd93a4b
@ -113,8 +113,7 @@ Depends:
|
||||
${misc:Depends},
|
||||
frr (<< ${source:Upstream-Version}.0-~),
|
||||
frr (>= ${source:Version}~),
|
||||
python (>= 2.7) | python3,
|
||||
python-ipaddr | python-ipaddress
|
||||
python3:any
|
||||
Description: BGP/OSPF/RIP/RIPng/ISIS/PIM/LDP routing daemon (Python Tools)
|
||||
This package includes info files for frr, a free software which manages
|
||||
TCP/IP based routing protocols. It supports BGP4, BGP4+, OSPFv2, OSPFv3,
|
||||
|
@ -1 +1 @@
|
||||
tools/frr-reload.py usr/lib/frr/
|
||||
usr/lib/frr/frr-reload.py
|
||||
|
@ -120,6 +120,8 @@ else
|
||||
USE_SYSTEMD=--enable-systemd=no
|
||||
endif
|
||||
|
||||
export PYTHON=python3
|
||||
|
||||
%:
|
||||
dh $@ --with=$(DH_WITH_SYSTEMD)autoreconf --parallel --dbg-package=frr-dbg
|
||||
|
||||
@ -154,8 +156,7 @@ override_dh_auto_configure:
|
||||
override_dh_auto_install:
|
||||
dh_auto_install
|
||||
|
||||
# installed in frr-pythontools
|
||||
rm debian/tmp/usr/lib/frr/frr-reload.py
|
||||
sed -e '1c #!/usr/bin/python3' -i debian/tmp/usr/lib/frr/frr-reload.py
|
||||
|
||||
# let dh_systemd_* and dh_installinit do their thing automatically
|
||||
ifeq ($(filter pkg.frr.nosystemd,$(DEB_BUILD_PROFILES)),)
|
||||
|
Loading…
Reference in New Issue
Block a user