[Python-modules-commits] [pylint-celery] 11/17: run Python3 tests

Daniel Stender stender at moszumanska.debian.org
Sat Aug 6 11:37:38 UTC 2016


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

stender pushed a commit to branch master
in repository pylint-celery.

commit b0752b15df5664b9f9c65640a4a5798d407e8f66
Author: Daniel Stender <stender at debian.org>
Date:   Sat Aug 6 13:11:25 2016 +0200

    run Python3 tests
---
 debian/changelog | 5 ++++-
 debian/control   | 3 +--
 debian/rules     | 4 +---
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 7a98ce4..de8fcec 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,13 +5,16 @@ pylint-celery (0.3-2) UNRELEASED; urgency=medium
     + updated uploader email address.
     + add logilab-common to build-deps (Closes: #832826).
     + add celery to build-deps for tests.
+    + activated pylint3 build-dep.
   * deb/copyright:
     + updated copyright span and email adresses.
+  * deb/rules:
+    + run dh_auto_test with custom Pybuild line, activate Python3 tests.
   * deb/watch:
     + watch Github instead of Pypi.
   * build with new upstream tarball pylint-celery_0.3.orig.tar.xz.
 
- -- Daniel Stender <stender at debian.org>  Sat, 06 Aug 2016 13:04:50 +0200
+ -- Daniel Stender <stender at debian.org>  Sat, 06 Aug 2016 13:11:11 +0200
 
 pylint-celery (0.3-1) unstable; urgency=medium
 
diff --git a/debian/control b/debian/control
index 55894ce..8e133d1 100644
--- a/debian/control
+++ b/debian/control
@@ -19,8 +19,7 @@ Build-Depends:
  python3-logilab-common,
  python3-celery,
  pylint (>= 1.0.0),
-# Enable once pylint3 is in unstable:
-# pylint3,
+ pylint3
 Standards-Version: 3.9.6
 Homepage: https://github.com/landscapeio/pylint-celery
 Vcs-Git: git://anonscm.debian.org/python-modules/packages/pylint-celery.git
diff --git a/debian/rules b/debian/rules
index c0b7cda..9c3c4f1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,4 @@ export PYBUILD_NAME=pylint-celery
 	dh $@ --with python2,python3 --buildsystem=pybuild
 
 override_dh_auto_test:
-	PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=. python2 test/test_func.py
-	# Enable once pylint3 is in unstable
-	#PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=. python3 test/test_func.py
+	PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="PYTHONDONTWRITEBYTECODE=1 PYTHONPATH=. {interpreter} test/test_func.py" dh_auto_test

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



More information about the Python-modules-commits mailing list