Source: python-argcomplete
Version: 1.8.1-1
Severity: normal
Tags: patch
Dear Maintainer,
Hi, python-argcomplete does not build in Ubuntu because apparently TERM is
unset during the build. Setting to something sane when running the tests seems
like a good idea for this package anyway, so here's a patch that does that.
Cheers,
mwh
-- System Information:
Debian Release: stretch/sid
APT prefers xenial-updates
APT policy: (500, 'xenial-updates'), (500, 'xenial-security'), (500,
'xenial'), (400, 'xenial-proposed'), (100, 'xenial-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.4.0-92-generic (SMP w/4 CPU cores)
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
diff -Nru python-argcomplete-1.8.1/debian/rules python-argcomplete-1.8.1/debian/rules
--- python-argcomplete-1.8.1/debian/rules 2017-01-25 06:05:43.000000000 +1300
+++ python-argcomplete-1.8.1/debian/rules 2017-07-20 14:40:02.000000000 +1200
@@ -26,6 +26,9 @@
cp debian/$$i.1 debian/python3-argcomplete/usr/share/man/man1/$${i}3.1; \
done
+override_dh_auto_test:
+ TERM=vt100 dh_auto_test
+
generate_manpages:
VERSION=$$(./setup.py -V) ; \
for file in \