[diffoscope] 01/02: debian/rules: workaround dh-python's bug related to build profiles

Mattia Rizzolo mattia at debian.org
Sat Aug 13 17:52:16 CEST 2016


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

mattia pushed a commit to branch master
in repository diffoscope.

commit 30823e56253f5fac96e7a010a1130124c849bac2
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Sat Aug 13 15:42:18 2016 +0000

    debian/rules: workaround dh-python's bug related to build profiles
    
    be aware, it bites
    
    Gbp-Dch: short
---
 debian/rules | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 3c2e489..4adfdbf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,12 +14,14 @@ export PYBUILD_TEST_ARGS = -v -r sxX
 	dh $@ --with python3 --with bash-completion --buildsystem=pybuild
 
 override_dh_python3:
-	dh_python3 --recommends=python-debian --recommends=rpm-python --recommends=tlsh --recommends=guestfs --recommends=argcomplete
+	#dh_python3 --recommends=python-debian --recommends=rpm-python --recommends=tlsh --recommends=guestfs --recommends=argcomplete
+	dh_python3 --recommends=tlsh --recommends=argcomplete
 
 override_dh_gencontrol:
 	TOOLS="$$(bin/diffoscope --list-tools=debian | tail -n 1 | \
 		sed -e 's/\(^\| \)\(coreutils\|diffutils\|e2fsprogs\|findutils\|gzip\|tar\)\(,\|$$\)//g')"; \
 		[ -n "$$TOOLS" ] || { echo '--list-tools failed' >&2; exit 1; }; \
+		TOOLS="$$TOOLS, python3-debian, python3-guestfs, python3-rpm"; \
 		echo "diffoscope:Recommends=$$TOOLS" >> debian/diffoscope.substvars
 	dh_gencontrol -O--buildsystem=pybuild
 

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


More information about the diffoscope mailing list