From d469229dc37f8d14e1c72eab0e4bad8d2e5fd4fe Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Wed, 11 May 2016 02:08:19 +0200 Subject: Use dh_python2 for python packaging --- debian/changelog | 6 ++++++ debian/control | 2 +- debian/rules | 7 ++++++- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index c076f72..940e039 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +phenny-module-update-topic (0.6) UNRELEASED; urgency=low + + * Use dh_python2 for python packaging + + -- Alexander Sulfrian Wed, 11 May 2016 02:21:00 +0200 + phenny-module-update-topic (0.5) UNRELEASED; urgency=low * Add config option diff --git a/debian/control b/debian/control index 970d1ac..18f4200 100644 --- a/debian/control +++ b/debian/control @@ -4,7 +4,7 @@ Priority: optional Maintainer: Alexander Sulfrian Uploaders: Alexander Sulfrian Standards-Version: 3.8.3 -Build-Depends: debhelper (>= 7.2.11) +Build-Depends: debhelper (>= 8), python, dh-python Homepage: http://inamidst.com/phenny/ Package: phenny-module-update-topic diff --git a/debian/rules b/debian/rules index 2d33f6a..9db80c8 100755 --- a/debian/rules +++ b/debian/rules @@ -1,4 +1,9 @@ #!/usr/bin/make -f +PACKAGE := $(shell dpkg-parsechangelog | sed -n -e 's/-/_/g;s/^Source: phenny_module_//p') + %: - dh $@ + dh $@ --with python2 + +override_dh_python2: + dh_python2 usr/share/phenny/modules/$(PACKAGE)/ -- cgit v1.2.3-1-g7c22