[Python-modules-commits] [django-taggit] 08/09: Run tests during build.

Michal Cihar nijel at moszumanska.debian.org
Mon Aug 24 12:11:34 UTC 2015


This is an automated email from the git hooks/post-receive script.

nijel pushed a commit to branch master
in repository django-taggit.

commit 506b2a5d103a157dbb6bda02d2c98d91cd4a2b45
Author: Michal Čihař <nijel at debian.org>
Date:   Mon Aug 24 14:04:26 2015 +0200

    Run tests during build.
---
 debian/changelog | 1 +
 debian/control   | 2 +-
 debian/rules     | 4 ++++
 3 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index a4f7b9c..5d4b5e1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ django-taggit (0.17.0-1) unstable; urgency=medium
   * New upstream release.
   * Update debian/watch.
   * Add python 3 package.
+  * Run tests during build.
 
  -- Michal Čihař <nijel at debian.org>  Mon, 24 Aug 2015 13:44:42 +0200
 
diff --git a/debian/control b/debian/control
index 151c728..987e026 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: Michal Čihař <nijel at debian.org>
 Uploaders: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
 Build-Depends: debhelper (>= 9)
-Build-Depends-Indep: python (>= 2.6.6-3), python-setuptools, python3-setuptools, python3-all-dev, dh-python
+Build-Depends-Indep: python (>= 2.6.6-3), python-setuptools, python3-setuptools, python3-all-dev, dh-python, python-django, python3-django
 Standards-Version: 3.9.6
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/django-taggit.git
 Vcs-Git: git://anonscm.debian.org/collab-maint/django-taggit.git
diff --git a/debian/rules b/debian/rules
index 0398cce..1d71897 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,3 +3,7 @@
 export PYBUILD_NAME=django-taggit
 %:
 	dh $@ --fail-missing --with python2,python3 --buildsystem=pybuild
+
+override_dh_auto_test:
+	python2 runtests.py
+	python3 runtests.py

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/django-taggit.git



More information about the Python-modules-commits mailing list