Add python3 as a dependency, 3.7 as minimum version. Add verbose and pybuild related env in debian/rules
This commit is contained in:
3
debian/control
vendored
3
debian/control
vendored
@ -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
6
debian/rules
vendored
@ -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
|
||||
|
||||
Reference in New Issue
Block a user