[Python-modules-commits] r21968 - in packages/python-notify2/trunk/debian (3 files)

takluyver-guest at users.alioth.debian.org takluyver-guest at users.alioth.debian.org
Mon May 28 10:57:38 UTC 2012


    Date: Monday, May 28, 2012 @ 10:57:34
  Author: takluyver-guest
Revision: 21968

Disable test suite

Modified:
  packages/python-notify2/trunk/debian/changelog
  packages/python-notify2/trunk/debian/control
  packages/python-notify2/trunk/debian/rules

Modified: packages/python-notify2/trunk/debian/changelog
===================================================================
--- packages/python-notify2/trunk/debian/changelog	2012-05-28 10:53:00 UTC (rev 21967)
+++ packages/python-notify2/trunk/debian/changelog	2012-05-28 10:57:34 UTC (rev 21968)
@@ -1,3 +1,9 @@
+python-notify2 (0.3-2) unstable; urgency=low
+
+  * Disable test suite, as autobuilders don't run dbus (Closes: #674351)
+
+ -- Thomas Kluyver <thomas at kluyver.me.uk>  Mon, 28 May 2012 11:06:00 +0100
+
 python-notify2 (0.3-1) unstable; urgency=low
 
   * Initial release (Closes: #672799)

Modified: packages/python-notify2/trunk/debian/control
===================================================================
--- packages/python-notify2/trunk/debian/control	2012-05-28 10:53:00 UTC (rev 21967)
+++ packages/python-notify2/trunk/debian/control	2012-05-28 10:57:34 UTC (rev 21968)
@@ -7,15 +7,7 @@
                python3-all,
                python3-dbus,
                python-all,
-               python-dbus,
-               dbus,
-               dbus-x11,
-               notification-daemon,
-               xvfb,
-               xauth,
-               python-gi,
-               python3-gi,
-               gir1.2-gdkpixbuf-2.0
+               python-dbus
 Standards-Version: 3.9.3
 Homepage: http://pypi.python.org/pypi/notify2
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-notify2/trunk/

Modified: packages/python-notify2/trunk/debian/rules
===================================================================
--- packages/python-notify2/trunk/debian/rules	2012-05-28 10:53:00 UTC (rev 21967)
+++ packages/python-notify2/trunk/debian/rules	2012-05-28 10:57:34 UTC (rev 21968)
@@ -10,7 +10,12 @@
 
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 override_dh_auto_test:
-	PYTHONS="$(PYTHON2) $(PYTHON3)" xvfb-run -a debian/runtests.sh
+	# The test suite fails on the buildd, because the policy prevents the dbus
+	# daemon from starting, so I've disabled it for now. If you enable it,
+	# remember that it the test suite needs a number of extra build-dependencies:
+	#   dbus, dbus-x11, notification-daemon, xvfb, xauth, python-gi, python3-gi,
+	#   gir1.2-gdkpixbuf-2.0
+	#PYTHONS="$(PYTHON2) $(PYTHON3)" xvfb-run -a debian/runtests.sh
 endif
 
 build-python%:




More information about the Python-modules-commits mailing list