From 3fd74890d33cddd492676aff36d8b8f2824fa14e Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Thu, 17 Mar 2016 18:13:39 +0100 Subject: [PATCH] migrate to dh-python --- packaging/debian/control | 4 ++-- packaging/debian/rules | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/packaging/debian/control b/packaging/debian/control index 13f0c5b42d..e5dc2d4497 100644 --- a/packaging/debian/control +++ b/packaging/debian/control @@ -3,12 +3,12 @@ Section: admin Priority: optional Standards-Version: 3.9.3 Maintainer: Ansible, Inc. -Build-Depends: cdbs, debhelper (>= 5.0.0), asciidoc, python, python-support, python-setuptools +Build-Depends: cdbs, debhelper (>= 5.0.0), asciidoc, python, dh-python, python-setuptools Homepage: http://ansible.github.com/ Package: ansible Architecture: all -Depends: python, python-support (>= 0.90), python-jinja2, python-yaml, python-paramiko, python-httplib2, python-six, python-crypto (>= 2.6), python-setuptools, sshpass, ${misc:Depends} +Depends: python-jinja2, python-yaml, python-paramiko, python-httplib2, python-six, python-crypto (>= 2.6), python-setuptools, sshpass, ${misc:Depends}, ${python:Depends} Description: A radically simple IT automation platform A radically simple IT automation platform that makes your applications and systems easier to deploy. Avoid writing scripts or custom code to deploy and diff --git a/packaging/debian/rules b/packaging/debian/rules index 1b4a1575c9..f5894b7a43 100755 --- a/packaging/debian/rules +++ b/packaging/debian/rules @@ -1,6 +1,7 @@ #!/usr/bin/make -f # -- makefile -- +DEB_PYTHON2_MODULE_PACKAGES=ansible + include /usr/share/cdbs/1/rules/debhelper.mk -DEB_PYTHON_SYSTEM = pysupport include /usr/share/cdbs/1/class/python-distutils.mk