[Python-modules-commits] r28671 - in packages/python-django-debug-toolbar/trunk/debian (3 files)
asb at users.alioth.debian.org
asb at users.alioth.debian.org
Sat Apr 26 21:59:29 UTC 2014
Date: Saturday, April 26, 2014 @ 21:59:28
Author: asb
Revision: 28671
Run tests at build time.
Modified:
packages/python-django-debug-toolbar/trunk/debian/changelog
packages/python-django-debug-toolbar/trunk/debian/control
packages/python-django-debug-toolbar/trunk/debian/rules
Modified: packages/python-django-debug-toolbar/trunk/debian/changelog
===================================================================
--- packages/python-django-debug-toolbar/trunk/debian/changelog 2014-04-26 21:37:52 UTC (rev 28670)
+++ packages/python-django-debug-toolbar/trunk/debian/changelog 2014-04-26 21:59:28 UTC (rev 28671)
@@ -3,6 +3,7 @@
* New upstream release.
* Adopt for Debian Python Modules Team (Closes: #738299).
* Use PyPi for debian/watch instead of GitHub.
+ * Run tests at build time.
-- Andrew Starr-Bochicchio <asb at debian.org> Sat, 26 Apr 2014 17:30:04 -0400
Modified: packages/python-django-debug-toolbar/trunk/debian/control
===================================================================
--- packages/python-django-debug-toolbar/trunk/debian/control 2014-04-26 21:37:52 UTC (rev 28670)
+++ packages/python-django-debug-toolbar/trunk/debian/control 2014-04-26 21:59:28 UTC (rev 28671)
@@ -6,6 +6,7 @@
Build-Depends: debhelper (>= 9),
dh-python,
python,
+ python-django,
python-setuptools
Standards-Version: 3.9.5
Homepage: https://github.com/django-debug-toolbar/django-debug-toolbar
Modified: packages/python-django-debug-toolbar/trunk/debian/rules
===================================================================
--- packages/python-django-debug-toolbar/trunk/debian/rules 2014-04-26 21:37:52 UTC (rev 28670)
+++ packages/python-django-debug-toolbar/trunk/debian/rules 2014-04-26 21:59:28 UTC (rev 28671)
@@ -14,3 +14,8 @@
for FILE in `find debian/*/usr -name jquery.cookie.js`; do\
ln -sf /usr/share/javascript/jquery-cookie/jquery.cookie.js $$FILE ; \
done
+
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+override_dh_auto_test:
+ PYTHONPATH=. DJANGO_SETTINGS_MODULE=tests.settings django-admin test tests
+endif
More information about the Python-modules-commits
mailing list