소스 검색

pkg/deb: fix python3 build

Victor Seva 6 년 전
부모
커밋
04d32963c2
10개의 변경된 파일15개의 추가작업 그리고 10개의 파일을 삭제
  1. 2 1
      pkg/deb/bionic/control
  2. 1 1
      pkg/deb/bionic/rules
  3. 2 1
      pkg/deb/buster/control
  4. 1 1
      pkg/deb/buster/rules
  5. 2 1
      pkg/deb/debian/control
  6. 1 1
      pkg/deb/debian/rules
  7. 2 1
      pkg/deb/stretch/control
  8. 1 1
      pkg/deb/stretch/rules
  9. 2 1
      pkg/deb/xenial/control
  10. 1 1
      pkg/deb/xenial/rules

+ 2 - 1
pkg/deb/bionic/control

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

+ 1 - 1
pkg/deb/bionic/rules

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

+ 1 - 1
pkg/deb/buster/rules

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

+ 1 - 1
pkg/deb/debian/rules

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

+ 1 - 1
pkg/deb/stretch/rules

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

+ 1 - 1
pkg/deb/xenial/rules

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