diff options
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | debian/control | 2 | ||||
-rwxr-xr-x | 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 <alex@spline.inf.fu-berlin.de> 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 <alex@spline.inf.fu-berlin.de> Uploaders: Alexander Sulfrian <alex@spline.inf.fu-berlin.de> 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)/ |