]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commitdiff
debian: no longer build for Python2 and use recent Debian standards 504/head
authorCedric Hombourger <Cedric_Hombourger@mentor.com>
Sun, 27 Sep 2020 07:41:26 +0000 (03:41 -0400)
committerCedric Hombourger <Cedric_Hombourger@mentor.com>
Sun, 27 Sep 2020 07:41:26 +0000 (03:41 -0400)
Build this package only for Python3 (Python2 will be EOL'ed soon and no longer
supported in distributions. Refresh the meta-data to use recent versions of
Debian Standards (debhelper >= 10 and policy >= 4.2.1)

Signed-off-by: Cedric Hombourger <Cedric_Hombourger@mentor.com>
debian/compat
debian/control
debian/rules

index 7f8f011eb73d6043d2e6db9d2c101195ae2801f2..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2 100644 (file)
@@ -1 +1 @@
-7
+10
index 5168290c190273f1de567fcde5d57b9650a407bd..30a323bdfb8bfe686379d6faa1a956708e8f3455 100644 (file)
@@ -3,22 +3,26 @@ Maintainer: Sage Weil <sage@newdream.net>
 Uploaders: Sage Weil <sage@newdream.net>
 Section: admin
 Priority: optional
-Build-Depends: debhelper (>= 7), python-setuptools, git
-X-Python-Version: >= 2.6
-Standards-Version: 3.9.2
+Build-Depends: debhelper (>= 10),
+               dh-python,
+               python3,
+               python3-mock,
+               python3-remoto
+X-Python-Version: >= 3.7
+Standards-Version: 4.2.1
 Homepage: http://ceph.com/
 Vcs-Git: git://github.com/ceph/ceph-deploy.git
 Vcs-Browser: https://github.com/ceph/ceph-deploy
 
 Package: ceph-deploy
 Architecture: all
-Depends: python,
-         python-argparse,
-         python-configparser,
-         python-setuptools,
-         python-remoto,
+Depends: python3,
+         python3-argparse,
+         python3-configparser,
+         python3-setuptools,
+         python3-remoto,
          ${misc:Depends},
-         ${python:Depends}
+         ${python3:Depends}
 Description:  Ceph-deploy is an easy to use configuration tool
  for the Ceph distributed storage system.
  .
index 3b877fabcc945edc1b77277830bd11753b6e0250..6e81be8565a1a784e6a5cd12aba28f661b61c85b 100755 (executable)
@@ -1,11 +1,11 @@
 #!/usr/bin/make -f
 
-# Uncomment this to turn on verbose mode.
-export DH_VERBOSE=1
-export DEB_PYTHON_INSTALL_ARGS_ALL += --install-lib=/usr/share/ceph-deploy
+#export DH_VERBOSE=1
+export PYBUILD_NAME=ceph-deploy
+export PYBUILD_INSTALL_ARGS_python3=--install-lib=/usr/share/ceph-deploy
 
 %:
-       dh $@ --buildsystem python_distutils --with python2
+       dh $@ --buildsystem pybuild --with python3
 
 override_dh_clean:
        rm -rf ceph_deploy/lib/remoto