summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2016-05-11 02:08:19 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2016-08-11 20:48:51 +0200
commitd469229dc37f8d14e1c72eab0e4bad8d2e5fd4fe (patch)
tree336017ea8aaafe9438f9cbcb83d0bbc142964ecc
parent3d0198f5146228a1c66cd417d196d7a246acc0c1 (diff)
downloadupdate-topic-d469229dc37f8d14e1c72eab0e4bad8d2e5fd4fe.tar.gz
update-topic-d469229dc37f8d14e1c72eab0e4bad8d2e5fd4fe.tar.bz2
update-topic-d469229dc37f8d14e1c72eab0e4bad8d2e5fd4fe.zip
Use dh_python2 for python packaging
-rw-r--r--debian/changelog6
-rw-r--r--debian/control2
-rwxr-xr-xdebian/rules7
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)/