Package: python-googleapi
Version: 1.4.2-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu xenial ubuntu-patch
Dear Maintainer,
This package did not run build-tests, I modified d/rules to run nosetests &
nosetests3.
The tests were run successfully at build time.
In Ubuntu, the attached patch was applied to achieve the following:
For a package to be included in the main repository, it must run and pass all
tests during package build.
* d/rules: Add build tests.
* d/control: Add build-deps to support tests.
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.3.0-2-generic (SMP w/4 CPU cores)
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 python-googleapi-1.4.2/debian/control python-googleapi-1.4.2/debian/control
--- python-googleapi-1.4.2/debian/control 2015-07-20 21:12:31.000000000 -0400
+++ python-googleapi-1.4.2/debian/control 2016-02-16 11:36:05.000000000 -0500
@@ -5,9 +5,18 @@
Build-Depends: debhelper (>= 7.0.50),
dh-python,
python-all,
+ python-mock,
+ python-nose,
+ python-oauth2client (>= 1.4.6),
python-setuptools,
+ python-unittest2,
python3-all (>= 3.2),
- python3-setuptools
+ python3-mock,
+ python3-nose,
+ python3-oauth2client (>= 1.4.6),
+ python3-setuptools,
+ python3-six,
+ python3-unittest2
Standards-Version: 3.9.6
Homepage: https://github.com/google/google-api-python-client
X-Python-Version: >= 2.6
diff -Nru python-googleapi-1.4.2/debian/rules python-googleapi-1.4.2/debian/rules
--- python-googleapi-1.4.2/debian/rules 2014-09-07 21:52:04.000000000 -0400
+++ python-googleapi-1.4.2/debian/rules 2016-02-16 10:47:43.000000000 -0500
@@ -28,7 +28,12 @@
dh_clean -O--buildsystem=python_distutils
rm -rf $(CURDIR)/build
+override_dh_auto_test:
+ nosetests
+ nosetests3
+
%:
dh $@ --buildsystem=python_distutils --with python2,python3
+
.PHONY: override_dh_auto_install override_dh_fixperms override_dh_clean