Source: mercurial Version: 5.2.2-1 Severity: serious tags: patch Hello, the following patch should make the package compile with python binary removed from the system:
--- mercurial-5.2.2/debian/rules 2020-01-10 08:14:46.000000000 +0000 +++ mercurial-5.2.2/debian/rules 2020-01-10 08:14:48.000000000 +0000 @@ -7,6 +7,7 @@ %: dh $@ --with python2,bash-completion +export PYTHON=python2 PYVERS=$(shell pyversions -vs) PYVER_DEFAULT=$(shell pyversions -vd) DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH) @@ -46,7 +46,7 @@ http_proxy='' dh_auto_test -- TESTFLAGS="--verbose --timeout 1440 $(PARALLEL_TEST_JOBS) --blacklist $(CURDIR)/debian/mercurial.test_blacklist" file-rename 's/\.deb-backup$$//' $(CURDIR)/tests/* # run blacklisted tests but ignore their results - -cd tests && python run-tests.py --verbose `grep ^test ../debian/mercurial.test_blacklist` + -cd tests && python2 run-tests.py --verbose `grep ^test ../debian/mercurial.test_blacklist` endif override_dh_auto_install: $(PYVERS:%=install-python%) thanks for considering it Gianfranco