Package: vatnumber Version: 1:1.2-4 Severity: serious Tags: patch Justification: fails to build from source (but built successfully in the past) User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu xenial ubuntu-patch
vatnumber currently FTBFS in unstable due to python3.5 being the default version of python3, since the tests are only disabled for the hardcoded python3.4 (and python2.7) in debian/rules. In Ubuntu, the attached patch was applied to achieve the following: * Disable tests for all Python versions instead of hardcoding them. Fixes FTBFS with Python 3.5. Thanks for considering the patch. -- System Information: Debian Release: stretch/sid APT prefers xenial-updates APT policy: (500, 'xenial-updates'), (500, 'xenial-security'), (500, 'xenial'), (100, 'xenial-backports') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.2.0-19-generic (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)
diff -Nru vatnumber-1.2/debian/rules vatnumber-1.2/debian/rules --- vatnumber-1.2/debian/rules 2015-05-18 15:42:08.000000000 -0400 +++ vatnumber-1.2/debian/rules 2016-01-16 00:36:04.000000000 -0500 @@ -3,8 +3,7 @@ PACKAGE_NAME := $(shell python setup.py --name) export PYBUILD_NAME=$(PACKAGE_NAME) # Don't run tests for vatnumber, test_vies tries to connect to the network -export PYBUILD_DISABLE_python2.7=test -export PYBUILD_DISABLE_python3.4=test +export PYBUILD_DISABLE=test %: dh ${@} --with python2,python3 --buildsystem=pybuild