[Python-modules-commits] [python-qtawesome] 01/06: Enable upstream testsuite.
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Fri Jul 8 16:45:26 UTC 2016
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch master
in repository python-qtawesome.
commit 0c2875ef5271cdbfc909c09c0305ecd416f152ad
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Fri Jul 8 11:08:10 2016 +0100
Enable upstream testsuite.
---
debian/control | 8 +++++++-
debian/rules | 8 +++++++-
2 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/debian/control b/debian/control
index b2e4b5e..f142860 100644
--- a/debian/control
+++ b/debian/control
@@ -6,10 +6,16 @@ Priority: optional
Build-Depends: debhelper (>= 9),
dh-python,
python-all,
+ python-qtpy,
python-setuptools,
+ python-six,
python-sphinx,
python3-all,
- python3-setuptools
+ python3-qtpy,
+ python3-setuptools,
+ python3-six,
+ xauth,
+ xvfb
Standards-Version: 3.9.7
Vcs-Browser: https://anonscm.debian.org/cgit/python-modules/packages/python-qtawesome.git
Vcs-Git: https://anonscm.debian.org/git/python-modules/packages/python-qtawesome.git
diff --git a/debian/rules b/debian/rules
index c526588..aceda55 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,6 @@
#export DH_VERBOSE=1
export PYBUILD_NAME=qtawesome
-export PYBUILD_DISABLE=test
%:
dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
@@ -12,3 +11,10 @@ export PYBUILD_DISABLE=test
override_dh_auto_build:
dh_auto_build
PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml docs/source build/html
+
+override_dh_auto_test:
+ PYBUILD_SYSTEM=custom \
+ PYBUILD_BEFORE_TEST="cp {dir}/example.py {build_dir}" \
+ PYBUILD_TEST_ARGS="cd {build_dir}; {interpreter} example.py" \
+ PYBUILD_AFTER_TEST="rm {build_dir}/example.py" \
+ xvfb-run dh_auto_test
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-qtawesome.git
More information about the Python-modules-commits
mailing list