[Reproducible-commits] [diffoscope] 03/04: Always use pybuild in debian/rules

Jérémy Bobbio lunar at moszumanska.debian.org
Mon Aug 3 13:57:06 UTC 2015


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

lunar pushed a commit to branch master
in repository diffoscope.

commit 2b3ff62b17bd2b906de75720c95a57782bd55d33
Author: Jérémy Bobbio <lunar at debian.org>
Date:   Mon Aug 3 15:31:48 2015 +0200

    Always use pybuild in debian/rules
---
 debian/diffoscope.install | 2 ++
 debian/rules              | 8 ++++----
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/debian/diffoscope.install b/debian/diffoscope.install
new file mode 100644
index 0000000..527b78f
--- /dev/null
+++ b/debian/diffoscope.install
@@ -0,0 +1,2 @@
+usr/bin
+usr/lib
diff --git a/debian/rules b/debian/rules
index 9baea9a..2164267 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,17 +8,17 @@ VERSION = $(shell dpkg-parsechangelog --show-field Version)
 override_dh_gencontrol:
 	echo "diffoscope:Recommends=$$(./diffoscope.py --list-tools | tail -n 1 | \
 		sed -e 's/\(^\| \)\(coreutils\|diffutils\|e2fsprogs\|findutils\|gzip\)\(,\|$$\)//g')" >> debian/diffoscope.substvars
-	dh_gencontrol -O--buildsystem=python_distutils
+	dh_gencontrol -O--buildsystem=pybuild
 
 override_dh_install:
+	dh_install -O--buildsystem=pybuild
 	mv debian/diffoscope/usr/bin/diffoscope.py debian/diffoscope/usr/bin/diffoscope
-	dh_install -O--buildsystem=python_distutils
 
 debian/diffoscope.1: debian/diffoscope.1.rst
 	rst2man $< $@
 
 override_dh_installman: debian/diffoscope.1
-	dh_installman -O--buildsystem=python_distutils
+	dh_installman -O--buildsystem=pybuild
 
 override_dh_clean:
 	rm -f debian/diffoscope.1
@@ -26,7 +26,7 @@ override_dh_clean:
 		echo "Version in debian/changelog doesn't match diffoscope version"; \
 		exit 1; \
 	fi
-	dh_clean -O--buildsystem=python_distutils
+	dh_clean -O--buildsystem=pybuild
 
 diffoscope/presenters/icon.py: favicon.png
 	(echo '# Generated from favicon.png'; \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git



More information about the Reproducible-commits mailing list