[Python-modules-commits] [python-django-extensions] 08/08: Don't use tox for tests.

Brian May bam at moszumanska.debian.org
Sat Oct 24 06:50:20 UTC 2015


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

bam pushed a commit to branch master
in repository python-django-extensions.

commit b6e07509b5c77ad2134796dfc2b0b553c515ee13
Author: Brian May <brian at linuxpenguins.xyz>
Date:   Sat Oct 24 16:55:34 2015 +1100

    Don't use tox for tests.
    
    We want to run tests based on already installed packages.
---
 debian/control | 10 +++++++---
 debian/rules   |  3 +++
 2 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/debian/control b/debian/control
index fe71361..085dca6 100644
--- a/debian/control
+++ b/debian/control
@@ -4,9 +4,13 @@ Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Brian May <bam at debian.org>
 X-Python-Version: >=2.7
-Build-Depends: debhelper (>= 9), dh-python, python-tox,
- python-all (>= 2.6.6-3~), python-setuptools, python-django (>= 1.4), python-six, python-dateutil, python-shortuuid, python-mock,
- python3-all, python3-setuptools, python3-django (>= 1.4), python3-six, python3-dateutil, python3-shortuuid, python3-mock,
+Build-Depends: debhelper (>= 9), dh-python,
+ python-all (>= 2.6.6-3~), python-setuptools, python-django (>= 1.4),
+ python-six, python-dateutil, python-shortuuid, python-mock, python-pip,
+ python-pytest, python-pytest-cov, python-pytest-django,
+ python3-all, python3-setuptools, python3-django (>= 1.4),
+ python3-six, python3-dateutil, python3-shortuuid, python3-mock, python3-pip,
+ python3-pytest, python3-pytest-cov, python3-pytest-django,
 Standards-Version: 3.9.6
 Homepage: https://github.com/django-extensions/django-extensions
 Vcs-Git: git://git.debian.org/git/collab-maint/python-django-extensions.git
diff --git a/debian/rules b/debian/rules
index fb8c276..b68953b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,3 +15,6 @@ override_dh_install:
 
 get-orig-source:
 	uscan --verbose --rename
+
+override_dh_auto_test:
+	dh_auto_test -- --system=custom --test-args="{interpreter} /usr/bin/py.test"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-django-extensions.git



More information about the Python-modules-commits mailing list