Add python3 as a dependency, 3.7 as minimum version. Add verbose and pybuild related env in debian/rules

This commit is contained in:
2024-07-07 16:42:37 +02:00
parent 73ea6018ed
commit e6f5b7bfa6
2 changed files with 6 additions and 3 deletions

3
debian/control vendored
View File

@ -2,10 +2,11 @@ Source: routerstats
Section: misc
Priority: optional
Maintainer: Daniel Lysfjord <lysfjord.daniel@smokepit.net>
Build-Depends: debhelper-compat (= 13)
Build-Depends: python3, debhelper-compat (= 13)
Standards-Version: 4.5.1
Homepage: https://git.smokepit.net/daniell/routerstats/
Rules-Requires-Root: no
X-Python3-Version: >= 3.7
Package: routerstats-httpd
Architecture: all

6
debian/rules vendored
View File

@ -1,9 +1,11 @@
#!/usr/bin/make -f
# You must remove unused comment lines for the released package.
#export DH_VERBOSE = 1
export DH_VERBOSE = 1
export PYBUILD_NAME = routerstats
#export PYBUILD_SYSTEM = pyproject
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
%:
dh $@
dh $@ --with python3 --buildsystem=pybuild