[Python-apps-commits] r12852 - in packages/hovercraft/trunk/debian (changelog control rules)

danstender-guest at users.alioth.debian.org danstender-guest at users.alioth.debian.org
Mon Feb 29 18:47:33 UTC 2016


    Date: Monday, February 29, 2016 @ 18:47:32
  Author: danstender-guest
Revision: 12852

test with py.test

Modified:
  packages/hovercraft/trunk/debian/changelog
  packages/hovercraft/trunk/debian/control
  packages/hovercraft/trunk/debian/rules

Modified: packages/hovercraft/trunk/debian/changelog
===================================================================
--- packages/hovercraft/trunk/debian/changelog	2016-02-29 18:40:03 UTC (rev 12851)
+++ packages/hovercraft/trunk/debian/changelog	2016-02-29 18:47:32 UTC (rev 12852)
@@ -4,6 +4,7 @@
   * deb/control:
     + put group in Maintainer field (unconfirmed group uploads).
     + updated maintainer email address.
+    + added py.test to build-depends.
     + bumped Standards-Version to 3.9.7 (no changes needed).
     + use HTTPS for Vcs-Browser.
   * deb/copyright:
@@ -11,14 +12,15 @@
     + updated email address and copyright span.
   * deb/rules:
     + added empty override for dh_auto_build.
-    + dropped override for dh_auto_test (hack not needed anymore).
+    + dropped hack for missing images in dh_auto_test (not needed anymore).
+    + installed custom test args to test with py.test.
     + dropped check for nodocs in DEB_BUILD_OPTIONS (obsolete).
     + changed an info line.
   * deb/patches:
     + dropped fix-for-dfsg.diff (applied upstream).
     + updated improve-docs.diff.
 
- -- Daniel Stender <stender at debian.org>  Mon, 29 Feb 2016 19:36:55 +0100
+ -- Daniel Stender <stender at debian.org>  Mon, 29 Feb 2016 19:43:25 +0100
 
 hovercraft (2.0+dfsg-1) unstable; urgency=low
 

Modified: packages/hovercraft/trunk/debian/control
===================================================================
--- packages/hovercraft/trunk/debian/control	2016-02-29 18:40:03 UTC (rev 12851)
+++ packages/hovercraft/trunk/debian/control	2016-02-29 18:47:32 UTC (rev 12852)
@@ -12,7 +12,8 @@
                python3-setuptools,
                python3-svg.path,
                python3-lxml,
-               python3-watchdog
+               python3-watchdog,
+               python3-pytest
 Standards-Version: 3.9.7
 Vcs-Browser: https://anonscm.debian.org/viewvc/python-apps/packages/hovercraft/trunk/
 Vcs-Svn: svn://anonscm.debian.org/python-apps/packages/hovercraft/trunk/

Modified: packages/hovercraft/trunk/debian/rules
===================================================================
--- packages/hovercraft/trunk/debian/rules	2016-02-29 18:40:03 UTC (rev 12851)
+++ packages/hovercraft/trunk/debian/rules	2016-02-29 18:47:32 UTC (rev 12852)
@@ -10,6 +10,9 @@
 
 override_dh_auto_build:
 
+override_dh_auto_test:
+	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} -Wd -m pytest -v -x" dh_auto_test
+
 override_dh_auto_install:
 	python3 setup.py install --root=debian/hovercraft --install-layout=deb --install-lib=/usr/share/hovercraft --install-scripts=/usr/share/hovercraft
 	# strip tests from binary




More information about the Python-apps-commits mailing list