[Pkg-privacy-commits] [obfsproxy] 10/13: Use pybuild as the buildsystem

Jérémy Bobbio lunar at moszumanska.debian.org
Fri Aug 28 16:28:43 UTC 2015


This is an automated email from the git hooks/post-receive script.

lunar pushed a commit to annotated tag debian/0.2.13-1
in repository obfsproxy.

commit f504b4d50dd968adb19b26fde3ee6d0869a81490
Author: Jérémy Bobbio <lunar at debian.org>
Date:   Fri Aug 28 12:47:09 2015 +0200

    Use pybuild as the buildsystem
---
 debian/control | 1 +
 debian/rules   | 6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/debian/control b/debian/control
index 9415c05..8cb0379 100644
--- a/debian/control
+++ b/debian/control
@@ -6,6 +6,7 @@ Priority: extra
 Build-Depends: asciidoc,
                debhelper (>= 9),
                dh-apparmor,
+               dh-python,
                docbook-xsl,
                python-all (>= 2.6.6-3~),
                python-crypto,
diff --git a/debian/rules b/debian/rules
index 0b7e9b4..cd26398 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,16 +1,16 @@
 #!/usr/bin/make -f
 
 %:
-	dh $@ --buildsystem=python_distutils --with=python2
+	dh $@ --buildsystem=pybuild --with=python2
 
 override_dh_install:
-	dh_install
+	dh_install -O--buildsystem=pybuild
 	cp debian/apparmor-profile debian/obfsproxy/etc/apparmor.d/usr.bin.obfsproxy
 	dh_apparmor --profile-name=usr.bin.obfsproxy -pobfsproxy
 
 override_dh_installman:
 	a2x --no-xmllint --doctype manpage --format manpage debian/obfsproxy.1.txt
-	dh_installman -O--buildsystem=python_distutils
+	dh_installman -O--buildsystem=pybuild
 
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 override_dh_auto_test:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/obfsproxy.git



More information about the Pkg-privacy-commits mailing list