[Python-modules-commits] r33807 - in packages/python-oauthlib/trunk/debian (changelog rules)

eriol-guest at users.alioth.debian.org eriol-guest at users.alioth.debian.org
Mon Aug 17 02:38:55 UTC 2015


    Date: Monday, August 17, 2015 @ 02:38:53
  Author: eriol-guest
Revision: 33807

Switch from PYBUILD_TEST_ARGS to PYBUILD_SYSTEM=custom inside override_dh_auto_test

Modified:
  packages/python-oauthlib/trunk/debian/changelog
  packages/python-oauthlib/trunk/debian/rules

Modified: packages/python-oauthlib/trunk/debian/changelog
===================================================================
--- packages/python-oauthlib/trunk/debian/changelog	2015-08-17 02:18:59 UTC (rev 33806)
+++ packages/python-oauthlib/trunk/debian/changelog	2015-08-17 02:38:53 UTC (rev 33807)
@@ -2,12 +2,12 @@
 
   * New upstream release (Closes: #795273).
   * debian/rules
-    - Use PYBUILD_TEST_ARGS to not run doctests since some docstrings can't
-      be tested anymore.
+    - Use PYBUILD_SYSTEM=custom inside override_dh_auto_test to not run
+      doctests since some docstrings can't be tested anymore.
     - Use PYBUILD_NAME instead of PYBUILD_DESTDIR_python2 and
       PYBUILD_DESTDIR_python3.
 
- -- Daniele Tricoli <eriol at mornie.org>  Mon, 17 Aug 2015 04:13:35 +0200
+ -- Daniele Tricoli <eriol at mornie.org>  Mon, 17 Aug 2015 04:36:16 +0200
 
 python-oauthlib (1.0.0-1) unstable; urgency=medium
 

Modified: packages/python-oauthlib/trunk/debian/rules
===================================================================
--- packages/python-oauthlib/trunk/debian/rules	2015-08-17 02:18:59 UTC (rev 33806)
+++ packages/python-oauthlib/trunk/debian/rules	2015-08-17 02:38:53 UTC (rev 33807)
@@ -1,9 +1,12 @@
 #!/usr/bin/make -f
 
 export PYBUILD_NAME=oauthlib
-export PYBUILD_TEST_ARGS=cd {build_dir}; {interpreter} -m nose {dir}/tests
 
 export PYTHONWARNINGS=d
 
 %:
 	dh $@ --with python2,python3 --buildsystem=pybuild
+
+override_dh_auto_test:
+	PYBUILD_SYSTEM=custom \
+	PYBUILD_TEST_ARGS="cd {build_dir}; {interpreter} -m nose {dir}/tests" dh_auto_test




More information about the Python-modules-commits mailing list