2
0
Эх сурвалжийг харах

pkg/deb: fix python3 build

Victor Seva 6 жил өмнө
parent
commit
04d32963c2

+ 2 - 1
pkg/deb/bionic/control

@@ -2,6 +2,7 @@ Source: kamcli
 Maintainer: Victor Seva <[email protected]>
 Section: misc
 Priority: optional
+X-Python3-Version: >= 3.2
 Standards-Version: 4.2.1.1
 Build-Depends:
  debhelper (>= 9~),
@@ -13,7 +14,7 @@ Package: kamcli
 Architecture: all
 Depends:
  ${misc:Depends},
- ${python:Depends},
+ ${python3:Depends},
 Description: Kamailio Command Line Interface Control Tool
  kamcli is aiming at being a modern and extensible alternative to the shell
  script kamctl.

+ 1 - 1
pkg/deb/bionic/rules

@@ -2,4 +2,4 @@
 include /usr/share/dpkg/pkg-info.mk
 
 %:
-	dh "$@" --with python3
+	dh "$@" --with python3 --buildsystem=pybuild

+ 2 - 1
pkg/deb/buster/control

@@ -2,6 +2,7 @@ Source: kamcli
 Maintainer: Victor Seva <[email protected]>
 Section: misc
 Priority: optional
+X-Python3-Version: >= 3.2
 Standards-Version: 4.2.1.1
 Build-Depends:
  debhelper (>= 9~),
@@ -13,7 +14,7 @@ Package: kamcli
 Architecture: all
 Depends:
  ${misc:Depends},
- ${python:Depends},
+ ${python3:Depends},
 Description: Kamailio Command Line Interface Control Tool
  kamcli is aiming at being a modern and extensible alternative to the shell
  script kamctl.

+ 1 - 1
pkg/deb/buster/rules

@@ -2,4 +2,4 @@
 include /usr/share/dpkg/pkg-info.mk
 
 %:
-	dh "$@" --with python3
+	dh "$@" --with python3 --buildsystem=pybuild

+ 2 - 1
pkg/deb/debian/control

@@ -2,6 +2,7 @@ Source: kamcli
 Maintainer: Victor Seva <[email protected]>
 Section: misc
 Priority: optional
+X-Python3-Version: >= 3.2
 Standards-Version: 4.2.1.1
 Build-Depends:
  debhelper (>= 9~),
@@ -13,7 +14,7 @@ Package: kamcli
 Architecture: all
 Depends:
  ${misc:Depends},
- ${python:Depends},
+ ${python3:Depends},
 Description: Kamailio Command Line Interface Control Tool
  kamcli is aiming at being a modern and extensible alternative to the shell
  script kamctl.

+ 1 - 1
pkg/deb/debian/rules

@@ -2,4 +2,4 @@
 include /usr/share/dpkg/pkg-info.mk
 
 %:
-	dh "$@" --with python3
+	dh "$@" --with python3 --buildsystem=pybuild

+ 2 - 1
pkg/deb/stretch/control

@@ -2,6 +2,7 @@ Source: kamcli
 Maintainer: Victor Seva <[email protected]>
 Section: misc
 Priority: optional
+X-Python3-Version: >= 3.2
 Standards-Version: 4.2.1.1
 Build-Depends:
  debhelper (>= 9~),
@@ -13,7 +14,7 @@ Package: kamcli
 Architecture: all
 Depends:
  ${misc:Depends},
- ${python:Depends},
+ ${python3:Depends},
 Description: Kamailio Command Line Interface Control Tool
  kamcli is aiming at being a modern and extensible alternative to the shell
  script kamctl.

+ 1 - 1
pkg/deb/stretch/rules

@@ -2,4 +2,4 @@
 include /usr/share/dpkg/pkg-info.mk
 
 %:
-	dh "$@" --with python3
+	dh "$@" --with python3 --buildsystem=pybuild

+ 2 - 1
pkg/deb/xenial/control

@@ -2,6 +2,7 @@ Source: kamcli
 Maintainer: Victor Seva <[email protected]>
 Section: misc
 Priority: optional
+X-Python3-Version: >= 3.2
 Standards-Version: 4.2.1.1
 Build-Depends:
  debhelper (>= 9~),
@@ -13,7 +14,7 @@ Package: kamcli
 Architecture: all
 Depends:
  ${misc:Depends},
- ${python:Depends},
+ ${python3:Depends},
 Description: Kamailio Command Line Interface Control Tool
  kamcli is aiming at being a modern and extensible alternative to the shell
  script kamctl.

+ 1 - 1
pkg/deb/xenial/rules

@@ -2,4 +2,4 @@
 include /usr/share/dpkg/pkg-info.mk
 
 %:
-	dh "$@" --with python3
+	dh "$@" --with python3 --buildsystem=pybuild