[Python-modules-commits] r26689 - in packages/django-conneg/trunk/debian (changelog rules)

obergix at users.alioth.debian.org obergix at users.alioth.debian.org
Fri Dec 6 17:28:45 UTC 2013


    Date: Friday, December 6, 2013 @ 17:28:44
  Author: obergix
Revision: 26689

More elegant way to run django tests without fixed Python version in rules file

Modified:
  packages/django-conneg/trunk/debian/changelog
  packages/django-conneg/trunk/debian/rules

Modified: packages/django-conneg/trunk/debian/changelog
===================================================================
--- packages/django-conneg/trunk/debian/changelog	2013-12-06 16:26:21 UTC (rev 26688)
+++ packages/django-conneg/trunk/debian/changelog	2013-12-06 17:28:44 UTC (rev 26689)
@@ -1,3 +1,9 @@
+django-conneg (0.9.4-2) UNRELEASED; urgency=low
+
+  * NOT RELEASED YET
+
+ -- Olivier Berger <obergix at debian.org>  Fri, 06 Dec 2013 17:26:23 +0100
+
 django-conneg (0.9.4-1) unstable; urgency=low
 
   * Create official Debian packaging (Closes: #730634).

Modified: packages/django-conneg/trunk/debian/rules
===================================================================
--- packages/django-conneg/trunk/debian/rules	2013-12-06 16:26:21 UTC (rev 26688)
+++ packages/django-conneg/trunk/debian/rules	2013-12-06 17:28:44 UTC (rev 26689)
@@ -11,8 +11,9 @@
 	dh $@ --with python2 --buildsystem=pybuild
 
 override_dh_auto_test:
-	pybuild $(MY_PYBUILD_OPTION) --test -i python{version} -p 2.7 --dir . --system=custom --test-args 'cd {build_dir}; django-admin test $(MY_DJANGOADMIN_OPTION) --settings=django_conneg.test_settings --pythonpath=. django_conneg.tests'
-#	pybuild $(MY_PYBUILD_OPTION) --test -i python{version} -p 3.3 --dir . --system=custom --test-args 'cd {build_dir}; django3-admin test $(MY_DJANGOADMIN_OPTION) --settings=django_conneg.test_settings --pythonpath=. django_conneg.tests'
+	PYBUILD_SYSTEM=custom \
+        PYBUILD_TEST_ARGS="cd {build_dir}; django-admin test $(MY_DJANGOADMIN_OPTION) --settings=django_conneg.test_settings --pythonpath=. django_conneg.tests" \
+	dh_auto_test
 
 # override_dh_install:
 # 	dh_install




More information about the Python-modules-commits mailing list