Commit 7640a066 authored by Reiner Herrmann's avatar Reiner Herrmann

Change dependencies to python3 and build as python3 application

Closes: #876518
parent 1ff1d8b8
...@@ -2,7 +2,7 @@ Source: deheader ...@@ -2,7 +2,7 @@ Source: deheader
Section: devel Section: devel
Priority: optional Priority: optional
Maintainer: Reiner Herrmann <reiner@reiner-h.de> Maintainer: Reiner Herrmann <reiner@reiner-h.de>
Build-Depends: debhelper (>= 10), dh-python, python-all, xmlto Build-Depends: debhelper (>= 10), dh-python, python3-all, xmlto
Standards-Version: 3.9.8 Standards-Version: 3.9.8
Homepage: http://www.catb.org/~esr/deheader/ Homepage: http://www.catb.org/~esr/deheader/
Vcs-Git: https://anonscm.debian.org/git/collab-maint/deheader.git Vcs-Git: https://anonscm.debian.org/git/collab-maint/deheader.git
...@@ -10,7 +10,7 @@ Vcs-Browser: https://anonscm.debian.org/git/collab-maint/deheader.git ...@@ -10,7 +10,7 @@ Vcs-Browser: https://anonscm.debian.org/git/collab-maint/deheader.git
Package: deheader Package: deheader
Architecture: all Architecture: all
Depends: ${misc:Depends}, ${python:Depends}, make Depends: ${misc:Depends}, ${python3:Depends}, make
Recommends: c-compiler, c++-compiler Recommends: c-compiler, c++-compiler
Description: Find and remove unnecessary includes in C or C++ source files Description: Find and remove unnecessary includes in C or C++ source files
deheader analyzes C and C++ files to determine which header inclusions can be deheader analyzes C and C++ files to determine which header inclusions can be
......
#!/usr/bin/make -f #!/usr/bin/make -f
%: %:
dh $@ --with python2 dh $@ --with python3
override_dh_installchangelogs: override_dh_installchangelogs:
dh_installchangelogs NEWS dh_installchangelogs NEWS
override_dh_python3:
dh_python3 --shebang=/usr/bin/python3
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment