[python-pyproj] 09/10: Enable unit tests with pybuild override.
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Wed Jan 6 22:51:55 UTC 2016
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository python-pyproj.
commit e38c12ba18ab3fe45c91c33c40a7ca5fd16f9a3e
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Wed Jan 6 23:32:02 2016 +0100
Enable unit tests with pybuild override.
---
debian/changelog | 1 +
debian/rules | 4 ++++
2 files changed, 5 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index a88320c..c660f72 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,7 @@ python-pyproj (1.9.5-1) UNRELEASED; urgency=medium
* Add patch to have setup.py not modify lib/pyproj/datadir.py*.
setup.py doesn't need to modify lib/pyproj/datadir.py,
it is already patched for use by the Debian package.
+ * Enable unit tests with pybuild override.
-- Bas Couwenberg <sebastic at debian.org> Wed, 06 Jan 2016 21:38:44 +0100
diff --git a/debian/rules b/debian/rules
index ae7683a..ca3d6ba 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,6 +26,10 @@ override_dh_clean:
nad2bin nad2bin.o \
src/pj_malloc.o
+override_dh_auto_test:
+ PYBUILD_SYSTEM=custom \
+ PYBUILD_TEST_ARGS="PYTHONPATH={build_dir} {interpreter} unittest/test.py -v" dh_auto_test || echo "Ignoring test failures"
+
override_dh_install:
dh_install --list-missing
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/python-pyproj.git
More information about the Pkg-grass-devel
mailing list