[Python-modules-commits] r9321 - in packages/python-django/trunk/debian (3 files)
lamby at users.alioth.debian.org
lamby at users.alioth.debian.org
Fri Aug 14 07:13:00 UTC 2009
Date: Friday, August 14, 2009 @ 07:12:58
Author: lamby
Revision: 9321
Run testsuite on build.
Modified:
packages/python-django/trunk/debian/changelog
packages/python-django/trunk/debian/control
packages/python-django/trunk/debian/rules
Modified: packages/python-django/trunk/debian/changelog
===================================================================
--- packages/python-django/trunk/debian/changelog 2009-08-14 07:12:53 UTC (rev 9320)
+++ packages/python-django/trunk/debian/changelog 2009-08-14 07:12:58 UTC (rev 9321)
@@ -1,5 +1,6 @@
python-django (1.1-2) UNRELEASED; urgency=low
+ * Run testsuite on build.
* Use "--with quilt" over specifying $(QUILT_STAMPFN)/unpatch dependencies.
* Override clean target correctly.
Modified: packages/python-django/trunk/debian/control
===================================================================
--- packages/python-django/trunk/debian/control 2009-08-14 07:12:53 UTC (rev 9320)
+++ packages/python-django/trunk/debian/control 2009-08-14 07:12:58 UTC (rev 9321)
@@ -4,7 +4,7 @@
Maintainer: Brett Parker <iDunno at sommitrealweird.co.uk>
Uploaders: Raphael Hertzog <hertzog at debian.org>, Gustavo Noronha Silva <kov at debian.org>, David Spreen <netzwurm at debian.org>, Chris Lamb <lamby at debian.org>, Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
Standards-Version: 3.8.2
-Build-Depends: debhelper (>= 7.0.50), python-support, quilt
+Build-Depends: debhelper (>= 7.0.50), python-support, quilt, python (>= 2.5) | python-sqlite
Build-Depends-Indep: python-sphinx, libjs-jquery
Homepage: http://www.djangoproject.com/
Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-django/trunk/
Modified: packages/python-django/trunk/debian/rules
===================================================================
--- packages/python-django/trunk/debian/rules 2009-08-14 07:12:53 UTC (rev 9320)
+++ packages/python-django/trunk/debian/rules 2009-08-14 07:12:58 UTC (rev 9321)
@@ -9,7 +9,7 @@
dh --with quilt $@
override_dh_auto_clean:
- rm -rf docs.debian
+ rm -rf docs.debian testproject
dh_auto_clean
override_dh_auto_build:
@@ -23,6 +23,11 @@
make -C docs.debian html
rm -rf docs.debian/_build/html/_sources/
+override_dh_auto_test:
+ PYTHONPATH=. django/bin/django-admin.py startproject testproject
+ sed -i "s|DATABASE_ENGINE = ''|DATABASE_ENGINE = 'sqlite3'|" testproject/settings.py
+ PYTHONPATH=. tests/runtests.py --settings=testproject.settings --verbosity=2
+
override_dh_install:
dh_install
More information about the Python-modules-commits
mailing list